Template:Player: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Player}})
 
(22 intermediate revisions by the same user not shown)
Line 6: Line 6:
|First Name=
|First Name=
|Last Name=
|Last Name=
|Type of Date of Birth=
|Date of Death=
|Type of Date of Death=
|Description=
|Description=
|Sources=
|Comment=
|Query=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
</noinclude><includeonly>{{#default_form:Player}}{{Ballgame_Box}}{{#set:First Name={{{First Name|}}}|Last Name={{{Last Name|}}}}} __NOEDITSECTION__
! First Name
{| class=stats
| [[First Name::{{{First Name|}}}]]
|- {{#if: {{{Date of Birth|}}} || class=hidden }}
|-
! Date of Birth
! Last Name
| {{#if: {{{Date of Birth|}}} | {{Typed Date|{{{Date of Birth|}}}|{{{Type of Date of Birth}}}}}}}
| [[Last Name::{{{Last Name|}}}]]
|- {{#if: {{{Date of Death|}}} || class=hidden }}
|-
! Date of Death
! Description
| {{#if: {{{Date of Death|}}} | {{Typed Date|{{{Date of Death|}}}|{{{Type of Date of Death}}}}}}}
| [[Description::{{{Description|}}}]]
|}
|}
{{#if: {{{Description|}}} |==Biography==
[[Description::{{{Description|}}}]]
}}{{#if: {{{Sources|}}} |
<h3>Sources</h3>
[[Sources::{{{Sources|}}}]]
}}
<h3>Comment</h3>
[[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
<h3>Query</h3>
[[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
== Clubs ==
{{#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>


[[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.