From GamingWiki
| Line 2: | Line 2: | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude><!-- | </noinclude><!-- | ||
| + | |||
| + | --><includeonly><!-- | ||
-->{{Navbox | -->{{Navbox | ||
| − | | name = {{{template_name| | + | | name = {{{template_name|}}} |
| state = {{#if:{{{state|}}}|{{{state}}}|{{{collapse_state|autocollapse}}}}} | | state = {{#if:{{{state|}}}|{{{state}}}|{{{collapse_state|autocollapse}}}}} | ||
| border = {{{border|}}} | | border = {{{border|}}} | ||
| Line 10: | Line 12: | ||
| title = {{{header|{{{title}}}}}} | | title = {{{header|{{{title}}}}}} | ||
| − | | above = {{{subtitle | + | | above = {{{subtitle|}}} |
| imagestyle = {{{imagestyle}}} | | imagestyle = {{{imagestyle}}} | ||
| − | | image = {{{image | + | | image = {{{image|}}} |
| title1 = testing | | title1 = testing | ||
| Line 22: | Line 24: | ||
-->{{#vardefine: grpidx | 1}}<!-- | -->{{#vardefine: grpidx | 1}}<!-- | ||
-->{{#while: | {{{group{{#var:grpidx}}|}}}{{{list{{#var:grpidx}}|}}}{{#ifexpr:{{#var:grpidx}}<2|1|}}|<!-- | -->{{#while: | {{{group{{#var:grpidx}}|}}}{{{list{{#var:grpidx}}|}}}{{#ifexpr:{{#var:grpidx}}<2|1|}}|<!-- | ||
| − | --><esc>|</esc> group{{#var:grpidx}} = {{{group{{#var:grpidx}} | + | --> |
| − | + | <esc>|</esc> group{{#var:grpidx}} = {{{group{{#var:grpidx}}|}}} | |
| + | <esc>|</esc> list{{#var:grpidx}} = {{{list{{#var:grpidx}}|}}}<!-- | ||
-->{{#vardefine: grpidx | {{#expr:{{#var:grpidx}}+1}} }}<!-- | -->{{#vardefine: grpidx | {{#expr:{{#var:grpidx}}+1}} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| − | -->}} | + | -->}}<!-- |
| + | --></includeonly> | ||
Revision as of 19:48, 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. |