Difference between revisions of "Test section inclusion"

From FollowTheScore
Jump to: navigation, search
(inclusion of marked sections)
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>

Revision as of 12:49, 30 April 2007

Template:Type:Test

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