Template:Club: Difference between revisions

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


{{#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}}
{{#ask: [[Category:Club-fields]][[Club::{{PAGENAME}}]] | ? 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]={{PAGENAME}}|popup}}
 
== Players ==
 
{{#ask: [[Category:Player-club]][[Club::{{PAGENAME}}]] | ? Player | ? Years | ? Was Founder | ? Was Key Player | link=none | format=template | template=Club Player Link | 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=Player-club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Player|Player-club[Club]={{{Name|}}}|popup}}


== Ballgames ==
== Ballgames ==


{{#ask: [[Category:Ballgames]]<q>[[Home Team::{{{Name|}}}]] OR [[Away Team::{{{Name|}}}]]</q> | Sort=Date of Game }}
{{#ask: [[Category:Ballgames]]<q>[[Home Team::{{PAGENAME}}]] OR [[Away Team::{{PAGENAME}}]]</q> | Sort=Date of Game }}


{{#formlink:form=Ballgame|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Ballgame|Ballgame[City]={{{City|}}}|Ballgame[State]={{{State|}}}|Ballgame[Country]={{{Country|}}}|Ballgame[Home Team]={{{Name|}}}|popup}}
{{#formlink:form=Ballgame|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Ballgame|Ballgame[City]={{{City|}}}|Ballgame[State]={{{State|}}}|Ballgame[Country]={{{Country|}}}|Ballgame[Home Team]={{PAGENAME}}|popup}}


[[Category:Clubs]]
[[Category:Clubs]]
</includeonly>
</includeonly>

Revision as of 16:29, 19 August 2012

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

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

Edit the page to see the template text.