Difference between revisions of "Template:Player"

From YouthHawk
Jump to: navigation, search
Line 1: Line 1:
<noinclude>
+
{| class="infobox" style="width: 22em; margin: 1em; font-size: 11px; border:1px solid black; background-color: #f5faff;" align="right"
This is the "Player" template.
+
It should be called in the following format:
+
<pre>
+
style="width: 22em; margin: 1em; font-size: 11px; border:1px solid black; background-color: #f5faff;" align="right"
+
 
|-
 
|-
{{Player
+
| colspan="2" bgcolor="#CCCCFF" align="center" | <big>{{{name}}}</big>
|Full name=
+
|Date of birth=
+
|Place of birth=
+
|Position=
+
|Nationality=
+
|Picture=
+
|Current club=
+
|Previous clubs=
+
|Currently involved in=
+
}}
+
</pre>
+
Edit the page to see the template text.
+
</noinclude><includeonly>
+
{| class="wikitable"
+
! Full name
+
| | [[Full name::{{{Full name|}}}]]
+
 
|-
 
|-
! Date of birth
+
| colspan="2" align="center" | {{{image}}}
| | [[Date of birth::{{{Date of birth|}}}]]
+
 
|-
 
|-
! Place of birth
+
|{{0}}'''Full Name'''
| | [[Place of birth::{{{Place of birth|}}}]]
+
| {{{full_name}}}
 
|-
 
|-
! Position
+
|{{0}}'''Date of Birth'''
| | [[Position::{{{Position|}}}]]
+
| {{{dob}}}
 
|-
 
|-
! Nationality
+
|{{0}}'''Place of Birth'''
| | [[Country::{{{Country|}}}]]
+
| {{{pob}}}
 
|-
 
|-
! Picture
+
|{{0}}'''Position'''
| | [[Picture::{{{Picture|}}}]]
+
| {{{pos}}}
 
|-
 
|-
! Current club
+
| valign=top | {{0}}'''Nationality'''
| | [[Club::{{{Club|}}}]]
+
| {{{nat}}}
 
|-
 
|-
! Previous clubs
+
|{{0}}'''Current club'''
| | {{#arraymap:{{{Previous clubs|}}}|,|x|[[Previous clubs::x]]}}
+
| {{{cclub}}}
 
|-
 
|-
! Currently involved in
+
|{{0}}'''Previous club/s'''
| | [[Team::{{{Team|}}}]]
+
| {{{pclubs}}}
 
|}
 
|}
  
[[Category:Player]]
+
<noinclude>
</includeonly>
+
== Usage ==
 +
{| style="float: left; background-color: transparent;"
 +
|<pre>{{Infobox|
 +
| name        =
 +
| image        =
 +
| full_name    =
 +
| dob          =
 +
| pob          =
 +
| pos          =
 +
| nat          =
 +
| cclub        =
 +
| pclub        =
 +
}}</pre>
 +
|}
 +
</noinclude>

Revision as of 19:16, 5 February 2014

{{{name}}}
{{{image}}}
0Full Name {{{full_name}}}
0Date of Birth {{{dob}}}
0Place of Birth {{{pob}}}
0Position {{{pos}}}
0Nationality {{{nat}}}
0Current club {{{cclub}}}
0Previous club/s {{{pclubs}}}


Usage

{{Infobox|
| name         = 
| image        = 
| full_name    = 
| dob          = 
| pob          = 
| pos          =
| nat          = 
| cclub        =
| pclub        = 
}}