From GamingWiki
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:<!-- | ||
+ | -->}}<!-- | ||
− | -->{{ | + | -->{{#vardefine: lidx | 0}}<!-- |
− | | | + | -->{{#while: |{{#vardefineecho: thelink | {{#explode: {{#var: campaigns}} | ;; | {{#var: lidx}} }} }}<!-- |
− | | | + | -->|<!-- iterate over the retrieved links |
− | + | --><nowiki /> | |
− | ** | + | ** {{#var:thelink}}{{!}}{{#var:thelink}} <!-- |
− | | | + | -->{{#vardefine: lidx | {{#expr: {{#var:lidx}} + 1}} }}<!-- |
− | + | -->}}<!-- end link list loop | |
− | |||
− | }}<!-- | ||
--> | --> |
Revision as of 02:36, 12 February 2011
- Campaigns:
- {{#ask: status::active | format=list | sep=|{{#ask: status::active | format=list | sep=
- | link=none }}|| link=none }}