Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox position: Difference between revisions

Template page
Blossom (talk | contribs)
Created page with "<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;"> <table style="width: 100%; border: none;"> <tr> <th colspan="2" style="background: #e9e9e9; text-align: center;">{{{position|}}}</th> </tr> <tr> <td colspan="2" style="text-align: center;"> {{#if: {{{logo|}}} | [[File:{{{logo}}}|thumb|150px|center]] }}..."
 
Blossom (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
     <table style="width: 100%; border: none;">
     <table style="width: 100%; border: none;">
         <tr>
         <tr>
             <th colspan="2" style="background: #e9e9e9; text-align: center;">{{{position|}}}</th>
             <th colspan="2" style="background: #e9e9e9; text-align: center;">{{{post|}}}</th>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center;">
                {{#if: {{{logo|}}} | [[File:{{{logo}}}|thumb|150px|center]] }}
            </td>
         </tr>
         </tr>
        {{#if: {{{logo|}}}
            | <tr>
                <td colspan="2" style="text-align: center;">
                    [[File:{{{logo}}}|thumb|150px|center]]
                </td>
            </tr>
        }}
         {{#if: {{{logo_caption|}}}  
         {{#if: {{{logo_caption|}}}  
             | <tr>
             | <tr>
                 <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{logo_caption}}}</td>
                 <td colspan="2" style="text-align: center; font-style: italic;">{{{logo_caption}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{screenshot|}}}  
         {{#if: {{{image|}}}  
             | <tr>
             | <tr>
                 <td colspan="2" style="text-align: center;">
                 <td colspan="2" style="text-align: center;">
                     [[File:{{{screenshot}}}|thumb|200px|center]]
                     [[File:{{{image}}}|thumb|{{{imagesize|150px}}}|center]]
                 </td>
                 </td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{screenshot_caption|}}}  
         {{#if: {{{imagecaption|}}}
            | <tr>
                <td colspan="2" style="text-align: center; font-style: italic;">{{{imagecaption}}}</td>
            </tr>
        }}
        {{#if: {{{native_name|}}}  
             | <tr>
             | <tr>
                 <td colspan="2" style="text-align: center; font-style: italic;">{{{screenshot_caption}}}</td>
                 <th style="text-align: left;">Native Name</th>
                <td>{{{native_name}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{url|}}}  
         {{#if: {{{incumbent|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">URL</th>
                 <th style="text-align: left;">Incumbent</th>
                 <td>[{{{url}}} {{{url}}}]</td>
                 <td>{{{incumbent}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{commercial|}}}  
         {{#if: {{{acting|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Commercial</th>
                 <th style="text-align: left;">Acting</th>
                 <td>{{{commercial}}}</td>
                 <td>{{{acting}}}</td>
            </tr>
        }}
        {{#if: {{{incumbentsince|}}}
            | <tr>
                <th style="text-align: left;">Incumbent Since</th>
                <td>{{{incumbentsince}}}</td>
            </tr>
        }}
        {{#if: {{{department|}}}
            | <tr>
                <th style="text-align: left;">Department</th>
                <td>{{{department}}}</td>
            </tr>
        }}
        {{#if: {{{style|}}}
            | <tr>
                <th style="text-align: left;">Style</th>
                <td>{{{style}}}</td>
             </tr>
             </tr>
         }}
         }}
Line 44: Line 70:
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{language|}}}  
         {{#if: {{{status|}}}
            | <tr>
                <th style="text-align: left;">Status</th>
                <td>{{{status}}}</td>
            </tr>
        }}
        {{#if: {{{abbreviation|}}}
            | <tr>
                <th style="text-align: left;">Abbreviation</th>
                <td>{{{abbreviation}}}</td>
            </tr>
        }}
        {{#if: {{{member_of|}}}
            | <tr>
                <th style="text-align: left;">Member of</th>
                <td>{{{member_of}}}</td>
            </tr>
        }}
        {{#if: {{{reports_to|}}}
            | <tr>
                <th style="text-align: left;">Reports to</th>
                <td>{{{reports_to}}}</td>
            </tr>
        }}
        {{#if: {{{residence|}}}
            | <tr>
                <th style="text-align: left;">Residence</th>
                <td>{{{residence}}}</td>
            </tr>
        }}
        {{#if: {{{seat|}}}
            | <tr>
                <th style="text-align: left;">Seat</th>
                <td>{{{seat}}}</td>
            </tr>
        }}
        {{#if: {{{nominator|}}}
            | <tr>
                <th style="text-align: left;">Nominator</th>
                <td>{{{nominator}}}</td>
            </tr>
        }}
        {{#if: {{{appointer|}}}
            | <tr>
                <th style="text-align: left;">Appointer</th>
                <td>{{{appointer}}}</td>
            </tr>
        }}
        {{#if: {{{appointer_qualified|}}}
            | <tr>
                <th style="text-align: left;">Appointer Qualified</th>
                <td>{{{appointer_qualified}}}</td>
            </tr>
        }}
        {{#if: {{{termlength|}}}
            | <tr>
                <th style="text-align: left;">Term Length</th>
                <td>{{{termlength}}}</td>
            </tr>
        }}
        {{#if: {{{termlength_qualified|}}}
            | <tr>
                <th style="text-align: left;">Term Length Qualified</th>
                <td>{{{termlength_qualified}}}</td>
            </tr>
        }}
        {{#if: {{{constituting_instrument|}}}
            | <tr>
                <th style="text-align: left;">Constituting Instrument</th>
                <td>{{{constituting_instrument}}}</td>
            </tr>
        }}
        {{#if: {{{precursor|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Language</th>
                 <th style="text-align: left;">Precursor</th>
                 <td>{{{language}}}</td>
                 <td>{{{precursor}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{owner|}}}  
         {{#if: {{{inaugural|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Owner</th>
                 <th style="text-align: left;">Inaugural</th>
                 <td>{{{owner}}}</td>
                 <td>{{{inaugural}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{created_by|}}}  
         {{#if: {{{formation|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Created By</th>
                 <th style="text-align: left;">Formation</th>
                 <td>{{{created_by}}}</td>
                 <td>{{{formation}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{author|}}}  
         {{#if: {{{first|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Author</th>
                 <th style="text-align: left;">First</th>
                 <td>{{{author}}}</td>
                 <td>{{{first}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{registration|}}}  
         {{#if: {{{last|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Registration</th>
                 <th style="text-align: left;">Last</th>
                 <td>{{{registration}}}</td>
                 <td>{{{last}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{launched|}}}  
         {{#if: {{{abolished|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Launched</th>
                 <th style="text-align: left;">Abolished</th>
                 <td>{{{launched}}}</td>
                 <td>{{{abolished}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{current_status|}}}  
         {{#if: {{{superseded_by|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Current Status</th>
                 <th style="text-align: left;">Superseded By</th>
                 <td>{{{current_status}}}</td>
                 <td>{{{superseded_by}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{headquarters|}}}  
         {{#if: {{{succession|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Headquarters</th>
                 <th style="text-align: left;">Succession</th>
                 <td>{{{headquarters}}}</td>
                 <td>{{{succession}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{revenue|}}}  
         {{#if: {{{unofficial_names|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Revenue</th>
                 <th style="text-align: left;">Unofficial Names</th>
                 <td>{{{revenue}}}</td>
                 <td>{{{unofficial_names}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{users|}}}  
         {{#if: {{{deputy|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Users</th>
                 <th style="text-align: left;">Deputy</th>
                 <td>{{{users}}}</td>
                 <td>{{{deputy}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{website_rank|}}}  
         {{#if: {{{salary|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Website Rank</th>
                 <th style="text-align: left;">Salary</th>
                 <td>{{{website_rank}}}</td>
                 <td>{{{salary}}}</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{edition|}}}  
         {{#if: {{{website|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">Edition</th>
                 <th style="text-align: left;">Website</th>
                 <td>{{{edition}}}</td>
                 <td>[{{{website}}} {{{website}}}]</td>
             </tr>
             </tr>
         }}
         }}
         {{#if: {{{license|}}}  
         {{#if: {{{footnotes|}}}  
             | <tr>
             | <tr>
                 <th style="text-align: left;">License</th>
                 <th style="text-align: left;">Footnotes</th>
                 <td>{{{license}}}</td>
                 <td>{{{footnotes}}}</td>
             </tr>
             </tr>
         }}
         }}
     </table>
     </table>
</div>
</div>

Latest revision as of 20:31, 10 February 2025