Template:Infobox Country: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(Changing to make use of Template:Infobox. Have been playing with this at User:Caesar_Schinas/Template:Infobox_Country and think it's now ready for prime time...)
(Undo revision 977957 by Goh Kok Keong (talk))
Tag: Undo
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
| title    = {{#if: {{{native_name|}}} | {{{native_name}}} }} {{#if:{{{native_name|}}}|{{#if:{{{conventional_long_name|}}}|<br/>}}}} {{{conventional_long_name|}}}
| title    = {{{name|{{{conventional_long_name|{{{native_name|{{PAGETITLE}} }}} }}} }}}
| subtitle = {{#ifeq:{{{name|{{{conventional_long_name|{{{native_name|{{PAGETITLE}} }}} }}} }}}|{{{native_name|}}}||{{{native_name|}}} }}


| 1_data  = {{#if:{{{image_flag|}}}|[[Image:{{{image_flag}}}|200x90px]]}} {{#if:{{{image_flag|}}}|{{#if:{{{image_coat|}}}|&nbsp;&nbsp;&nbsp;}} }} {{#if:{{{image_coat|}}}|[[Image:{{{image_coat}}}|100x100px]]}}
| 1_data   = {{#if: {{{image_map|}}} | [[Image:{{{image_map}}}|300px]] }}
| 1_datastyle = text-align:center; padding:1em;
| 1_datastyle = text-align:center; padding:0.5em;
 
| 2_data   = {{#if:{{{image_flag|}}}|[[Image:{{{image_flag}}}|200x90px]]}} {{#if:{{{image_flag|}}}|{{#if:{{{image_coat|}}}|&nbsp;&nbsp;&nbsp;}} }} {{#if:{{{image_coat|}}}|[[Image:{{{image_coat}}}|100x100px]]}}
| 2_datastyle = text-align:center; padding:1em;


| 3_label  = Motto
| 3_label  = Motto
Line 11: Line 15:
| 4_label  = National anthem
| 4_label  = National anthem
| 4_data  = {{{national_anthem|}}}
| 4_data  = {{{national_anthem|}}}
| 5_data  = {{#if: {{{image_map|}}} | [[Image:{{{image_map}}}]] }}


| 6_label  = Capital {{#ifeq:{{{capital|}}}|{{{largest_city|}}}|(and largest city)}}
| 6_label  = Capital {{#ifeq:{{{capital|}}}|{{{largest_city|}}}|(and largest city)}}

Latest revision as of 23:12, 8 September 2024

No documentation has yet been written for this template. Create Documentation