Template:Infobox country/formernext: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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="width:100%; background: transparent; text-align:center; margin:0 auto; border:0;" | | 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="width:92%; background:transparent; text-align:center; margin:0 auto; border:0;" | | 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}}}]] |
Revision as of 13:39, 3 September 2022
Template documentation
This subtemplate is used to simplify the code of {{infobox country}}. It should not be used directly.