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

Revision as of 02:54, 12 February 2011

  • Campaigns:
    • {{#ask: status::active | format=list | sep=|{{#ask: status::active | format=list | sep=** | link=none }}|| link=none }}
       {{#ask: [[Category: Campaigns]] [[status::active]] | format=list | sep=;; | link=none }} 
{{#ask
[[Category
Campaigns]] [[status::active]] | format=list | sep=|{{#ask: [[Category: Campaigns]] [[status::active]] | format=list | sep= ;; | link=none }}|| link=none }}