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
Created page with "<includeonly> <infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption-image1"/> </image> <image source="image2"> <caption source="caption-image2"/> </image> <data source="national_anthem"> <label>National Anthem</label> </data> <data source="capital"> <label>Capital</label> </data> <data source="largest_city"> <label>Largest city</label> </data> <data sou..."
 
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>
<includeonly>{| class="infobox" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; float: right; clear: right; margin: 0.5em 0 1em 1em; background-color: #f9f9f9; border: 1px solid #aaa; padding: 0.2em;"
<infobox>
|-
  <title source="title1">
! colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; padding: 0.2em; background-color: #e2e2e2;" | {{{title1|{{PAGENAME}}}}}
    <default>{{PAGENAME}}</default>
{{#if:{{{image1|}}}|
  </title>
{{!}}-
  <image source="image1">
{{!}} colspan="2" style="text-align: center; padding-bottom: 0.5em;" {{!}} [[File:{{{image1}}}|frameless|center|alt={{{caption1|}}}]]
    <caption source="caption-image1"/>
{{#if:{{{caption1|}}}|<div style="font-size: 90%; text-align: center; padding-top: 0.2em;">{{{caption1}}}</div>}}
  </image>
}}
  <image source="image2">
{{#if:{{{image2|}}}|
    <caption source="caption-image2"/>
{{!}}-
  </image>
{{!}} colspan="2" style="text-align: center; padding-bottom: 0.5em;" {{!}} [[File:{{{image2}}}|frameless|center|alt={{{caption2|}}}]]
  <data source="national_anthem">
{{#if:{{{caption2|}}}|<div style="font-size: 90%; text-align: center; padding-top: 0.2em;">{{{caption2}}}</div>}}
    <label>National Anthem</label>
}}
  </data>
{{#if:{{{national_anthem|}}}|
  <data source="capital">
{{!}}-
    <label>Capital</label>
! scope="row" style="padding: 0.2em; width: 35%; vertical-align: top;" {{!}} National Anthem
  </data>
{{!}} style="padding: 0.2em;" {{!}} {{{national_anthem}}}
  <data source="largest_city">
}}
    <label>Largest city</label>
{{#if:{{{capital|}}}|
  </data>
{{!}}-
  <data source="national_language">
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Capital
    <label>National language</label>
{{!}} style="padding: 0.2em;" {{!}} {{{capital}}}
  </data>
}}
  <data source="religion">
{{#if:{{{largest_city|}}}|
    <label>Religion</label>
{{!}}-
  </data>
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Largest city
  <data source="demonym(s)">
{{!}} style="padding: 0.2em;" {{!}} {{{largest_city}}}
    <label>Demonym(s)</label>
}}
  </data>
{{#if:{{{national_language|}}}|
  <data source="government">
{{!}}-
    <label>Government</label>
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} National language
  </data>
{{!}} style="padding: 0.2em;" {{!}} {{{national_language}}}
  <data source="total_area">
}}
    <label>Total area</label>
{{#if:{{{religion|}}}|
  </data>
{{!}}-
  <data source="population">
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Religion
    <label>Population</label>
{{!}} style="padding: 0.2em;" {{!}} {{{religion}}}
  </data>
}}
  <data source="currency">
{{#if:{{{demonym(s)|}}}|
    <label>Currency</label>
{{!}}-
  </data>
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Demonym(s)
</infobox>
{{!}} style="padding: 0.2em;" {{!}} {{{demonym(s)}}}
</includeonly>
}}
<noinclude>
{{#if:{{{government|}}}|
{{!}}-
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Government
{{!}} style="padding: 0.2em;" {{!}} {{{government}}}
}}
{{#if:{{{total_area|}}}|
{{!}}-
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Total area
{{!}} style="padding: 0.2em;" {{!}} {{{total_area}}}
}}
{{#if:{{{population|}}}|
{{!}}-
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Population
{{!}} style="padding: 0.2em;" {{!}} {{{population}}}
}}
{{#if:{{{currency|}}}|
{{!}}-
! scope="row" style="padding: 0.2em; vertical-align: top;" {{!}} Currency
{{!}} style="padding: 0.2em;" {{!}} {{{currency}}}
}}
|}</includeonly><noinclude>
Example usage:
Example usage:
<pre>
<pre>
{{Country (FINAL)
{{Country (FINAL)
   | title1=Example
   | title1=Example
 
   | image1=Example.jpg
   | image1=Example
 
   | caption1=Example
   | caption1=Example
 
   | image2=Example.jpg
   | image2=Example
 
   | caption2=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>

Revision as of 12:56, 18 April 2026

Example usage:

{{Country (FINAL)
  | title1=Example
  | image1=Example.jpg
  | caption1=Example
  | image2=Example.jpg
  | caption2=Example
  | 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},"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":{}} </templatedata>