Difference between revisions of "Template:CoatOfArms"

Jump to navigation Jump to search
Revisions for infobox display items
(Let's add some documentation)
(Revisions for infobox display items)
Line 10: Line 10:
<div style="line-height:1.4em; margin:0; padding:0;">
<div style="line-height:1.4em; margin:0; padding:0;">


{{#if:{{{notes|}}}|<div><b>Notes</b><br/><div style="margin-left:1em;">{{{notes}}}</div></div>}}{{#if:{{{description|}}}|<div><b>Description</b><br/><div style="margin-left:1em;">{{{description}}}</div></div>}}{{#if:{{{authority|}}}|<div><b>Authority</b><br/><div style="margin-left:1em;">{{{authority}}}</div></div>}}{{#if:{{{year_granted|}}}|<div><b>Granted</b><br/><div style="margin-left:1em;">{{{year_granted}}}</div></div>}}{{#if:{{{year_confirmed|}}}|<div><b>Confirmed</b><br/><div style="margin-left:1em;">{{{year_confirmed}}}</div></div>}}{{#if:{{{year_adopted|}}}|<div><b>Adopted</b><br/><div style="margin-left:1em;">{{{year_adopted}}}</div></div>}}{{#if:{{{years_in_use|}}}|<div><b>Years in use</b><br/><div style="margin-left:1em;">{{{years_in_use}}}</div></div>}}
{{#if:{{{notes|}}}|<div><b>Notes</b><br/><div style="margin-left:1em;">{{{notes}}}</div></div>}}
{{#if:{{{authority|}}}|<div><b>Authority</b><br/><div style="margin-left:1em;">{{{authority}}}</div></div>}}
{{#if:{{{authority_officer|}}}|<div><b>Officer</b><br/><div style="margin-left:1em;">{{{authority_officer}}}</div></div>}}


{{#if:{{{armiger|}}}|<div><b>Armiger</b><br/><div style="margin-left:1em;">{{{armiger}}}</div></div>}}{{#if:{{{coronet|}}}|<div><b>Coronet</b><br/><div style="margin-left:1em;">{{{coronet}}}</div></div>}}{{#if:{{{crest|}}}|<div><b>Crest</b><br/><div style="margin-left:1em;">{{{crest}}}</div></div>}}{{#if:{{{torse|}}}|<div><b>Torse</b><br/><div style="margin-left:1em;">{{{torse}}}</div></div>}}{{#if:{{{helm|}}}|<div><b>Helm</b><br/><div style="margin-left:1em;">{{{helm}}}</div></div>}}
{{#if:{{{grant_type|}}}|<div><b>Type</b><br/><div style="margin-left:1em;">{{{grant_type}}}</div></div>}}
{{#if:{{{grant_date|}}}|<div><b>Date</b><br/><div style="margin-left:1em;">{{{grant_date}}}</div></div>}}
{{#if:{{{year_granted|}}}|<div><b>Year</b><br/><div style="margin-left:1em;">{{{year_granted}}}</div></div>}}
{{#if:{{{year_confirmed|}}}|<div><b>Confirmed</b><br/><div style="margin-left:1em;">{{{year_confirmed}}}</div></div>}}
{{#if:{{{year_adopted|}}}|<div><b>Adopted</b><br/><div style="margin-left:1em;">{{{year_adopted}}}</div></div>}}
{{#if:{{{years_in_use|}}}|<div><b>Years in use</b><br/><div style="margin-left:1em;">{{{years_in_use}}}</div></div>}}


{{#if:{{{escutcheon|}}}|<div><b>Escutcheon</b><br/><div style="margin-left:1em;">{{{escutcheon}}}</div></div>}}{{#if:{{{supporters|}}}|<div><b>Supporters</b><br/><div style="margin-left:1em;">{{{supporters}}}</div></div>}}{{#if:{{{compartment|}}}|<div><b>Compartment</b><br/><div style="margin-left:1em;">{{{compartment}}}</div></div>}}{{#if:{{{motto|}}}|<div><b>Motto</b><br/><div style="margin-left:1em;">{{{motto}}}</div></div>}}{{#if:{{{orders|}}}|<div><b>Orders</b><br/><div style="margin-left:1em;">{{{orders}}}</div></div>}}{{#if:{{{other_elements|}}}|<div><b>Other elements</b><br/><div style="margin-left:1em;">{{{other_elements}}}</div></div>}}
{{#if:{{{armiger|}}}|<div><b>Armiger</b><br/><div style="margin-left:1em;">{{{armiger}}}</div></div>}}
 
{{#if:{{{blazon|}}}|<div><b>Blazon</b><br/><div style="margin-left:1em;">{{{blazon}}}</div></div>}}
{{#if:{{{escutcheon|}}}|<div><b>Escutcheon</b><br/><div style="margin-left:1em;">{{{escutcheon}}}</div></div>}}
 
{{#if:{{{crest|}}}|<div><b>Crest</b><br/><div style="margin-left:1em;">{{{crest}}}</div></div>}}
{{#if:{{{crest_mount|}}}|<div><b>Crest mount</b><br/><div style="margin-left:1em;">{{{crest_mount}}}</div></div>}}
 
{{#if:{{{helm|}}}|<div><b>Helm</b><br/><div style="margin-left:1em;">{{{helm}}}</div></div>}}
{{#if:{{{coronet|}}}|<div><b>Coronet</b><br/><div style="margin-left:1em;">{{{coronet}}}</div></div>}}
 
{{#if:{{{supporters|}}}|<div><b>Supporters</b><br/><div style="margin-left:1em;">{{{supporters}}}</div></div>}}
{{#if:{{{compartment|}}}|<div><b>Compartment</b><br/><div style="margin-left:1em;">{{{compartment}}}</div></div>}}
 
{{#if:{{{motto|}}}|<div><b>Motto</b><br/><div style="margin-left:1em;">{{{motto}}}</div></div>}}
{{#if:{{{crideguerre|}}}|<div><b>Cri de guerre</b><br/><div style="margin-left:1em;">{{{crideguerre}}}</div></div>}}
 
{{#if:{{{orders|}}}|<div><b>Orders</b><br/><div style="margin-left:1em;">{{{orders}}}</div></div>}}
{{#if:{{{other_elements|}}}|<div><b>Other elements</b><br/><div style="margin-left:1em;">{{{other_elements}}}</div></div>}}


{{#if:{{{banner|}}}{{{bannerimage|}}}|
{{#if:{{{banner|}}}{{{bannerimage|}}}|
Line 36: Line 61:
}}
}}


{{#if:{{{symbolism|}}}|<div><b>Symbolism</b><br/><div style="margin-left:1em;">{{{symbolism}}}</div></div>}}{{#if:{{{previous_versions|}}}|<div><b>Previous versions</b><br/><div style="margin-left:1em;">{{{previous_versions}}}</div></div>}}{{#if:{{{other_versions|}}}|<div><b>Other versions</b><br/><div style="margin-left:1em;">{{{other_versions}}}</div></div>}}
{{#if:{{{symbolism|}}}|<div><b>Symbolism</b><br/><div style="margin-left:1em;">{{{symbolism}}}</div></div>}}
{{#if:{{{description|}}}|<div><b>Description</b><br/><div style="margin-left:1em;">{{{description}}}</div></div>}}
{{#if:{{{register_entry|}}}|<div><b>Register entry</b><br/><div style="margin-left:1em;">{{{register_entry}}}</div></div>}}
 
{{#if:{{{previous_versions|}}}|<div><b>Previous versions</b><br/><div style="margin-left:1em;">{{{previous_versions}}}</div></div>}}
{{#if:{{{other_versions|}}}|<div><b>Other versions</b><br/><div style="margin-left:1em;">{{{other_versions}}}</div></div>}}


</div>
</div>
Line 43: Line 73:
<noinclude>
<noinclude>
== Template documentation ==
== Template documentation ==
This template displays a standardized infobox for coats of arms
This template displays a standardized infobox for coats of arms and related heraldic achievements.
It supports heraldic details such as escutcheon, crest, supporters, motto, and other elements.


=== Usage ===
=== Usage ===
Line 51: Line 80:
<pre>
<pre>
{{CoatOfArms
{{CoatOfArms
| name           = Example Town
| name             = Example Town
| image         = Example_coat_of_arms.svg
| image             = Example_coat_of_arms.svg
| imagesize     = 200px
| imagesize         = 200px
| notes         = Granted by Royal Decree
| notes             = Granted by Royal Decree
| description    = Quarterly argent and gules, a cross potent or.
| authority        = College of Arms
| authority      = College of Arms
| authority_officer = Example King of Arms
| year_granted  = 1560
| grant_type        = Grant
| year_adopted  = 1905
| grant_date        = 5 July 2025
| years_in_use   = 1560–present
| year_granted      = 2025
| armiger       = Municipality of Example
| years_in_use     = 2025–present
| coronet       = Mural crown
| armiger           = Municipality of Example
| crest         = A lion rampant or
 
| torse          = Argent and gules
| blazon            = Quarterly argent and gules, a cross potent or.
| helm           = Helm argent, open
| escutcheon       = Quarterly shield
| escutcheon    = Quarterly shield
 
| supporters     = Two griffins argent
| crest             = A lion rampant or
| compartment   = A grassy mount
| crest_mount      = On a wreath of the colors
| motto         = ''Fortitudine''
 
| orders         = Order of Example
| helm             = Helm argent, open
| other_elements = Mantling of gules and argent
| coronet          = Mural crown
| banner         = Banner of the arms
 
| bannerimage   = Example_banner.svg
| supporters       = Two griffins argent
| standard       = Heraldic standard
| compartment       = A grassy mount
| standardimage = Example_standard.svg
 
| badge         = Example badge
| motto             = ''Fortitudine''
| badgeimage     = Example_badge.svg
| crideguerre      = Example battle cry
| badge2         = Alternate badge
 
| badge2image   = Example_badge2.svg
| orders           = Order of Example
| badge3         = Third badge
| other_elements   = Mantling gules doubled argent
| badge3image   = Example_badge3.svg
 
| symbolism     = The cross symbolizes faith; the lion symbolizes courage.
| banner           = Banner of the arms
| bannerimage       = Example_banner.svg
 
| standard         = Heraldic standard
| standardimage     = Example_standard.svg
 
| badge             = Example badge
| badgeimage       = Example_badge.svg
| badge2           = Alternate badge
| badge2image       = Example_badge2.svg
| badge3           = Third badge
| badge3image       = Example_badge3.svg
 
| symbolism         = The cross symbolizes faith; the lion symbolizes courage.
| description      = Plain-language summary or context (optional).
| register_entry    = WCA-2025-0001
 
| previous_versions = Example_coat_of_arms_old.svg
| previous_versions = Example_coat_of_arms_old.svg
| other_versions    = Example_coat_of_arms_variants.svg
| other_versions    = Example_coat_of_arms_variants.svg
Line 88: Line 133:


=== Parameters ===
=== Parameters ===
; <code>name</code> : Name of the armiger (defaults to page title if omitted).
; <code>name</code> : Name displayed in the caption (defaults to page title if omitted).
; <code>image</code> : Filename of the coat of arms image.
; <code>image</code> : Filename of the main image.
; <code>imagesize</code> : Width of the image (default is 100% of column).
; <code>imagesize</code> : Image size (default is 100% of the left column).
; <code>notes</code> : Heraldic or legal notes.
; <code>collapsed</code> : Set to <code>y</code> to collapse by default.
; <code>description</code> : Heraldic blazon (formal description).
 
; <code>authority</code> : Heraldic authority granting/confirming the arms.
; <code>notes</code> : Short legal or editorial notes.
; <code>year_granted</code> : Year arms were first granted.
; <code>authority</code> : Heraldic authority responsible for the grant/confirmation.
; <code>year_confirmed</code> : Year arms were confirmed.
; <code>authority_officer</code> : Officer who issued or signed (if applicable).
; <code>year_adopted</code> : Year arms were adopted.
; <code>grant_type</code> : Grant, Confirmation, Assumption, Matriculation, Exemplification (as needed).
; <code>years_in_use</code> : Span of years in use.
; <code>grant_date</code> : Full date (recommended when known).
; <code>armiger</code> : Entity that owns/uses the arms.
; <code>year_granted</code> : Year (numeric), useful for sorting.
; <code>coronet</code> : Heraldic coronet (if applicable).
; <code>year_confirmed</code> : Full date or year, if confirmation is separate.
; <code>crest</code> : Crest above the helm.
; <code>year_adopted</code> : Adoption date/year for civic arms.
; <code>torse</code> : Wreath/twisted roll beneath the crest.
; <code>years_in_use</code> : Range such as <code>1560–present</code>.
; <code>helm</code> : Heraldic helm.
; <code>armiger</code> : The person, house, or entity entitled to the arms.
; <code>escutcheon</code> : Description of the shield.
 
; <code>supporters</code> : Supporters flanking the shield.
; <code>blazon</code> : Formal heraldic blazon of the arms (recommended).
; <code>compartment</code> : Heraldic compartment beneath shield/supporters.
; <code>escutcheon</code> : Shield description (optional if blazon is provided).
; <code>motto</code> : Motto text.
; <code>crest</code> : Crest.
; <code>orders</code> : Chivalric or other orders included.
; <code>crest_mount</code> : The device on which the crest is borne (wreath, coronet, chapeau, etc.).
; <code>other_elements</code> : Additional heraldic elements.
; <code>helm</code> : Helm description.
; <code>banner</code> / <code>bannerimage</code> : Banner associated with the arms.
; <code>coronet</code> : Coronet as an element of the achievement (distinct from <code>crest_mount</code>).
; <code>standard</code> / <code>standardimage</code> : Standard associated with the arms.
 
; <code>badge</code> / <code>badgeimage</code> : Heraldic badge (first).
; <code>supporters</code> : Supporters.
; <code>badge2</code> / <code>badge2image</code> : Second badge.
; <code>compartment</code> : Compartment.
; <code>badge3</code> / <code>badge3image</code> : Third badge.
; <code>motto</code> : Motto.
; <code>symbolism</code> : Explanation of symbolism.
; <code>crideguerre</code> : Battle cry (if granted or used).
; <code>previous_versions</code> : File or description of earlier versions.
 
; <code>other_versions</code> : File or description of alternative versions.
; <code>orders</code> : Orders displayed with the achievement.
; <code>other_elements</code> : Mantling, badges of office, additional ornaments, etc.


=== Example ===
; <code>banner</code> / <code>bannerimage</code> : Banner description and optional image.
This template will display like this when filled in:
; <code>standard</code> / <code>standardimage</code> : Standard description and optional image.
; <code>badge</code> / <code>badgeimage</code> : Badge and optional image (up to three supported).


<pre>
; <code>symbolism</code> : Explanation of symbolism (optional).
{{CoatOfArms
; <code>description</code> : Plain-language context (optional).
| name        = Grand Duchy of Westarctica
; <code>register_entry</code> : Internal register identifier or citation.
| image      = Westarctica Arms - Full.png
| description = Quarterly, in the first and fourth quarters Bleu Céleste, a cross Or,
                in the dexter chief a crown Argent, in the second and third Azure,
                seven snowflakes 2, 3 and 2 of the third, over all the quarters an
                inescutcheon of the fourth, a fess of the third, between three pelicans
                vulning, wings addorsed and inverted of the same.
| crest      = A ducal coronet proper
| supporters  = Dexter: an emperor penguin respectant proper; Sinister: an orca
                haurient respectant of the same
}}
</pre>


{{CoatOfArms
; <code>previous_versions</code> : Older versions.
| name        = Grand Duchy of Westarctica
; <code>other_versions</code> : Variants or alternates.
| image      = Westarctica Arms - Full.png
| description = Quarterly, in the first and fourth quarters Bleu Céleste, a cross Or, in the dexter chief a crown Argent, in the second and third Azure, seven snowflakes 2, 3 and 2 of the third, over all the quarters an inescutcheon of the fourth, a fess of the third, between three pelicans vulning, wings addorsed and inverted of the same.
| crest      = A ducal coronet proper
| supporters  = Dexter: an emperor penguin respectant proper; Sinister: an orca haurient respectant of the same
}}


----
----
<small>This template is intended for coats of arms and heraldic use only.
<small>This template is intended for coats of arms and heraldic achievements. For purely corporate or branding marks, use a different infobox.</small>
For logos or seals, consider using [[Template:Infobox emblem]].</small>
</noinclude>
</noinclude>
78

edits

Navigation menu