Difference between revisions of "Template:NFLplayer"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
m (add PS/NFI) |
(only link to pages if they exist; also, tidy up the code a bit) |
||
Line 1: | Line 1: | ||
− | * <span style="font-family: courier new, courier, monospace">{{{1}}}</span> {{<includeonly>safesubst:</includeonly>#ifeq:{{{rookie}}}|y|''}}{{<includeonly>safesubst:</includeonly>#ifeq: {{{link}}} | + | * <span style="font-family: courier new, courier, monospace">{{{1}}}</span> {{<includeonly>safesubst:</includeonly>#ifeq:{{{rookie}}}|y|''}}{{<includeonly>safesubst:</includeonly>#ifeq: {{{link}}} | no |
− | + | | {{{2}}} | |
− | + | | {{<includeonly>safesubst:</includeonly>#ifexist: | |
− | + | {{{2}}}{{<includeonly>safesubst:</includeonly>#if: {{{d2|}}} | |
− | }}{{<includeonly>safesubst:</includeonly>#ifeq:{{{rookie}}}|y|''}} {{<includeonly>safesubst:</includeonly>#if:{{{3|}}}|{{{3}}}}} {{#switch: {{{4}}} |PUP = <small>(PUP)</small> [[File:Injury icon 2.svg|10px]] |Active/PUP = <small>(Active/PUP)</small> [[File:Injury icon 2.svg|10px]] |IR = <small>(IR)</small> [[File:Injury icon 2.svg|10px]] |IR-DFR = <small>(IR-DFR)</small> [[File:Injury icon 2.svg|10px]] |IR/Susp. = <small>(IR/Susp.)</small> [[File:Injury icon 2.svg|10px]] |Military = <small>(Reserve/Military)</small> |Exempt = <small>(Exempt.)</small> |DNR = <small>(Did Not Report)</small> |W/I = <small>(Waived/injured)</small> [[File:Injury icon 2.svg|10px]] |PS/I = <small>(Injured)</small> [[File:Injury icon 2.svg|10px]] |PS/NFI = <small>(NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] |PS/I/Susp. = <small>(Injured/Susp.)</small> [[File:Injury icon 2.svg|10px]] |Active/NF-Inj. = <small>(Active/NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] |Active/NF-Ill. = <small>(Active/NF-Ill.)</small> [[File:Injury icon 2.svg|10px]] |NF-Inj. = <small>(NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] |NF-Ill. = <small>(NF-Ill.)</small> [[File:Injury icon 2.svg|10px]] |Exempt/Left Squad = <small>(Exempt/Left Squad)</small> |Left Squad = <small>(Left Squad)</small> |Susp. = <small>(Susp.)</small> |Future = <small>(Future)</small> |Franchise = <small>(Franchise)</small> |Transition = <small>(Transition)</small> |Unsigned = <small>(Unsigned)</small> |DP = <small>(DP)</small>}}<noinclude> | + | | , {{{d2}}} |
+ | }}{{<includeonly>safesubst:</includeonly>#if: {{{d3|}}} | ||
+ | | {{{d3}}} | ||
+ | }} {{<includeonly>safesubst:</includeonly>#if: {{{d|}}} | ||
+ | | ({{{d}}}) | ||
+ | }} | ||
+ | | [[{{{2}}}{{<includeonly>safesubst:</includeonly>#if: {{{d2|}}} | ||
+ | | , {{{d2}}} | ||
+ | }}{{<includeonly>safesubst:</includeonly>#if: {{{d3|}}} | ||
+ | | {{{d3}}} | ||
+ | }} {{<includeonly>safesubst:</includeonly>#if: {{{d|}}} | ||
+ | | ({{{d}}}) | ||
+ | }}|{{{2}}}]] | ||
+ | | {{{2}}} | ||
+ | }} | ||
+ | }}{{<includeonly>safesubst:</includeonly>#ifeq: {{{rookie}}} | y | ||
+ | | '' | ||
+ | }} {{<includeonly>safesubst:</includeonly>#if: {{{3|}}} | ||
+ | | {{{3}}} | ||
+ | }} {{#switch: {{{4}}} | ||
+ | | PUP = <small>(PUP)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | Active/PUP = <small>(Active/PUP)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | IR = <small>(IR)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | IR-DFR = <small>(IR-DFR)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | IR/Susp. = <small>(IR/Susp.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | Military = <small>(Reserve/Military)</small> | ||
+ | | Exempt = <small>(Exempt.)</small> | ||
+ | | DNR = <small>(Did Not Report)</small> | ||
+ | | W/I = <small>(Waived/injured)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | PS/I = <small>(Injured)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | PS/NFI = <small>(NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | PS/I/Susp. = <small>(Injured/Susp.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | Active/NF-Inj. = <small>(Active/NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | Active/NF-Ill. = <small>(Active/NF-Ill.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | NF-Inj. = <small>(NF-Inj.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | NF-Ill. = <small>(NF-Ill.)</small> [[File:Injury icon 2.svg|10px]] | ||
+ | | Exempt/Left Squad = <small>(Exempt/Left Squad)</small> | ||
+ | | Left Squad = <small>(Left Squad)</small> | ||
+ | | Susp. = <small>(Susp.)</small> | ||
+ | | Future = <small>(Future)</small> | ||
+ | | Franchise = <small>(Franchise)</small> | ||
+ | | Transition = <small>(Transition)</small> | ||
+ | | Unsigned = <small>(Unsigned)</small> | ||
+ | | DP = <small>(DP)</small> | ||
+ | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
− | + | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | |
</noinclude> | </noinclude> |
Revision as of 03:33, 7 August 2013
- {{{1}}} {{{2}}}
- For active players, please use:
{{NFLplayer|number|name}}
- For active rookies, please use:
{{NFLplayer|number|name|rookie=y}}
- To add a position, please use:
{{NFLplayer|number|name|position}}
- For disambigation, please use:
{{NFLplayer|number|name|d=disambiguation name}}
- For Sr. or Jr., please use:
{{NFLplayer|number|name|d2=Sr.}} {{NFLplayer|number|name|d3=Jr.}}
- For Roman numerals following names, please use:
{{NFLplayer|number|name|d3=III}}
- For players on reserve lists, please use:
{{NFLplayer|number|name|reserve list notation}}
Notation | Corresponding roster designation |
---|---|
IR | Reserve/Injured |
IR-DFR | Reserve/Injured (designated for return) |
W/I | Waived/Injured |
PS/I | Practice Squad/Injured |
PS/NFI | Practice Squad/Non-Football Injury |
Active/PUP | Active/Physically Unable to Perform |
PUP | Reserve/Physically Unable to Perform |
Active/NF-Inj. | Active/Non-Football Injury |
Active/NF-Ill. | Active/Non-Football Illness |
NF-Inj. | Reserve/Non-Football Injury |
NF-Ill. | Reserve/Non-Football Illness |
DNR | Reserve/Did Not Report |
Exempt/Left Squad | Exempt/Left Squad |
Left Squad | Reserve/Left Squad |
Susp. | Reserve/Suspended |
Military | Reserve/Military |
Exempt | roster exemption |
Future | Reserve/Future |
Franchise | Franchise Tag |
Transition | Transition Tag |
Unsigned | Reserve/Unsigned (UFL) |
DP | Unsigned Draft Pick (UFL) |
- To avoid using a wikilink, please use:
{{NFLplayer|number|name|link=no}}
- (Note: the template only generates a link if the article already exists.)
The above documentation is transcluded from Template:NFLplayer/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |