Toggle menu
36
1.4K
5
6.1K
The Rick Hernia Omniverse Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Country (FINAL): Difference between revisions

Template page
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<infobox>
{| class="wikitable infobox" style="float:right; clear:right; margin:0 0 1em 1em; width:250px; font-size:90%;"
  <title source="title1">
|-
    <default>{{PAGENAME}}</default>
! colspan="2" style="text-align:center; font-size:125%; background:#cee0f2;" |
  </title>
{{#if:{{{title1|}}}|{{{title1}}}|{{PAGENAME}}}}
  <image source="image1">
{{#if:{{{image1|}}}|
    <caption source="caption-image1"/>
|-
  </image>
| colspan="2" style="text-align:center;" |
  <image source="image2">
[[File:{{{image1}}}|250px]]
    <caption source="caption-image2"/>
{{#if:{{{caption-image1|}}}|<br/><small>{{{caption-image1}}}</small>|}}
  </image>
|}}
  <data source="national_anthem">
{{#if:{{{image2|}}}|
    <label>National Anthem</label>
|-
  </data>
| colspan="2" style="text-align:center;" |
  <data source="capital">
[[File:{{{image2}}}|250px]]
    <label>Capital</label>
{{#if:{{{caption-image2|}}}|<br/><small>{{{caption-image2}}}</small>|}}
  </data>
|}}
  <data source="largest_city">
{{#if:{{{national_anthem|}}}|
    <label>Largest city</label>
|-
  </data>
! style="text-align:left; background:#ddeeff;" | National Anthem
  <data source="national_language">
| {{{national_anthem}}}
    <label>National language</label>
|}}
  </data>
{{#if:{{{capital|}}}|
  <data source="religion">
|-
    <label>Religion</label>
! style="text-align:left; background:#ddeeff;" | Capital
  </data>
| {{{capital}}}
  <data source="demonym(s)">
|}}
    <label>Demonym(s)</label>
{{#if:{{{largest_city|}}}|
  </data>
|-
  <data source="government">
! style="text-align:left; background:#ddeeff;" | Largest city
    <label>Government</label>
| {{{largest_city}}}
  </data>
|}}
  <data source="total_area">
{{#if:{{{national_language|}}}|
    <label>Total area</label>
|-
  </data>
! style="text-align:left; background:#ddeeff;" | National language
  <data source="population">
| {{{national_language}}}
    <label>Population</label>
|}}
  </data>
{{#if:{{{religion|}}}|
  <data source="currency">
|-
    <label>Currency</label>
! style="text-align:left; background:#ddeeff;" | Religion
  </data>
| {{{religion}}}
</infobox>
|}}
{{#if:{{{demonym(s)|}}}|
|-
! style="text-align:left; background:#ddeeff;" | Demonym(s)
| {{{demonym(s)}}}
|}}
{{#if:{{{government|}}}|
|-
! style="text-align:left; background:#ddeeff;" | Government
| {{{government}}}
|}}
{{#if:{{{total_area|}}}|
|-
! style="text-align:left; background:#ddeeff;" | Total area
| {{{total_area}}}
|}}
{{#if:{{{population|}}}|
|-
! style="text-align:left; background:#ddeeff;" | Population
| {{{population}}}
|}}
{{#if:{{{currency|}}}|
|-
! style="text-align:left; background:#ddeeff;" | Currency
| {{{currency}}}
|}}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
== Usage ==
Example usage:
Example usage:
<pre>
<pre>
{{Country (FINAL)
{{Country (FINAL)
   | title1=Example
   | title1=Example
 
   | image1=Example.png
   | image1=Example
   | caption-image1=Example caption
 
   | image2=Example2.png
   | caption1=Example
   | caption-image2=Example caption 2
 
   | image2=Example
 
   | caption2=Example
 
   | national_anthem=Example
   | national_anthem=Example
   | capital=Example
   | capital=Example
   | largest_city=Example
   | largest_city=Example
   | national_language=Example
   | national_language=Example
   | religion=Example
   | religion=Example
   | demonym(s)=Example
   | demonym(s)=Example
   | government=Example
   | government=Example
   | total_area=Example
   | total_area=Example
   | population=Example
   | population=Example
   | currency=Example
   | currency=Example
}}
}}
</pre>
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"image2":{"suggested":true},"caption2":{"suggested":true},"national_anthem":{"suggested":true},"capital":{"suggested":true},"largest_city":{"suggested":true},"national_language":{"suggested":true},"religion":{"suggested":true},"demonym(s)":{"suggested":true},"government":{"suggested":true},"total_area":{"suggested":true},"population":{"suggested":true},"currency":{"suggested":true}},"sets":[],"maps":{}}
{
  "params": {
    "title1": {"suggested": true, "description": "Title of the infobox, defaults to page name"},
    "image1": {"suggested": true, "description": "First image filename"},
    "caption-image1": {"suggested": true, "description": "Caption for the first image"},
    "image2": {"suggested": true, "description": "Second image filename"},
    "caption-image2": {"suggested": true, "description": "Caption for the second image"},
    "national_anthem": {"suggested": true, "description": "National anthem of the country"},
    "capital": {"suggested": true, "description": "Capital city"},
    "largest_city": {"suggested": true, "description": "Largest city"},
    "national_language": {"suggested": true, "description": "National language(s)"},
    "religion": {"suggested": true, "description": "Official or majority religion"},
    "demonym(s)": {"suggested": true, "description": "Demonym(s) for the country"},
    "government": {"suggested": true, "description": "Type of government"},
    "total_area": {"suggested": true, "description": "Total area of the country"},
    "population": {"suggested": true, "description": "Population of the country"},
    "currency": {"suggested": true, "description": "Currency used"}
  },
  "sets": [],
  "maps": {}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 13:02, 18 April 2026


Usage

Example usage:

{{Country (FINAL)
  | title1=Example
  | image1=Example.png
  | caption-image1=Example caption
  | image2=Example2.png
  | caption-image2=Example caption 2
  | national_anthem=Example
  | capital=Example
  | largest_city=Example
  | national_language=Example
  | religion=Example
  | demonym(s)=Example
  | government=Example
  | total_area=Example
  | population=Example
  | currency=Example
}}

<templatedata> {

 "params": {
   "title1": {"suggested": true, "description": "Title of the infobox, defaults to page name"},
   "image1": {"suggested": true, "description": "First image filename"},
   "caption-image1": {"suggested": true, "description": "Caption for the first image"},
   "image2": {"suggested": true, "description": "Second image filename"},
   "caption-image2": {"suggested": true, "description": "Caption for the second image"},
   "national_anthem": {"suggested": true, "description": "National anthem of the country"},
   "capital": {"suggested": true, "description": "Capital city"},
   "largest_city": {"suggested": true, "description": "Largest city"},
   "national_language": {"suggested": true, "description": "National language(s)"},
   "religion": {"suggested": true, "description": "Official or majority religion"},
   "demonym(s)": {"suggested": true, "description": "Demonym(s) for the country"},
   "government": {"suggested": true, "description": "Type of government"},
   "total_area": {"suggested": true, "description": "Total area of the country"},
   "population": {"suggested": true, "description": "Population of the country"},
   "currency": {"suggested": true, "description": "Currency used"}
 },
 "sets": [],
 "maps": {}

} </templatedata>

Contents