Difference between revisions of "Test include sections by number"

From FollowTheScore
Jump to: navigation, search
(mode=unordered changed to mode=userformat)
Line 57: Line 57:
 
   category=Fictitious country
 
   category=Fictitious country
 
   include=%0[200 more...]
 
   include=%0[200 more...]
   mode=unordered
+
   mode=userformat
 
   listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div>
 
   listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div>
 
   secseparators=\n<br>
 
   secseparators=\n<br>
 
</dpl>
 
</dpl>

Revision as of 21:30, 3 July 2007

Show the first and third chapter of each Fictitious country:

Using standard output format, cut the text after 40 charcters ...

  • DPL Example 007 main page 1

  • Nigunda
    some facts about religious groups in ..→
  • Nigunda Test
    Nigunda Test History - Chapter ..→
  • Somango

    some facts about religion in Somango
    social life in Somango ...

    {{#vardefine:cats|{{#replace:|/, /|&}}}}

    Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:cats}}' for parameter 'category'.


    Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


    Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the first and third chapter of each Fictitious country:

Using standard output format with %SECTION% so that we see the headline. We can even generate hyperlinks to the chapters ...
Note that we get an entry also if the specified chapter is missing.

  • DPL Example 007 main page 1
    %1
    %3
  • Nigunda
    Religion

    some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;

    %3
  • Nigunda Test
    History

    Nigunda Test History - Chapter Sequence in the article doesn´t matter for DPL ..

    %3
  • Somango
    Religion

    some facts about religion in Somango

    Social Life

    social life in Somango ...

    {{#vardefine:cats|{{#replace:|/, /|&}}}}

    Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:cats}}' for parameter 'category'.


    Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


    Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the first and third chapter of each Fictitious country:

We could also use mode=userformat for more flexible formatting ..

DPL Example 007 main page 1

%1
%3

Nigunda

Religion

some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;

%3

Nigunda Test

History

Nigunda Test History - Chapter Sequence in the article doesn´t matter for DPL ..

%3

Somango

Religion

some facts about religion in Somango

Social Life

social life in Somango ...

{{#vardefine:cats|{{#replace:|/, /|&}}}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:cats}}' for parameter 'category'.


Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the first and third chapter of each Fictitious country:

If we do not use %SECTION% missing chapters will be skipped.




some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;



Nigunda Test History - Chapter Sequence in the article doesn´t matter for DPL ..



some facts about religion in Somango


social life in Somango ...

{{#vardefine:cats|{{#replace:|/, /|&}}}}

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:cats}}' for parameter 'category'.


Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the LAST chapter of each Fictitious country:

Using standard output format with %SECTION% so that we see the headline. We can even generate hyperlinks to the chapters ...
Note that we get an entry also if the specified chapter is missing.

  • DPL Example 007 main page 1
    %-1
  • Nigunda
    Religion
    some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;
  • Nigunda Test
    Religion
    some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda Test;
  • Somango
    Social Life

    social life in Somango ...

    {{#vardefine:cats|{{#replace:|/, /|&}}}}

    Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#var:cats}}' for parameter 'category'.


    Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


    Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show an extract of the preamble before the first chapter of each Fictitious country:


This is DPL Example 007 main page 1


There is some general introductory text about Nigunda ...

Note that there is no text on the History more...


There is some general introductory text about Nigunda Test ...

more...


There is some general introductory text about Somango ... And we use a template which shows some properties in a small table

<di more...