Difference between revisions of "Test section inclusion"

From FollowTheScore
Jump to: navigation, search
(inclusion of marked sections)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Type:Test
+
{{Type Test
 
  |parameter = section inclusion
 
  |parameter = section inclusion
 
}}
 
}}
Line 26: Line 26:
 
   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 12: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