Form:Team: Difference between revisions
>Kypho Created page with "{{{for template|Team}}} {| class="formtable" ! Team name (optional) | {{{field|Name|size=40|placeholder=If blank, shows ‘A & B’}}} |- ! Player A | {{{field|PlayerA|input type=combobox}}} |- ! Player B | {{{field|PlayerB|input type=combobox}}} |- ! Active | {{{field|ActiveFrom|input type=date}}} – {{{field|ActiveTo|input type=date|placeholder=present}}} |- ! Logo | {{{field|Logo|input type=upload}}} |} {{{end template}}} {{{end form}}}" |
>Kypho No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{{for template|Team}}} | {{{for template|Team}}} | ||
{| class="formtable" | {| class="formtable" | ||
! Team name | ! Team name | ||
| {{{field|Name|size=40|placeholder=If blank, shows ‘A & B’}}} | | {{{field|Name|size=40|placeholder=If blank, shows ‘A & B’}}} | ||
|- | |- | ||
| Line 10: | Line 10: | ||
| {{{field|PlayerB|input type=combobox}}} | | {{{field|PlayerB|input type=combobox}}} | ||
|- | |- | ||
! Active | ! Active (years) | ||
| {{{field| | | <span class="pf-inline"> | ||
{{{field|ActiveFromYear|input type=number|min=1990|max=2100|class=w-year}}} | |||
<span class="pf-sfx">–</span> | |||
{{{field|ActiveToYear|input type=number|min=1990|max=2100|class=w-year|placeholder=present}}} | |||
</span> | |||
|- | |- | ||
! Logo | ! Logo | ||
| {{{field|Logo|input type=upload}}} | | {{{field|Logo|input type=upload}}} | ||
|} | |} | ||