From GamingWiki
Jump to: navigation, search
Line 14: Line 14:
 
| imagestyle = {{{imagestyle}}}
 
| imagestyle = {{{imagestyle}}}
 
| image = {{{image<includeonly>|</includeonly>}}}
 
| image = {{{image<includeonly>|</includeonly>}}}
 
+
<!--
| title1 = testing
+
  Loop until we run out of groups
| body1 = more testing
+
  -->{{#vardefine: grpidx | 1}}<!--
 
+
   -->{{#while: | {{{title{{#var:grpidx}}|}}}{{{group{{#var:grpidx}}|}}}{{{body{{#var:grpidx}}|}}}{{#ifexpr:{{#var:grpidx}}<2|1|}}|<!--
| groups = <!--
+
     -->\p group{{#var:grpidx}} = {{{title{{#var:grpidx}}|{{{group{{#var:grpidx}}}}} }}}<noinclude>{{{group{{#var:grpidx}}}}}</noinclude><!--
   -->{{#forargs: group | grpidx | grpval |<!--
+
    -->\p list{{#var:grpidx}} = {{#if:{{{body{{#var:grpidx}}<includeonly>|</includeonly>}}}|{{{body{{#var:grpidx}}}}}}}<!--
     -->;; {{#var:grpidx}} :: {{#var:grpval}}<!--
+
     -->{{#vardefine: grpidx | {{#expr:{{#var:grpidx}}+1}}}}<!--
  -->}}<!--
+
  -->}}<!--
 
 
| lists = <!--
 
  -->{{#forargs: list | lstidx | lstval |<!--
 
     -->;; {{#var:lstidx}} :: {{#var:lstval}}<!--
 
  -->}}<!--
 
 
 
 
-->}}
 
-->}}

Revision as of 19:20, 12 February 2011

[edit] [purge]
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.