From GamingWiki
Line 20: | Line 20: | ||
Loop until we run out of groups | Loop until we run out of groups | ||
-->{{#vardefine: grpidx | 1}}<!-- | -->{{#vardefine: grpidx | 1}}<!-- | ||
− | -->{{#while: | {{{group{{#var:grpidx}}|}}}{{{body{{#var:grpidx}}|}}}|<!-- | + | -->{{#while: | {{{title{{#var:grpidx}}|}}}{{{group{{#var:grpidx}}|}}}{{{body{{#var:grpidx}}|}}}|<!-- |
-->{{!}} group{{#var:grpidx}} = {{{title{{#var:grpidx}}|{{{group{{#var:grpidx}}|}}} }}}<noinclude>{{{group{{#var:grpidx}}}}}</noinclude><!-- | -->{{!}} group{{#var:grpidx}} = {{{title{{#var:grpidx}}|{{{group{{#var:grpidx}}|}}} }}}<noinclude>{{{group{{#var:grpidx}}}}}</noinclude><!-- | ||
-->{{!}} list{{#var:grpidx}} = {{#if:{{{body{{#var:grpidx}}<includeonly>|</includeonly>}}}|{{{body{{#var:grpidx}}}}}}}<!-- | -->{{!}} list{{#var:grpidx}} = {{#if:{{{body{{#var:grpidx}}<includeonly>|</includeonly>}}}|{{{body{{#var:grpidx}}}}}}}<!-- |
Revision as of 17:05, 12 February 2011
[edit] [ ]
Error creating thumbnail: File missing
Template documentation
|
{{Campaign navigation box | title = Widgets in [[my campaign]] | template_name = Mycampaign widgets | image = Image:Terra Φ cluster.jpg | collapse_state = {{{state | {{{1 | <includeonly>autocollapse</includeonly> <noinclude>expanded</noinclude> }}} }}} | group1 = First-class widgets | list1 = [[Widgeroo]] :: [[Widgeroo junior]] :: [[Widgetmaster]] :: everyone else :: [[Widgeroo]] | group2 = Second-class widgets | list2 = [[Widgeroo the third]] | group3 = Minor widgets | list3 = [[Weedgeroo]] }}
This box displays arbitrary information about your campaign.
The above documentation is transcluded from Template:Campaign navigation box/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
|