Difference between revisions of "Template:Fs player unlink"

From blackwiki
Jump to navigation Jump to search
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>{{Fs start}}</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>
{{Fs mid}}
+
{{Football squad mid}}
{{Fs end}}
+
{{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.

No. Pos. Nation Player
{{country data {{{nat}}}|flagicon/core|variant=|size=}}Template:Namespace detect showall {{{name}}}
No. Pos. Nation Player
50px Template documentation

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:

  1. GK for Goalkeeper;
  2. DF for Defender;
  3. MF for Midfielder;
  4. 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