Difference between revisions of "Template:Fbl-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
m (Fix Linter errors using AutoEd)
imported>BalkanianActuality
Line 13: Line 13:
 
==Examples==
 
==Examples==
 
*<code><nowiki>{{fbl-rt|Algeria}}</nowiki></code> → {{fbl-rt|Algeria}}
 
*<code><nowiki>{{fbl-rt|Algeria}}</nowiki></code> → {{fbl-rt|Algeria}}
*<code><nowiki>{{fbl-rt|RSA}}</nowiki></code> → {{fbl-rt|RSA}}
+
*<code><nowiki>{{fbl-rt|MAR}}</nowiki></code> → {{fbl-rt|MAR}}
*<code><nowiki>{{fbl-rt|Congo|1970}}</nowiki></code> → {{fbl-rt|Congo|1970}}
+
*<code><nowiki>{{fbl-rt|Libya|1977}}</nowiki></code> → {{fbl-rt|Libya|1977}}
*<code><nowiki>{{fbl-rt|EGY|name=EGY}}</nowiki></code> → {{fbl-rt|EGY|name=EGY}}
+
*<code><nowiki>{{fbl-rt|NGA|name=NGA}}</nowiki></code> → {{fbl-rt|NGA|name=NGA}}
  
 
==See also==
 
==See also==

Revision as of 17:03, 12 March 2020

Description

{{fbl-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked local (A') national football team article. Similar to Template:Fbl, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by FIFA
  • variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
  • size (optional) — Can be used to change the flag icon size (use sparingly!)
  • name (optional) — Can be used to change the wikilink display text

Examples

  • {{fbl-rt|Algeria}}Algeria 
  • {{fbl-rt|MAR}}Morocco 
  • {{fbl-rt|Libya|1977}}Libya 
  • {{fbl-rt|NGA|name=NGA}}NGA 

See also