Template:Quikflag/doc

The flag Template:Quikflag displays a nation or location flag, of a specified size, very quickly, with no extra templates being spawned and transcluded into the page.


 * Usage:   
 *  
 *  
 *  

The following parameters are allowed:
 * size - the size, such as 30px (default: 22x20px)
 * alt - the image alternative text for text-only users and mouse-over display
 * link - the wikilink text when clicking on image (default: a wikilink to the place name)
 * 1=n  - parameter 1 as "n" shows name after the flag.
 * 2=n  - parameter 2 as "n" also shows name after flag.
 * border - any other text (default: border)
 * image - the name of any image file to display (not just a flag)

The typical flag-image name is in the form "Flag of (...).svg" where an optional word "the" is inserted if needed in the name, but use image=xx.jpg for other flag names. Other special nation or city names are detected and substituted when needed.

Examples: The following are examples of the template:

If no spaces are placed between templates, then all the flags will be aligned together. There are many hundreds of possible flags. See index list: "".

Comparison to Template:flag
The main purpose of is to display a flag, by name suffix, very quickly, as a short entry in a page. However, the purpose of undefined is to provide the flag for a nation-code or name, and display the official name of that nation. Consequently, can display thousands of flags, because it does not check the nation-code to restrict which flags are shown. Note, in the following 2 examples, how Template:flag does not handle flags of "Persia (1906)" or "Paraguay 1811 to 1812" which can be displayed quickly by {&#123;quikflag}}, but {&#123;flag}} generates errors of " Template:Country data... ":


 * Persia (1906)   Paraguay 1811 to 1812
 * Persia (1906)   Paraguay 1811 to 1812



Part of the reason that is so quick, displaying a flag using no other templates, is because  does not lookup nation-code entries. The 2 templates have very different purposes.