Jump to content

User:V0d4n/Template:Twincity/doc

From Wikipedia, the free encyclopedia

Description

[edit]

Displays a flag of the named parameter in "icon" size, currently 22x20 pixels plus a one pixel border. The image also has a clickable link to the associated article.

Usage

[edit]
{{User:V0d4n/Template:Twincity
  | flag = 
  | city = 
  | region = 
  | year = 
  | list = 
}}
flag
The first parameter is mandatory, and identifies the name of the country used to call it with the Template:Flagicon {{{Flagicon|flag}}}.
city
The second parameter is mandatory, and identifies the name of the twinned city.
region
This parameter is mandatory, and specifies the region like county, state, and country the city is located in.
year
The year is an optional parameter to specify the year establishing the partnership.
list
If this optional parameter is not omitted it can only contain off. In this case the list item mark * will be avoided.

Examples

[edit]
Input Displays as
{{User:V0d4n/Template:Twincity | flag = Germany | city = [[Netzschkau]] | region = [[Saxony]], Germany}}
{{User:V0d4n/Template:Twincity | flag = Germany | city = [[Friedberg (Hesse)|Friedberg]] | region = [[Hesse]], Germany | year = 1997 | list = off}} Germany Friedberg, Hesse, Germany (since 1997)
{{User:V0d4n/Template:Twincity | flag = France | city = [[Saint-Germain-lès-Corbeil]] | region = [[Essonne]], [[Île-de-France (region)|Île-de-France]], France | year = 1995}}
{{User:V0d4n/Template:Twincity | flag = France | city = [[Bordeaux]] | region = [[Aquitaine]], France | year = 1962}}
{{User:V0d4n/Template:Twincity | flag = Russia | city = [[St. Petersburg]] | region = Russia | year = 2002}}
{{User:V0d4n/Template:Twincity | flag = United States | city = [[Des Moines]] | region = [[Iowa]], United States}}
{{User:V0d4n/Template:Twincity | flag = POL | city = [[Ciechanowiec]] | region = Poland | year = 1995 | list = off}} Poland Ciechanowiec, Poland (since 1995)