Template:Club: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
|-
|-
! Founders
! Founders
| {{#arraymap:{{{Founders|}}}|,|x|[[Founders::x]]}}
| {{#arraydefine:founders|{{{Founders|}}}|,}}{{#arrayprint:founders|,<nowiki> </nowiki>|x|{{Player Link|x}}}} <span class="hidden">{{#arraymap:{{{Founders|}}}|,|x|[[Founders::x]]}}</span>
|-
|-
! Key Players
! Key Players
| {{#arraymap:{{{Key Players|}}}|,|x|[[Key Players::x]]}}
| {{#arraydefine:players|{{{Founders|}}}|,}}{{#arrayprint:players|,<nowiki> </nowiki>|x|{{Player Link|x}}}} <span class="hidden">{{#arraymap:{{{Key Players|}}}|,|x|[[Key Players::x]]}}</span>
|-
|-
! Description
! Description
Line 52: Line 52:
== Fields ==
== Fields ==


{{#ask: [[Category:Club-fields]][[Club::{{{Name|}}}]] | ? Field | ? Club | link=none| format=template | template=Club Field Link | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000}}
{{#ask: [[Category:Club-fields]][[Club::{{{Name|}}}]] | ? Field | ? Club | ? Years | link=none| format=template | template=Club Field Link | userparam=Field[City]={{{City|}}}&Field[State]={{{State|}}}&Field[Country]={{{Country|}}} | limit=1000}}


{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field|Club-field[Club]={{{Name|}}}|popup}}
{{#formlink:form=Club-field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field|Club-field[Club]={{{Name|}}}|popup}}

Revision as of 13:31, 18 August 2012

This is the "Club" template. It should be called in the following format:

{{Club
|Name=
|City=
|State=
|Country=
|Founders=
|Key Players=
|Description=
|Source=
|Reviewed=
|Submitted by=
}}

Edit the page to see the template text.