Jump to content

Template:Infobox Country/sandbox: Difference between revisions

From Joint Security Area
No edit summary
added new parameter to the govt. section conditional + im giving up on the subtext
 
(28 intermediate revisions by the same user not shown)
Line 15: Line 15:
     <!-- FLAG AND EMBLEM -->
     <!-- FLAG AND EMBLEM -->
     <tr>
     <tr>
         <td colspan="2" style="text-align: center; padding: 8px 0; border-bottom: 1px solid #a2a9b1;">
         <td colspan="2" style="text-align: center; padding: 8px 0; border-bottom: 1px solid #a2a9b1; border-top: none !important; border-left: none !important; border-right: none !important; background: transparent !important;">
             <table style="width: 100%; text-align: center; border-spacing: 0;">
             <table style="width: 100%; text-align: center; border-spacing: 0; border: none !important; background: transparent !important;">
                 <tr>
                 <tr>
                     <!-- FLAG -->
                     <!-- FLAG -->
                     <td style="width: 50%; vertical-align: top;">
                     <td style="width: 50%; vertical-align: top; border: none !important; background: transparent !important; padding: 0;">
                         {{#if: {{{flag|}}} |
                         {{#if: {{{flag|}}} |
                         <div style="border: 1px solid #a2a9b1; background: #fff; width: 120px; height: 80px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 auto;">
                         <div style="display: inline-block;">
                            [[File:{{{flag}}}|118px|center]]
                            <div style="border: 1px solid #a2a9b1; display: inline-flex; justify-content: center; margin: 0 auto;">
                                [[File:{{{flag}}}|120px|center]]
                            </div>
                         </div>
                         </div>
                         }}
                         }}
                     </td>
                     </td>
                     <!-- EMBLEM -->
                     <!-- EMBLEM -->
                     <td style="width: 50%; vertical-align: top;">
                     <td style="width: 50%; vertical-align: top; border: none !important; background: transparent !important; padding: 0;">
                         {{#if: {{{emblem|}}} |
                         {{#if: {{{emblem|}}} |
                         <div style="width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 auto;">
                         <div style="display: inline-block;">
                            [[File:{{{emblem}}}|80px|center]]
                            <div style="display: inline-flex; justify-content: center; margin: 0 auto;">
                                [[File:{{{emblem}}}|80px|center]]
                            </div>
                         </div>
                         </div>
                         }}
                         }}
Line 38: Line 42:
         </td>
         </td>
     </tr>
     </tr>
 
    <!-- SUBTEXT HELLO?????? -->
    {{#if: {{{flag|}}}{{{emblem|}}} |
    <tr>
        <td style="width: 50%; text-align: center; padding: 2px 6px; vertical-align: top; border: none !important;">Flag</td>
        <td style="width: 50%; text-align: center; padding: 2px 6px; vertical-align: top; border: none !important;">Emblem</td>
    </tr>
    }}   
     <!-- ANTHEM -->
     <!-- ANTHEM -->
     {{#if: {{{anthem|}}} |
     {{#if: {{{anthem|}}} |
     <tr>
     <tr>
         <td colspan="2" style="text-align: center; padding: 2px 6px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">Anthem: {{{anthem|}}}</td>
         <td colspan="2" style="text-align: center; padding: 6px 6px; border-bottom: 1px solid #a2a9b1; font-weight: bold;">Anthem: {{{anthem|}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 50: Line 60:
     <tr>
     <tr>
         <td colspan="2" style="text-align: center; padding: 6px 0; border-top: none !important; border-left: none !important; border-right: none !important; border-bottom: 1px solid #a2a9b1 !important; background: transparent !important;">
         <td colspan="2" style="text-align: center; padding: 6px 0; border-top: none !important; border-left: none !important; border-right: none !important; border-bottom: 1px solid #a2a9b1 !important; background: transparent !important;">
             <div style="display: inline-block; border: 1px solid #a2a9b1; padding: 1px;">
             <div style="display: inline-block; padding: 1px;">
                 [[File:{{{map}}}|280px|center]]
                 [[File:{{{map}}}|240px|center]]
             </div>
             </div>
             <br /><span style="font-size: 90%;">{{{map_caption|Map}}}</span>
            {{#if: {{{map_caption|}}} |
             <div style="margin-top: 4px;">{{{map_caption|}}}</div>
            }}
         </td>
         </td>
     </tr>
     </tr>
Line 72: Line 84:
     }}
     }}
     <!-- START OF GOVERNMENT SECTION -->
     <!-- START OF GOVERNMENT SECTION -->
     {{#if: {{{gov_type|}}}{{{leader|}}}{{{premier|}}}{{{prime_minister|}}}{{{president|}}} |
     {{#if: {{{gov_type|}}}{{{leader|}}}{{{premier|}}}{{{prime_minister|}}}{{{president|}}}{{{chairman_spa|}}}{{{president_cc|}}}{{{speaker|}}}{{{chief_justice_sc|}}} |
     <tr>
     <tr>
         <th colspan="2" style="text-align: left; font-weight: bold; border-bottom: 1px solid #a2a9b1; padding: 3px 6px;">Government</th>
         <th colspan="2" style="text-align: left; font-weight: bold; border-bottom: 1px solid #a2a9b1; padding: 3px 6px;">Government</th>
Line 103: Line 115:
                     <td style="vertical-align: top; padding: 1px 0; font-weight: bold;">Chairman of the [[SPA]]</td>
                     <td style="vertical-align: top; padding: 1px 0; font-weight: bold;">Chairman of the [[SPA]]</td>
                     <td style="vertical-align: top; padding: 1px 0;">{{{chairman_spa|}}}</td>
                     <td style="vertical-align: top; padding: 1px 0;">{{{chairman_spa|}}}</td>
                </tr>
                }}
                {{#if: {{{president_cc|}}} |
                <tr>
                    <td style="vertical-align: top; padding: 1px 6px 1px 0px; font-weight: bold;">President of the Central Court</td>
                    <td style="vertical-align: top; padding: 1px 0px;">{{{president_cc|}}}</td>
                 </tr>
                 </tr>
                 }}
                 }}
Line 120: Line 138:
                 {{#if: {{{speaker|}}} |
                 {{#if: {{{speaker|}}} |
                 <tr>
                 <tr>
                     <td style="vertical-align: top; padding: 1px 0; font-weight: bold;">[[Speaker of the National Assembly]]</td>
                     <td style="vertical-align: top; padding: 1px 6px 1px 0px; font-weight: bold;">[[Speaker of the National Assembly]]</td>
                     <td style="vertical-align: top; padding: 1px 0;">{{{speaker|}}}</td>
                     <td style="vertical-align: top; padding: 1px 0px;">{{{speaker|}}}</td>
                 </tr>
                 </tr>
                 }}
                 }}
                 {{#if: {{{chief_justice_sc|}}} |
                 {{#if: {{{chief_justice_sc|}}} |
                 <tr>
                 <tr>
                     <td style="vertical-align: top; padding: 1px 0; font-weight: bold;">Chief Justice of the Supreme Court</td>
                     <td style="vertical-align: top; padding: 1px 6px 1px 0px; font-weight: bold;">Chief Justice of the Supreme Court</td>
                     <td style="vertical-align: top; padding: 1px 0;">{{{chief_justice_sc|}}}</td>
                     <td style="vertical-align: top; padding: 1px 0px;">{{{chief_justice_sc|}}}</td>
                 </tr>
                 </tr>
                 }}
                 }}              
               
             </table>
             </table>
         </td>
         </td>

Latest revision as of 01:55, 10 November 2026

Country Name