Template:Infobox country/formernext: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
| style="text-align:center; border:0; padding-bottom:0"|<div id="before-after"></div> {{#if:{{{p1|}}}|'''Preceded by'''}} || style="text-align:center;border:0; padding-bottom:0;"| {{#if:{{{s1|}}}|'''Succeeded by'''}} | | style="text-align:center; border:0; padding-bottom:0"|<div id="before-after"></div> {{#if:{{{p1|}}}|'''Preceded by'''}} || style="text-align:center;border:0; padding-bottom:0;"| {{#if:{{{s1|}}}|'''Succeeded by'''}} | ||
|- | |- | ||
| style="vertical-align:top; text-align:center; border:0;"| {{#if:{{{p1|}}} | <!--start subtable:-->{{{! | | style="vertical-align:top; text-align:center; border:0;"| {{#if:{{{p1|}}} | <!--start subtable:-->{{{!}} style="width:100%; background: transparent; text-align:center; margin:0 auto; border:0;" | ||
{{!}}- | {{!}}- | ||
{{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|20px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Blank.png|22px|link=|alt=]]}}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|20px{{#ifeq:{{{border_p1}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Blank.png|22px|link=|alt=]]}}}} | ||
Line 66: | Line 66: | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| style="vertical-align:top; text-align:center;border:0;"| {{#if:{{{s1|}}} | <!--start subtable:-->{{{! | | style="vertical-align:top; text-align:center;border:0;"| {{#if:{{{s1|}}} | <!--start subtable:-->{{{!}} style="width:92%; background:transparent; text-align:center; margin:0 auto; border:0;" | ||
{{!}}- | {{!}}- | ||
{{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{link_s1|{{{s1}}}}}}|{{{s1}}}]] | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{link_s1|{{{s1}}}}}}|{{{s1}}}]] | ||
Line 116: | Line 116: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{s13|}}} | | {{#if:{{{s13|}}} | | ||
{{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{link_s13|{{{s13}}}}}}|{{{s13}}} | {{!}}style="border:0; padding:0; vertical-align:middle; text-align:right;"{{!}} [[{{{link_s13|{{{s13}}}}}}|{{{s13}}}]] | ||
{{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s13|}}}|[[File:{{{flag_s13}}}|20px{{#ifeq:{{{border_s13}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s13|}}}|{{{image_s13}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} | {{!}}style="border:0; padding:0; vertical-align:middle;"{{!}} {{#if:{{{flag_s13|}}}|[[File:{{{flag_s13}}}|20px{{#ifeq:{{{border_s13}}}|no||{{!}}border}}|link=|alt=]]|{{#if:{{{image_s13|}}}|{{{image_s13}}}|[[File:Blank.png|22px|link=|alt=]]}}}}}} | ||
{{!}}- | {{!}}- |
Latest revision as of 13:47, 3 September 2022
Template documentation
This subtemplate is used to simplify the code of {{infobox country}}. It should not be used directly.