Difference between revisions of "Template:Player"

From YouthHawk
Jump to: navigation, search
(Generated from a page schema)
 
(and restored)
 
(13 intermediate revisions by 3 users not shown)
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>
+
{{Player
+
|Full name=
+
|Date of birth=
+
|Place of birth=
+
|Position=
+
|Short description=
+
|Long description=
+
|Country=
+
|Contract=
+
|Picture=
+
|Club=
+
|Previous clubs=
+
|Team=
+
}}
+
</pre>
+
Edit the page to see the template text.
+
</noinclude><includeonly>
+
{| class="wikitable"
+
! Full name
+
| | [[Full name::{{{Full name|}}}]]
+
 
|-
 
|-
! Date of birth
+
| colspan="2" bgcolor="#CCCCFF" align="center" | '''<big>{{{name}}}</big>'''
| | [[Date of birth::{{{Date of birth|}}}]]
+
 
|-
 
|-
! Place of birth
+
| colspan="2" align="center" | {{{image}}}
| | [[Place of birth::{{{Place of birth|}}}]]
+
 
|-
 
|-
! Position
+
|'''Full Name'''
| | [[Position::{{{Position|}}}]]
+
| {{{full_name}}}
 
|-
 
|-
! Short description
+
|'''Date of Birth'''
| | [[Short description::{{{Short description|}}}]]
+
| {{{dob}}}
 
|-
 
|-
! Long description
+
|'''Age'''
| | [[Long description::{{{Long description|}}}]]
+
| {{#dobcalc:{{{dob|}}}}}
 
|-
 
|-
! Country
+
|'''Place of Birth'''
| | [[Country::{{{Country|}}}]]
+
| {{{pob}}}
 
|-
 
|-
! Contract
+
|'''Position'''
| | [[Contract::{{{Contract|}}}]]
+
| {{{pos}}}
 
|-
 
|-
! Picture
+
| valign=top |'''Nationality'''
| | [[Picture::{{{Picture|}}}]]
+
| {{{nat}}}
 
|-
 
|-
! Club
+
|'''Current club'''
| | [[Club::{{{Club|}}}]]
+
| {{{cclub}}}
 
|-
 
|-
! Previous clubs
+
|'''Previous club/s'''
| | {{#arraymap:{{{Previous clubs|}}}|,|x|[[Previous clubs::x]]}}
+
| {{{pclub}}}
 
|-
 
|-
! Team
 
| | [[Team::{{{Team|}}}]]
 
|}
 
  
[[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>

Latest revision as of 17:37, 25 May 2018

Usage

{{{name}}}
{{{image}}}
Full Name {{{full_name}}}
Date of Birth {{{dob}}}
Age
Place of Birth {{{pob}}}
Position {{{pos}}}
Nationality {{{nat}}}
Current club {{{cclub}}}
Previous club/s {{{pclub}}}
{{Infobox|
| name         = 
| image        = 
| full_name    = 
| dob          = 
| pob          = 
| pos          =
| nat          = 
| cclub        =
| pclub        = 
}}