Template:Infobox country: Difference between revisions

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
imported>Mowgli
m (rvt (vandalism))
imported>Mn712
No edit summary
Line 1: Line 1:
<!----LIST----
 
 
This is a LIST of all fields in the template below in a chronological order (which is also the order in which they will appear regardless of the order in which you assign the fields/variables when using the template). PLEASE NOTE THAT ALL FIELDS ARE CASE SENSITIVE and you should use them exactly as they appear below:
 
 
|native_name = (mandatory)
 
|conventional_long_name = (mandatory)
 
|common_name = (mandatory)
 
|image_flag = (mandatory image)
 
|image_coat = (mandatory image)
 
|national_motto = (mandatory)
 
|national_anthem = (mandatory)
 
|capital = (mandatory)
 
|previous_capital = (optional)
 
|largest_city = (mandatory)
 
|official_languages = (mandatory)
 
|government_type = (mandatory)
 
|leader_titles (used with leader_names) = (optional - fill both)
 
|leader_title1 (used with leader_name1) = (optional - fill both)
 
|leader_title2 (used with leader_name2) = (optional - fill both)
 
|leader_title3 (used with leader_name3) = (optional - fill both)
 
|leader_title4 (used with leader_name4) = (optional - fill both)
 
|favourite_object_title(used with favourite_object_name)=(wildcard)
 
|favourite_object_title1(used with favourite_object_name1)=(wildcard)
 
|favourite_object_title2(used with favourite_object_name2)=(wildcard)
 
|favourite_object_title3(used with favourite_object_name3)=(wildcard)
 
|favourite_object_title4(used with favourite_object_name4)=(wildcard)
 
|national_heros = (mandatory)
 
|Independence OR Formation (Declaration of)= (mandatory - choose one)
 
|Currency = (mandatory)
 
|Religion = (mandatory)
 
|population = (mandatory)
 
|area = (optional)
 
|population_density = (optional)
 
|ethnic_groups = (optional)
 
|major_exports = (optional)
 
|major_imports = (optional)
 
|wildcard_title = (used with wildcard_name) (wildcard - fill both)
 
|wildcard_title1 = (used with wildcard_name1) (wildcard - fill both
 
|wildcard_title2 = (used with wildcard_name2) (wildcard - fill both)
 
|wildcard_title3 = (used with wildcard_name3) (wildcard - fill both)
 
|national_animal = (optional)
 
|favourite_pastime = (optional)
 
|Opening_Hours = (optional)
 
|internet_tld = (optional)
 
|calling_code = (optional)
 
 
 
------------END OF LIST---------->
 
 
 
{| class="toccolours" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width:200px; border-collapse: collapse; font-size: 95%; clear: right"
 
|+ style="margin-left: inherit; font-size: medium;" | '''{{{native_name}}}'''<br>''' ''{{{conventional_long_name}}}'' '''<br>'''{{{common_name}}}'''
 
|-
 
| align=center colspan="2" |
 
{| style="background: none;"
 
|- align=center
 
| {{{image_flag}}}
 
| {{{image_coat}}}
 
|- align=center
 
| <small>([[Flag]])</small>
 
| <small>([[Symbol|Coat of Arms]])</small>
 
|}
 
|- align=center style="vertical-align: top;"
 
| style="font-size:95%" colspan="2" | [[Motto]]: {{{national_motto}}}
 
|- align=center style="vertical-align: top;"
 
| style="font-size:95%" colspan="2" | [[Anthem]]: {{{national_anthem}}}
 
|- align=center
 
| colspan="2" style="background:#ffffff;" |{{{image_map}}}
 
|-
 
|- style="vertical-align: top;"
 
| '''[[Capital]]'''
 
| {{{capital}}}
 
|- style="vertical-align: top;"
 
|-
 
{{#if:{{{previous_capital|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Capital|Previous capital]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{previous_capital}}} }}
 
|- style="vertical-align: top;"
 
|-
 
|- style="vertical-align: top;"
 
| '''[[City|Largest&nbsp;city]]'''
 
| {{{largest_city}}}
 
|- style="vertical-align: top;"
 
| '''[[Language|Official languages]]'''
 
| {{{official_languages}}}
 
|- style="vertical-align: top;"
 
| '''[[Government]]'''
 
| {{{government_type}}}
 
|- style="vertical-align: top;"
 
|-
 
{{#if:{{{leader_titles|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_titles}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_names}}} }}
 
|-
 
{{#if:{{{leader_title1|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_title1}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_name1}}} }}
 
|-
 
{{#if:{{{leader_title2|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_title2}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_name2}}} }}
 
|-
 
{{#if:{{{leader_title3|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_title3}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_name3}}} }}
 
|-
 
{{#if:{{{leader_title4|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_title4}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_name4}}} }}
 
|-
 
{{#if:{{{leader_title5|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;-{{{leader_title5}}}
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{leader_name5}}} }}
 
|-
 
{{#if:{{{favourite_object_title|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{favourite_object_title}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_object_name}}} }}
 
|-
 
{{#if:{{{favourite_object_title1|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{favourite_object_title1}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_object_name1}}} }}
 
|-
 
{{#if:{{{favourite_object_title2|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{favourite_object_title2}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_object_name2}}} }}
 
|-
 
{{#if:{{{favourite_object_title3|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{favourite_object_title3}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_object_name3}}} }}
 
|-
 
{{#if:{{{favourite_object_title4|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{favourite_object_title4}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_object_name4}}} }}
 
|-
 
|- style="vertical-align: top;"
 
|style="white-space: nowrap;" |'''[[Hero|National Hero(es)]]'''
 
| {{{national_heros}}}
 
|- style="vertical-align: top;"
 
| '''[[Republic|Declaration]]'''{{#if:{{{Independence|}}}|<br>of&nbsp;[[Independence]]
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{Independence}}} }}{{#if:{{{Formation|}}}
 
|<br>of&nbsp;[[Republic|Formation]]
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{Formation}}} }}
 
|-
 
|- style="vertical-align: top;"
 
| '''[[Currency]]'''
 
| {{{currency}}}
 
|- style="vertical-align: top;"
 
| '''[[Religion]]'''
 
| {{{religion}}}
 
|- style="vertical-align: top;"
 
{{#if:{{{population|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Population]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{population}}} }}
 
|-
 
{{#if:{{{area|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Area]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{area}}} }}
 
|-
 
{{#if:{{{population_density|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Density|Population density]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{population_density}}} }}
 
|-
 
{{#if:{{{ethnic_groups|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Ethnicity|Ethnic groups]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{ethnic_groups}}} }}
 
|-
 
{{#if:{{{major_exports|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Economy|Major exports]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{major_exports}}} }}
 
|-
 
{{#if:{{{major_imports|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Economy|Major imports]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{major_imports}}} }}
 
|-
 
{{#if:{{{wildcard_title|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{wildcard_title}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name}}} }}
 
|-
 
{{#if:{{{wildcard_title1|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{wildcard_title1}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name1}}} }}
 
|-
 
{{#if:{{{wildcard_title2|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp; '''{{{wildcard_title2}}}'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{wildcard_name2}}} }}
 
|-
 
{{#if:{{{national_animal|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Animal|National animal]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{national_animal}}} }}
 
|-
 
{{#if:{{{favourite_pastime|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Game|Favourite pastime]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{favourite_pastime}}} }}
 
|-
 
{{#if:{{{Opening_Hours|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Time|Opening hours]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{Opening_Hours}}} }}
 
|-
 
{{#if:{{{internet_tld|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Internet|Internet TLD]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{internet_tld}}} }}
 
|-
 
{{#if:{{{calling_code|}}} |
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} &nbsp;'''[[Banana Phone|Calling code]]'''
 
{{!}} style="padding:0 1em 0.2em 0; text-align:left; vertical-align:top" {{!}} {{{calling_code}}} }}
 
|-
 
| colspan="2" style="text-align:right" |<small><small>[http://uncyclopedia.org/wiki/Template:Infobox_Country edit]</small></small>
 
|}
 
<noinclude>
 
[[Image:Stop_hand.png|35px]]
 
 
This is the infobox's template page. If you've been redirected here from another page, this is NOT where you can edit the infobox of the page you've arrived here from. If you wished to edit the infobox (and not the template), click your browser's "back" button and "edit" that page. However, you might want to read the following information, useful for editing all infoboxes using this template:
 
 
'''How to use this infobox:'''
 
The fields appearing on the right are all mandatory fields that must be filled or else the infobox will show <nowiki>{{{field_name}}}</nowiki> when used. There are several optional fields (like "population" and "internet_tld") qualified by the "IF" qualifier in the code. You can peruse the code to see if the '''new''' field you want is already there. All the fields available (including the optional ones) are listed [http://uncyclopedia.org/index.php?title=Template:Infobox_Country&action=edit here]. There are three wildcard fields which you can use to create up to three new fields. For example, if you wished to create the field '''"Accession to [[EU]]"''' and the data ''' "1976"''' associated with it, you would add this when invoking the template in your relevant page:
 
 
{|style="border:1px solid #aaa; background-color: #F9F9F9; padding:0px; font-size:0.9em;"
 
|
 
:<nowiki>{{Infobox Country|</nowiki>
 
:::.
 
:::.
 
:::.
 
:|wildcard_title = Accession to <nowiki>[[EU]]</nowiki>
 
:|wilcard_name = 1976
 
:::.
 
:::.
 
:}}
 
|}
 
 
Note that "favourite_object_title#" (used with "favourite_object_name#") are also wildcard fields - just that they appear (& print) earlier in the template. There are five of them. Thus, in all, there are '''eight''' wildcards.
 
 
Also note that you have to choose between "Independence" and "Formation" - you cannot choose both.
 
 
Again, peruse the template and try to get familiar with it. Use "preview" to test. If you still wish to add a field, edit the template using copy & paste to add the code for your new field with an "IF" qualifier. Make sure you use the "IF" qualifier or else your edit might disturb all pages using this template. Finally, add the name of the field you have created to the list at the top of the page.
 
 
'''Important note:''' The object behind this template is to avoid multiplicity of single-use templates (i.e. one for each nation/country/imaginary-space); towards this end this template has been made as versatile as possible without making it too complicated for visitors ([[tourist|touring]] [[wikipedians]]).
 
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 

Revision as of 10:18, 20 November 2006