From GamingWiki
Jump to: navigation, search
Line 4: Line 4:
  
 
-->{{#vardefine: campaigns | <!--
 
-->{{#vardefine: campaigns | <!--
   -->{{#ask: [[Category: Campaigns]] [[status::active]] | format=list | sep=;; }}<!--
+
   -->{{#ask: [[Category: Campaigns]] [[status::active]] | format=list | sep=;; | link=none }}<!--
 
-->}}<!--
 
-->}}<!--
  
 +
-->{{#if:{{#var:campaigns}}|<!--
 
-->
 
-->
 
* Campaigns:<!--
 
* Campaigns:<!--
 +
-->}}<!--
  
-->{{Array Map
+
-->{{#vardefine: lidx | 0}}<!--
| array = {{#var: campaigns}}
+
-->{{#while: |{{#vardefineecho: thelink | {{#explode: {{#var: campaigns}} | ;; | {{#var: lidx}} }} }}<!--
| countfrom = 0
+
-->|<!-- iterate over the retrieved links
| before = &nbsp;
+
  --><nowiki />
**  
+
** {{#var:thelink}}{{!}}{{#var:thelink}} <!--
| beforefirst =
+
  -->{{#vardefine: lidx | {{#expr: {{#var:lidx}} + 1}} }}<!--
 
+
-->}}<!-- end link list loop
**
 
}}<!--
 
  
 
-->
 
-->

Revision as of 02:36, 12 February 2011