Template:Player: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Player}})
 
(15 intermediate revisions by the same user not shown)
Line 6: Line 6:
|First Name=
|First Name=
|Last Name=
|Last Name=
|Born=
|Type of Date of Birth=
|Died=
|Date of Death=
|Type of Date of Death=
|Description=
|Description=
|Sources=
|Sources=
|Comment=
|Query=
}}
}}
</pre>
</pre>
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>{{#default_form:Player}}{{Ballgame_Box}}{{#set:First Name={{{First Name|}}}|Last Name={{{Last Name|}}}}} __NOEDITSECTION__
 
{| class=stats
{|
|- {{#if: {{{Date of Birth|}}} || class=hidden }}
! {{#if {{{Born|}}} | Born }}
! Date of Birth
| {{#if: {{{Born|}}} | {{Typed Date|{{{Born|}}}|Day}}}}
| {{#if: {{{Date of Birth|}}} | {{Typed Date|{{{Date of Birth|}}}|{{{Type of Date of Birth}}}}}}}
|-
|- {{#if: {{{Date of Death|}}} || class=hidden }}
! {{#if {{{Died|}}} | Died }}
! Date of Death
| {{#if: {{{Died|}}} | {{Typed Date|{{{Died|}}}|Day}}}}
| {{#if: {{{Date of Death|}}} | {{Typed Date|{{{Date of Death|}}}|{{{Type of Date of Death}}}}}}}
|}
|}
{{#if: {{{Description|}}} |==Biography==}}
{{#if: {{{Description|}}} |==Biography==
[[Description::{{{Description|}}}]]
[[Description::{{{Description|}}}]]
{{#if: {{{Sources|}}} |=== Sources ===}}
}}{{#if: {{{Sources|}}} |
<h3>Sources</h3>
[[Sources::{{{Sources|}}}]]
[[Sources::{{{Sources|}}}]]
 
}}
<h3>Comment</h3>
[[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
<h3>Query</h3>
[[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
== 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}}]] | ? Club | ? 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>

Latest revision as of 19:11, 5 June 2020

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=
|Comment=
|Query=
}}

Edit the page to see the template text.