Template:EasyInfobox country: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
m Fixes
m Improved image finding
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox country
<includeonly>{{Infobox country
|native_name            = {{{native_name}}}{{#if: {{{native_name_language|}}} |{{Spaces|1}}([[{{{native_name_language}}} language|{{{native_name_language}}}]]) }}
|native_name            = {{{native_name}}}{{#if: {{{native_name_language|}}} |{{Spaces|1}}([[{{{native_name_language}}} language|{{{native_name_language}}}]]) }}
|image_flag            = {{#if: {{{image_flag|}}} | {{{image_flag}}} | Flag of {{{name}}}.png }}
|image_flag            = {{#if: {{{image_flag|}}} | {{{image_flag}}} | {{Find image|Flag of {{{name|{{PAGENAMEBASE}}}}}}} }}
|image_coat            = {{#if: {{{image_coat|}}} | {{{image_coat}}} | Coat of arms of {{{name}}}.png }}
|flag_caption          = {{{flag_caption|}}}
|image_coat            = {{#if: {{{image_coat|}}} | {{{image_coat}}} | {{Find image|Coat of arms of {{{name|{{PAGENAMEBASE}}}}}}} }}
|symbol_type            = [[Coat of arms of {{{name|}}}|Coat of arms]]
|map_caption            = {{#if: {{{map_caption|}}} | ''{{{map_caption}}}'' }}
|map_caption            = {{#if: {{{map_caption|}}} | ''{{{map_caption}}}'' }}
|motto                  = {{#if: {{{motto|}}} | ''{{{motto}}}'' }}
|motto                  = {{#if: {{{motto|}}} | ''{{{motto}}}'' }}
Line 30: Line 32:
|population_census      = {{{population_census}}}
|population_census      = {{{population_census}}}
|population_census_year = {{{population_census_year}}}
|population_census_year = {{{population_census_year}}}
|currency              = {{{currency}}}
|currency              = {{#if: {{{currency|}}} | [[{{{currency}}}]] }}{{#if: {{{currency_code|}}} | {{spaces|1}}({{{currency_code}}}) }}
|time_zone              = {{{time_zone}}}
|time_zone              = {{{time_zone}}}
|date_format            = {{{date_format}}}
|date_format            = {{{date_format}}}
Line 38: Line 40:
[[Category:Countries]]
[[Category:Countries]]
{{#if: {{{type|}}} | [[Category:{{{type}}}s]] }}
{{#if: {{{type|}}} | [[Category:{{{type}}}s]] }}
{{#if: {{{government_type|}}} | [[Category:{{{government_type}}}s]] }}
{{#ifeq: {{{government_type|}}} | Monarchy |
  [[Category:Monarchies]]
| {{#ifeq: {{{government_type|}}} | Theocracy |
  [[Category:Theocracies]]
|
  [[Category:{{{government_type}}}s]]
}}}}
</includeonly>
</includeonly>

Latest revision as of 13:57, 2 July 2024