Jump to content

Template:FlagAndArms: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
 
Line 5: Line 5:
<td style="width:50%;text-align:center;">{{{flaglink|[[Flag of {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|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 {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|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