From GamingWiki
Line 1: | Line 1: | ||
<!-- | <!-- | ||
− | + | Create an unordered list from our active campaigns | |
− | Create an unordered list from our active campaigns | ||
-->{{#vardefine: campaigns | <!-- | -->{{#vardefine: campaigns | <!-- | ||
-->{{#ask: [[is a:: Campaign]] [[status::active]] | format=list | sep=;; | link=none }}<!-- | -->{{#ask: [[is a:: Campaign]] [[status::active]] | format=list | sep=;; | link=none }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#arraydefine: camparray | {{#var: campaigns}} | ;; }}<!-- | -->{{#arraydefine: camparray | {{#var: campaigns}} | ;; }}<!-- | ||
− | + | -->{{#if:{{#var:campaigns}}| | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{#if:{{#var:campaigns}}| | ||
− | |||
* Campaigns: {{#arrayprint: camparray|<nowiki /> | * Campaigns: {{#arrayprint: camparray|<nowiki /> | ||
|@@@@|** @@@@{{!}}@@@@}} | |@@@@|** @@@@{{!}}@@@@}} | ||
− | <!-- | + | }}<!-- |
+ | --><noinclude> | ||
− | + | {{#tag: pre | {{#var: campaigns}} }} | |
+ | {{#tag: pre | {{#arrayprint: camparray|<nowiki /> | ||
+ | |@@@@|** @@@@{{!}}@@@@}} }} | ||
− | + | </noinclude><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--> | --> |
Revision as of 16:52, 24 February 2011
- Campaigns:
- Template:((#ask: is a:: Campaign status::active | format=list | sep=|Template:((#ask: is a:: Campaign status::active | format=list | sep=** | link=none Template:))|| link=none Template:))
{{#ask: [[is a:: Campaign]] [[status::active]] | format=list | sep=;; | link=none }}
** [[:Template:((]]#ask: [[is a:: Campaign]] [[status::active]] | format=list | sep=|[[:Template:((]]#ask: [[is a:: Campaign]] [[status::active]] | format=list | sep=** | link=none [[:Template:))]]|| link=none [[:Template:))]]