From GamingWiki
Jump to: navigation, search
Line 25: Line 25:
 
   -->}}<!--
 
   -->}}<!--
  
 +
-->
 
| lists = <!--
 
| lists = <!--
 
   -->{{#forargs: list | lstidx | lstval |<!--
 
   -->{{#forargs: list | lstidx | lstval |<!--
Line 30: Line 31:
 
   -->}}<!--
 
   -->}}<!--
  
  Loop until we run out of groups
 
  -->{{#vardefine: grpidx | 1}}<!--
 
  -->{{#while: | {{{group{{#var:grpidx}}|}}}{{{list{{#var:grpidx}}|}}}{{#ifexpr:{{#var:grpidx}}<2|1|}}|<!--
 
    -->
 
<esc>|</esc> group{{#var:grpidx}} = {{{group{{#var:grpidx}}|}}}
 
{{!}} list{{#var:grpidx}}  = {{{list{{#var:grpidx}}|}}}<!--
 
    -->{{#vardefine: grpidx | {{#expr:{{#var:grpidx}}+1}} }}<!--
 
  -->}}<!--
 
 
-->}}<!--
 
-->}}<!--
 
--></includeonly>
 
--></includeonly>

Revision as of 20:22, 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.