Difference between revisions of "Template:Fs player unlink"
imported>Wikid77 (created, as a variation of Template:Football_squad_player, to handle same parameters but not wikilink value of "pos=" parameter, to reduce wp:OVERLINK text & cut template-expansion size) |
imported>Colonies Chris (avoid redirects) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{ | + | <noinclude>{{Football squad start}}</noinclude> |
|- class="vcard agent" | |- class="vcard agent" | ||
| style="text-align: right;" | {{{no|}}} | | style="text-align: right;" | {{{no|}}} | ||
| Line 5: | Line 5: | ||
| style="text-align: center;" | {{{pos|}}} | | style="text-align: center;" | {{{pos|}}} | ||
|<span class="fn">{{{name}}}</span>{{{ref|}}} {{#if:{{{other| }}}|''({{{other}}})''}}<noinclude> | |<span class="fn">{{{name}}}</span>{{{ref|}}} {{#if:{{{other| }}}|''({{{other}}})''}}<noinclude> | ||
| − | {{ | + | {{Football squad mid}} |
| − | {{ | + | {{Football squad end}} |
{{documentation|content= | {{documentation|content= | ||
Latest revision as of 15:39, 28 August 2018
Note: Flags indicate national team as defined under FIFA eligibility rules. Players may hold more than one non-FIFA nationality.
|
|
The Template:Fs_player_unlink is a variation of Template:Fs_player, to handle all of the same parameters in a football-squad table, but not wikilink the "pos=" position code (GK, DF, MF, etc.) as instead, listing the player's position as unlinked text, to reduce wp:OVERLINKed text. For the various template parameter names, see page: Template:Football_squad_player/doc. The related position codes, of association football (soccer), can be listed as needed in the text:
- GK for Goalkeeper;
- DF for Defender;
- MF for Midfielder;
- FW for Striker or Forward;
Performance considerations
Because the position parameter "pos=" is not checked by a #switch parser function nor wikilinked, then the template processing uses less expansion space, as explained in essay page "wp:Post-expand include size".
See also
- Template:Football squad start, template to begin a football-squad table
- Template:Football squad player, original template to format a squad table player row
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |