Form:Player: Difference between revisions

>Kypho
No edit summary
>Kypho
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
This form creates/edits player pages using [[Template:Player]].
</noinclude>
{{{for template|Player}}}
{{{for template|Player}}}
;Name: {{{field|Name|input type=text|mandatory}}}
{| class="formtable"
;Country: {{{field|Country|input type=combobox|values=USA,Canada,Mexico,UK,Germany,France,Australia,New Zealand,Other}}}
! Name
;Handedness: {{{field|Handedness|input type=dropdown|values=Right,Left,Ambidextrous}}}
| {{{field|Name|mandatory|size=40|default={{PAGENAME}}}}}
;Active years: {{{field|ActiveYears|input type=text|placeholder=2016–2023}}}
|-
;Primary team: {{{field|PrimaryTeam|input type=text|autocomplete on category=Teams}}}
! Nickname/Handle
;Birth date: {{{field|BirthDate|input type=date}}}
| {{{field|Nickname|size=24}}}
;Notable results: {{{field|NotableResults|input type=textarea|editor=visualeditor}}}
|-
{{{end template}}}
! Hometown
 
| {{{field|Hometown|size=40|placeholder=City, State/Region, Country}}}
{{{standard input|save}}} {{{standard input|save and continue}}} {{{standard input|cancel}}}
|-
! Height
| <span class="pf-inline">
    {{{field|HeightFeet|input type=number|min=4|max=7|size=2|class=w-ft}}} <span class="pf-sfx">ft</span>
    {{{field|HeightInches|input type=number|min=0|max=11|size=2|class=w-in}}} <span class="pf-sfx">in</span>
  </span>
|-
! Active (years)
| <span class="pf-inline">
    {{{field|ActiveFromYear|input type=number|class=w-year}}}
    <span class="pf-sfx">–</span>
    {{{field|ActiveToYear|input type=number|class=w-year|placeholder=present}}}
  </span>
|-
! Photo
| {{{field|Photo|input type=upload}}}
|-
! Social links
| {{{field|Social|input type=tokens|delimiter=,|placeholder=https://…}}}
|}