Difference between revisions of "Template:Flagicon image/doc"
Jump to navigation
Jump to search
imported>S.A. Julio m (adjust categorisation) |
imported>Ɱ (add link param) |
||
| Line 4: | Line 4: | ||
''Please do not use this template to render [[Wikipedia:Non-free content|non-free images]], which would also not be acceptable within a country data template.'' | ''Please do not use this template to render [[Wikipedia:Non-free content|non-free images]], which would also not be acceptable within a country data template.'' | ||
;Usage | ;Usage | ||
| − | : <code><nowiki>{{flagicon image|image name|size=optional|border=optional}}</nowiki></code> | + | : <code><nowiki>{{flagicon image|image name|size=optional|border=optional|link=optional}}</nowiki></code> |
;Examples | ;Examples | ||
: <code><nowiki>{{flagicon image|Red flag.svg}}</nowiki></code> → {{flagicon image|Red flag.svg}} | : <code><nowiki>{{flagicon image|Red flag.svg}}</nowiki></code> → {{flagicon image|Red flag.svg}} | ||
| − | : <code><nowiki>{{flagicon image|Red flag.svg|size=30x20px}}</nowiki></code> → {{flagicon image|Red flag.svg|size=30x20px}} | + | : <code><nowiki>{{flagicon image|Red flag.svg|size=30x20px|link=Japan}}</nowiki></code> → {{flagicon image|Red flag.svg|size=30x20px|link=Japan}} |
: <code><nowiki>{{flagicon image|ICS Alpha.svg|border=}}</nowiki></code> → {{flagicon image|ICS Alpha.svg|border=}} | : <code><nowiki>{{flagicon image|ICS Alpha.svg|border=}}</nowiki></code> → {{flagicon image|ICS Alpha.svg|border=}} | ||
Revision as of 01:26, 10 May 2020
| 40px | This is a documentation subpage for Template:Flagicon image. It contains usage information, categories and other content that is not part of the original template page. |
Produces an icon for the supplied image parameter, of the same size, CSS class, etc. as images produced by Template:Flagicon. This template can be used for arbitrary images that are not included in any country data template.
Please do not use this template to render non-free images, which would also not be acceptable within a country data template.
- Usage
{{flagicon image|image name|size=optional|border=optional|link=optional}}- Examples
{{flagicon image|Red flag.svg}}→ 23x15px{{flagicon image|Red flag.svg|size=30x20px|link=Japan}}→ 30x20px{{flagicon image|ICS Alpha.svg|border=}}→ File:ICS Alpha.svg