Difference between revisions of "Template:Flb/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
m (Template fixing, replaced: {{fl| → {{flb| (5) using AWB)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{flb|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{flb|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked national floorball team article.
 
Produces a flag icon attached to a wikilinked national floorball team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{flb|Sweden}}</nowiki></tt> → {{flb|Sweden}}
+
*<code><nowiki>{{flb|Sweden}}</nowiki></code> → {{flb|Sweden}}
*<tt><nowiki>{{flb|FIN}}</nowiki></tt> → {{flb|FIN}}
+
*<code><nowiki>{{flb|FIN}}</nowiki></code> → {{flb|FIN}}
  
 
==See also==
 
==See also==
Line 20: Line 20:
 
* [[Template:fl.]] – unrelated, abbreviation for [[floruit]]
 
* [[Template:fl.]] – unrelated, abbreviation for [[floruit]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Floorball templates|{{PAGENAME}}]]
 
[[Category:Floorball templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 02:05, 3 June 2020

Description

{{flb|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked national floorball team article.

Parameters
  • nation — Use either the name of the nation or the three-letter country code
  • 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