Difference between revisions of "Template:Fs2 player/sandbox"
Jump to navigation
Jump to search
imported>Jts1882 (add name alternative) |
imported>Jts1882 (add pipe to name) |
||
Line 9: | Line 9: | ||
<td style="text-align: left;">{{flag|{{{nat}}}|variant={{{natvar|}}}}}</td> | <td style="text-align: left;">{{flag|{{{nat}}}|variant={{{natvar|}}}}}</td> | ||
<td style="text-align: center;">{{#ifeq:{{{pos|}}} | MF | [[Midfielder|MF]] | {{#ifeq:{{{pos|}}} | DF | [[Defender (association football)|DF]] | {{#ifeq:{{{pos|}}} | FW | [[Forward (association football)|FW]] | {{#ifeq:{{{pos|}}} | GK | [[Goalkeeper (association football)|GK]] | <noinclude>{{{pos}}}</noinclude> }} }} }} }}</td> | <td style="text-align: center;">{{#ifeq:{{{pos|}}} | MF | [[Midfielder|MF]] | {{#ifeq:{{{pos|}}} | DF | [[Defender (association football)|DF]] | {{#ifeq:{{{pos|}}} | FW | [[Forward (association football)|FW]] | {{#ifeq:{{{pos|}}} | GK | [[Goalkeeper (association football)|GK]] | <noinclude>{{{pos}}}</noinclude> }} }} }} }}</td> | ||
− | <td><span class="fn">{{#ifeq:{{{nolink}}}|1|{{#if:{{{name}}}|{{{name}}}|{{{first}}} {{{last}}}}}|[[{{#if:{{{link<includeonly>|</includeonly>}}}|{{{link}}}|{{{first}}} {{{last}}}}}|{{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{{first}}} {{{last}}}}}]]}}</span> {{#if:{{{other<includeonly>|</includeonly>}}}|''({{{other}}})''}}</td> | + | <td><span class="fn">{{#ifeq:{{{nolink}}}|1|{{#if:{{{name|}}}|{{{name}}}|{{{first}}} {{{last}}}}}|[[{{#if:{{{link<includeonly>|</includeonly>}}}|{{{link}}}|{{{first}}} {{{last}}}}}|{{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{{first}}} {{{last}}}}}]]}}</span> {{#if:{{{other<includeonly>|</includeonly>}}}|''({{{other}}})''}}</td> |
</tr> | </tr> | ||
<includeonly>}}</includeonly><noinclude> | <includeonly>}}</includeonly><noinclude> | ||
</table>{{Documentation|template:fs2/doc}}</noinclude> | </table>{{Documentation|template:fs2/doc}}</noinclude> |
Revision as of 09:18, 6 October 2018
Default output
- {{{no}}} [[{{{first}}} {{{last}}}|{{{last}}}]]
Output if format=table
UsageThis is a combined version of Template:Football squad player and the standard football squad navbox which can be made to display either. It is used in conjunction with Template:Fs2 player. For instructions on usage see below. Example #1: Basic Link
Example #2: Disambiguated link
Example #5 Name without link
Example #6 Other comment
Parameters
See also
|