Template:Player: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Ballgame_Box}}{{#set:First Name={{{First Name|}}}Last Name={{{Last Name|}}}}}
</noinclude><includeonly>{{Ballgame_Box}}{{#set:First Name={{{First Name|}}}Last Name={{{Last Name|}}}}}
 
{| class=stats
{|
|- {{#if: {{{Date of Birth|}}} || class=hidden }}
! {{#if: {{{Date of Birth|}}} | Date of Birth }}
! Date of Birth
| {{#if: {{{Date of Birth|}}} | {{Typed Date|{{{Date of Birth|}}}|{{{Type of Date of Birth}}}}}}}
| {{#if: {{{Date of Birth|}}} | {{Typed Date|{{{Date of Birth|}}}|{{{Type of Date of Birth}}}}}}}
|-
|- {{#if: {{{Date of Death|}}} || class=hidden }}
! {{#if: {{{Date of Death|}}} | Date of Death }}
! Date of Death
| {{#if: {{{Date of Death|}}} | {{Typed Date|{{{Date of Death|}}}|{{{Type of Date of Death}}}}}}}
| {{#if: {{{Date of Death|}}} | {{Typed Date|{{{Date of Death|}}}|{{{Type of Date of Death}}}}}}}
|}
|}
Line 29: Line 29:
}}
}}
== Clubs ==
== Clubs ==
{{#ask: [[Category:Player-clubs]][[Player::{{PAGENAME}}]] | ? Club | ? Years | ? Role with Club | link=none | format=template | template=Player Club Link | limit=1000| sep=<br />}}
{{#ask: [[Category:Player-clubs]][[Player::{{PAGENAME}}]] | ? Player | ? Years | ? Role with Club | link=none | format=template | introtemplate = Display Player Club Header | template=Display Player Club Row | outrotemplate = Display Table Footer | limit=1000 | default = No clubs have been associated with this player yet.}}
 
<span class="noprint">{{#formlink:form=Player-club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;a&nbsp;Club&nbsp;Association|Player-club[Player]={{PAGENAME}}}}</span>
{{#formlink:form=Player-club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add a Club Association|Player-club[Player]={{PAGENAME}}|popup}}


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

Revision as of 10:57, 30 October 2012

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

{{Player
|First Name=
|Last Name=
|Type of Date of Birth=
|Date of Death=
|Type of Date of Death=
|Description=
|Sources=
}}

Edit the page to see the template text.