Template:Flagicon

From Wikisource
Jump to navigation Jump to search

[[File:Flag of {{{1}}}.svg|23x15px|border]] {{{1}}}

Template documentation[view] [edit] [history] [purge]

This template puts a flag into the flow of text. It was copied from Wikipedia in simplified format for use on Portal:National anthems.

Usage[edit]

Example 1: one parameter[edit]

Typing this:

{{flagicon|Canada}}

Results in this:

[[File:Flag of Canada.svg|23x15px|border]] Canada

And looks like this:

Flag of Canada.svg Canada

Example 2: two parameters[edit]

Typing this:

{{flagicon|Canada|Canadian Red Ensign}}

Results in this:

[[File:Canadian Red Ensign.svg|23x15px|border]] Canada

And looks like this:

Canadian Red Ensign.svg Canada