Jump to content

Template:FlagAndArms: Difference between revisions

From SeptemWiki
Created page with "<table style="align:center;text-align:center;background: none; width:100%;"><tr> <td style="width: 50%; vertical-align: middle; text-align:center;">File:{{{flag}}}|125px|{{#..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="align:center;text-align:center;background: none; width:100%;"><tr>
<table style="align:center;text-align:center;background: none; width:100%;"><tr>
<td style="width: 50%; vertical-align: middle; text-align:center;">[[File:{{{flag}}}|125px|{{#if: {{{flagalt|}}} |alt={{{flagalt}}}}}|Flag of {{{Name}}}]]</td>
<td style="width: 50%; padding:1ex; vertical-align: middle; text-align:center;">[[File:{{{flag}}}|125px|{{#if: {{{flagalt|}}} |alt={{{flagalt}}}}}|Flag of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]</td>
<td style="width: 50%; vertical-align: middle; text-align:center;">[[File:{{{arms}}}|85px|{{#if:{{{armsalt|}}} |alt={{{armsalt}}}}}|Arms of {{{Name}}}]]</td>
<td style="width: 50%; padding:1ex; vertical-align: middle; text-align:center;">[[File:{{{arms}}}|85px|{{#if:{{{armsalt|}}} |alt={{{armsalt}}}}}|Arms of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]</td>
</tr><tr style="font-size: 83%;">
</tr><tr style="font-size: 83%;">
<td style="width:50%;text-align:center;">{{{flaglink|[[Flag of {{{Name}}}|Flag]]}}}</td>
<td style="width:50%;text-align:center;">{{{flaglink|[[Flag of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|Flag]]}}}</td>
<td style="width:50%;text-align:center;">{{{armslink|[[Arms of {{{Name}}}|Arms]]}}}</td>
<td style="width:50%;text-align:center;">{{{armslink|[[Arms of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|Arms]]}}}</td>
</tr></table>
</tr></table><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:45, 9 April 2016

[[File:{{{flag}}}|125px||Flag of FlagAndArms]] [[File:{{{arms}}}|85px||Arms of FlagAndArms]]
Flag Arms
Documentation for Template:FlagAndArms[view] [edit] [history]

This displays the flag and arms of an entity side by side in a table, to be included in an infobox. The parameters are:

  • flag for the flag file
  • arms for the arms file
  • name for the name of the entity, for the alt text and links. Derived from the name of the page, if not provided.
  • flagalt, armsalt for custom text, if desired. "Flag of (name)" and "Arms of (name)" by default.
  • flaglink, armslink for custom link destinations, if desired. Defaults are same as the alt text.
{{FlagAndArms|flag=Triparia flag.png|arms=Triparia arms.png|name=Triparia}}
Flag of Triparia Arms of Triparia
Flag Arms


Pages that use this Template
Templates that use this Template