IBWiki:Templates/Country templates and other

From IBWiki

Jump to: navigation, search

Country templates and other

Name Current text
{{nations}} If you add this template to a country page by typing {{subst:nations}} and then save the page, you can edit the page next time you open it. It's too big to show an example on this page. It contains the categories: languages, capital, important cities, head of state, chief of government, area, population, independence, currency, organization, and ISO code, and the section headers general information, administration, history, geography, economy, culture, and see also.
{{SubnationalEntities}} Idem, type {{subst:SubnationalEntities}}.
{{Cities}} Idem, type {{subst:Cities}}.
{{Russian Republic}} Idem, type {{subst:Russian Republic}} (specialised version of Template:SubnationalEntities).
{{Generic}} Creates a similar table, but one that should be hand-filled with infoboxes (no "subst:" in this case).

Infoboxes

Infoboxes are small templates that can be incorporated into bigger templates. Practically, they consist of the coding for one or two cells within a table. Their purpose is to make it easier for a user to apply templates.

Name Usage Example
{{start infobox}}

{{start infobox|name=NOMBRE<br>NAME}}
{{generic infobox|title=VARIABLE|value=VALUE}}
{{close infobox}}

NOMBRE
NAME
VARIABLE: VALUE
{{generic infobox}}
{{close infobox}}
{{shortname infobox}} {{shortname infobox|vernacular=CORTO|english=SHORT}}
NaciĆ³n con un nombre largo
Nation with a long name
Conventional short name:
Local: CORTO
English: SHORT
{{image infobox}} {{image infobox|file=Flag.png|caption=CAPTION}}
CAPTION
{{2flags infobox}} {{2flags infobox|file1=Flag.png|caption1=CAPTION1| file2=Flag.png|caption2=CAPTION2}}
CAPTION1
CAPTION1
CAPTION2
CAPTION2
{{area infobox}} {{area infobox|area=AREA}}
Area: AREA
{{cities infobox}} {{cities infobox|capital=CAPITAL CITY|largest=LARGEST CITY|other=OTHER CITIES}}
Cities:  
 Capital: CAPITAL CITY
 Largest: LARGEST CITY
 Other: OTHER CITIES
{{cities2 infobox}} {{cities2 infobox|capital=CAPITAL CITY|other=OTHER CITIES}}
Cities:  
 Capital: CAPITAL CITY
 Other: OTHER CITIES
{{currency infobox}} {{currency infobox|currency=CURRENCY}}
Currency: CURRENCY
{{entity infobox}} {{entity infobox|type=Nation|where=NATION|what=Capital/Largest City/Main Port/etc.}}
Nation
NATION Capital/Largest City/Main Port/etc.
{{establishment infobox}} {{establishment infobox|year=YEAR|reason=DECREE OR REASON}}
Established: YEAR, DECREE OR REASON
{{independence infobox}} {{independence infobox|from=RULING NATION|dec_date=DATE OF DECLARATION|rec_date=DATE OF RECOGNITION}}
Independence: from RULING NATION
 Declared: DATE OF DECLARATION
 Recognized: DATE OF RECOGNITION
{{independece infobox}} {{independece infobox|from=RULING NATION|declared=DATE OF DECLARATION|recognized=DATE OF RECOGNITION}}
Independence: from RULING NATION
 Declared: DATE OF DECLARATION
 Recognized: DATE OF RECOGNITION
{{independence2 infobox}} {{independence2 infobox|from=RULING NATION|date=DATE}}
Independence: from RULING NATION
 Date: DATE
{{lang1 infobox}} {{lang1 infobox|language=LANGUAGE}}
Language: LANGUAGE
{{lang2 infobox}} {{lang2 infobox|official=OFFICIAL LANGUAGE|others=OTHER LANGUAGES}}
Languages:  
 Official: OFFICIAL LANGUAGE
 Others: OTHER LANGUAGES
{{location infobox}} {{location infobox|file=IMAGE.PNG|caption=Location of ... in ...}}
Location of ... in ...
Location of ... in ...
{{motto infobox}} {{motto infobox|motto=THE MOTTO!}}
National motto: THE MOTTO!
{{motto2 infobox}} {{motto2 infobox|motto=THE MOTTO!}}
Motto: THE MOTTO!
{{organization infobox}} {{organization infobox|organization=SUPRANATIONAL ORGANIZATIONS}}<
Organizations: SUPRANATIONAL ORGANIZATIONS
{{population infobox}} {{population infobox|population=POPULATION|adjective=ADJECTIVE}}
Population: POPULATION ADJECTIVE
{{ruler infobox}} {{ruler infobox|title=RULER|name=NAME}}
RULER: NAME
{{ruler2 infobox}} {{ruler2 infobox|title=RULER|name=NAME}}
RULER: NAME
{{sports infobox}} {{sports infobox|state=STATE SPORT|other=OTHER SPORTS}}
Sports:  
 State sport: STATE SPORT
 Other: OTHER SPORTS
{{sub infobox}} {{sub infobox|nation=[[Template:Nations|NATION]]}}
Subdivision of: NATION

Personal tools
discussion