Difference between revisions of "Test section inclusion"

From FollowTheScore
Jump to: navigation, search
(New page: == inclusion of marked sections == Variant (1) with #dpl: {{#dpl:category=Fictitious country |includepage=president,revolution |mode=userformat |listseparators=¶{¦ class="sortabl...)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Type Test
 +
|parameter = section inclusion
 +
}}
 
== inclusion of marked sections ==
 
== inclusion of marked sections ==
  
Line 20: Line 23:
 
   includepage={Country} dpl,#Religion,revolution
 
   includepage={Country} dpl,#Religion,revolution
 
   mode=userformat
 
   mode=userformat
   listseparators=¶{¦ class="sortable wikitable" ¶!Country ¶!some facts ¶!!!Religion ¶!Revolution,¶¦-¶¦[[%PAGE%]],,¶¦}
+
   listseparators=¶{¦ class="sortable wikitable" ¶!Country ¶!some facts ¶!Capital¶!Prefix¶!Religion ¶!Revolution,¶¦-¶¦[[%PAGE%]],,¶¦}
 
   secseparators=¶¦
 
   secseparators=¶¦
 
</DPL>
 
</DPL>
 +
 +
== include a single template parameter ==
 +
<dpl>
 +
  category=Fictitious country
 +
  include={country}:capital
 +
  secseparators=\n:,\n,\n:,\n
 +
</dpl>

Latest revision as of 11:27, 28 January 2008

Test section inclusion

inclusion of marked sections

Variant (1) with #dpl:


Country President Revolution
DPL Example 007 main page 1
Nigunda Any president
revolution in 1977 which lasted 10 days
another revolution in 1987 which caused many deaths.
Nigunda Test
Somango Any president again Nothing to declare

Variant (2) with DPL tag:


Country some facts Capital Prefix Religion Revolution
DPL Example 007 main page 1 Template:Country dpl.default
Nigunda Republic of Nigunda Bamitogoo 237

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


revolution in 1977 which lasted 10 days
another revolution in 1987 which caused many deaths.
Nigunda Test Republic of Nigunda Test Bamitogoo Test 237

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

Somango Somango Island Aaaabququque 224

some facts about religion in Somango

Nothing to declare

include a single template parameter