Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Flagicon: Difference between revisions

Template page
m (Added template tutorial)
m (No longer required to put "File:" to display flag icons)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[{{{1}}}|23px]]</includeonly><noinclude>
<includeonly>[[File:{{{1}}}|23px]]</includeonly><noinclude>
Usage:
Usage:
  <nowiki>{{Flagicon|File:Flag of Brazil.svg}}</nowiki>
  <nowiki>{{Flagicon|Flag of Brazil.svg}}</nowiki>
Produces:
Produces:


{{Flagicon|File:Flag of Brazil.svg}}
{{Flagicon|Flag of Brazil.svg}}<templatedata>
{
"params": {
"1": {
"label": "Image file",
"type": "wiki-file-name",
"required": true
}
},
"description": "Creates a flag icon"
}
</templatedata></noinclude>

Latest revision as of 03:17, 31 March 2022

Usage:

{{Flagicon|Flag of Brazil.svg}}

Produces:

Creates a flag icon

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image file1

no description

Filerequired