Difference between revisions of "Test include sections by number"
(→Show an extract of the preamble before the first chapter of each ''Fictitious country'':) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
include=%1[40],%3 | include=%1[40],%3 | ||
secseparators=<br> | secseparators=<br> | ||
+ | reset=all | ||
</dpl> | </dpl> | ||
Line 17: | Line 18: | ||
include=%1,%3 | include=%1,%3 | ||
secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | ||
+ | reset=all | ||
</dpl> | </dpl> | ||
Line 28: | Line 30: | ||
listseparators=,\n=[[%PAGE%]]=\n<div>,</div> | listseparators=,\n=[[%PAGE%]]=\n<div>,</div> | ||
secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | ||
+ | reset=all | ||
</dpl> | </dpl> | ||
Line 39: | Line 42: | ||
listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div> | listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div> | ||
secseparators=\n<br> | secseparators=\n<br> | ||
+ | reset=all | ||
</dpl> | </dpl> | ||
Line 50: | Line 54: | ||
include=%-1 | include=%-1 | ||
secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n | ||
+ | reset=all | ||
</dpl> | </dpl> | ||
===Show an extract of the preamble before the first chapter of each ''Fictitious country'':=== | ===Show an extract of the preamble before the first chapter of each ''Fictitious country'':=== | ||
<dpl> | <dpl> | ||
− | |||
resultsheader=__NOTOC__ | resultsheader=__NOTOC__ | ||
category=Fictitious country | category=Fictitious country | ||
include=%0[200 more...] | include=%0[200 more...] | ||
− | mode= | + | mode=unordered |
listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div> | listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div> | ||
secseparators=\n<br> | secseparators=\n<br> | ||
+ | reset=all | ||
</dpl> | </dpl> |
Latest revision as of 08:05, 10 October 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
{{#vardefine:cats|{{#replace:|/, /|&}}}}
social life in Somango ...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
Nigunda
Religion
some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;
%3
Nigunda Test
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 ...
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...