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

From blackwiki
Jump to navigation Jump to search
imported>Faycal.09
(Created page with '{{documentation subpage}} ==Description== <tt><nowiki>{{fbl-rt|nation|variant|size=optional|name=optional}}</nowiki></tt> Produces a flag icon attached to a wik...')
 
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{fbl-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fbl-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
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.
 
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.
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fbl-rt|Algeria}}</nowiki></tt> → {{fbl-rt|Algeria}}
+
*<code><nowiki>{{fbl-rt|Algeria}}</nowiki></code> → {{fbl-rt|Algeria}}
*<tt><nowiki>{{fbl-rt|RSA}}</nowiki></tt> → {{fbl-rt|RSA}}
+
*<code><nowiki>{{fbl-rt|RSA}}</nowiki></code> → {{fbl-rt|RSA}}
*<tt><nowiki>{{fbl-rt|Congo|1970}}</nowiki></tt> → {{fbl-rt|Congo|1970}}
+
*<code><nowiki>{{fbl-rt|Congo|1970}}</nowiki></code> → {{fbl-rt|Congo|1970}}
*<tt><nowiki>{{fbl-rt|EGY|name=EGY}}</nowiki></tt> → {{fbl-rt|EGY|name=EGY}}
+
*<code><nowiki>{{fbl-rt|EGY|name=EGY}}</nowiki></code> → {{fbl-rt|EGY|name=EGY}}
  
 
==See also==
 
==See also==

Revision as of 23:53, 5 December 2019

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

See also