Jump to content

Template:FlagAndArms/doc: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
Line 3: Line 3:
* {{c|flag}} for the flag file
* {{c|flag}} for the flag file
* {{c|arms}} for the arms file
* {{c|arms}} for the arms file
* {{c|name}} for the name of the entity, for the alt text.  Derived from the name of the page, if not provided.
* {{c|name}} for the name of the entity, for the alt text and links.  Derived from the name of the page, if not provided.
* {{c|flagalt, armsalt}} for custom text, if desired.
* {{c|flagalt, armsalt}} for custom text, if desired.  "Flag of (name)" and "Arms of (name)" by default.
* {{c|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=Kingdom of Triparia}}
{{FlagAndArms|flag=Triparia flag.png|arms=Triparia arms.png|name=Kingdom of Triparia}}

Revision as of 19:51, 9 April 2016

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.
Flag of Kingdom of Triparia Arms of Kingdom of Triparia
Flag Arms