Difference between revisions of "Template:CoatOfArms"

From Encyclopedia Westarctica
Jump to navigation Jump to search
(Corrections to full width modification)
(Undo revision 14428 by Krigsvold (talk))
Tag: Undo
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable mw-collapsible {{#ifeq:{{{collapsed|}}}|y|mw-collapsed|}}" style="width:100%; table-layout:fixed; border-collapse:collapse;"
{| class="wikitable mw-collapsible {{#ifeq:{{{collapsed|}}}|y|mw-collapsed|}}" style="width:100%; table-layout:fixed; border-collapse:collapse; padding:0;"
|+ class="nowrap" | '''Coat of arms of {{{name|{{PAGENAMEBASE}}}}}'''
|+ class="nowrap" | '''Coat of arms of {{{name|{{PAGENAMEBASE}}}}}'''
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
   {{!}} style="width:50%; vertical-align:top; text-align:center;" {{!}}
   {{!}} style="width:50%; vertical-align:top; text-align:center; padding:0.5em;" {{!}}
   [[File:{{{image}}}|{{{imagesize|100%}}}|frameless]]
   <div style="display:inline-block; margin:0; padding:0;">
    [[File:{{{image}}}|{{{imagesize|100%}}}|frameless]]
  </div>
}}
}}
{{!}} style="width:50%; vertical-align:top;" |
{{!}} style="width:50%; vertical-align:top; padding:0.5em;" |


<div style="line-height:1.4em; margin:0; padding:0;">
<div style="line-height:1.35em; margin:0; padding:0;">
<dl style="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|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Notes</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{notes}}}</dd>}}
{{#if:{{{authority|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Authority</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{authority}}}</dd>}}
{{#if:{{{authority_officer|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Officer</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{authority_officer}}}</dd>}}


{{#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|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Type</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{grant_type}}}</dd>}}
{{#if:{{{grant_date|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Date</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{grant_date}}}</dd>}}
{{#if:{{{year_granted|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Year</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{year_granted}}}</dd>}}
{{#if:{{{year_confirmed|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Confirmed</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{year_confirmed}}}</dd>}}
{{#if:{{{year_adopted|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Adopted</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{year_adopted}}}</dd>}}
{{#if:{{{years_in_use|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Years in use</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{years_in_use}}}</dd>}}


{{#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|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Armiger</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{armiger}}}</dd>}}
 
{{#if:{{{blazon|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Blazon</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{blazon}}}</dd>}}
{{#if:{{{escutcheon|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Escutcheon</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{escutcheon}}}</dd>}}
 
{{#if:{{{crest|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Crest</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{crest}}}</dd>}}
{{#if:{{{crest_mount|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Crest mount</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{crest_mount}}}</dd>}}
 
{{#if:{{{helm|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Helm</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{helm}}}</dd>}}
{{#if:{{{coronet|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Coronet</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{coronet}}}</dd>}}
 
{{#if:{{{supporters|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Supporters</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{supporters}}}</dd>}}
{{#if:{{{compartment|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Compartment</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{compartment}}}</dd>}}
 
{{#if:{{{motto|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Motto</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{motto}}}</dd>}}
{{#if:{{{crideguerre|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Cri de guerre</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{crideguerre}}}</dd>}}
 
{{#if:{{{orders|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Orders</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{orders}}}</dd>}}
{{#if:{{{other_elements|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Other elements</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{other_elements}}}</dd>}}


{{#if:{{{banner|}}}{{{bannerimage|}}}|
{{#if:{{{banner|}}}{{{bannerimage|}}}|
  <div><b>Banner</b><br/><div style="margin-left:1em;">{{#if:{{{bannerimage|}}}|[[File:{{{bannerimage}}}|50px|border]] }} {{{banner|}}}</div></div>
<dt style="font-weight:bold; margin:0; padding:0;">Banner</dt>
<dd style="margin:0 0 0.6em 1em; padding:0;">
  {{#if:{{{bannerimage|}}}|[[File:{{{bannerimage}}}|50px|border]] }} {{{banner|}}}
</dd>
}}
}}


{{#if:{{{standard|}}}{{{standardimage|}}}|
{{#if:{{{standard|}}}{{{standardimage|}}}|
  <div><b>Standard</b><br/><div style="margin-left:1em;">{{#if:{{{standardimage|}}}|[[File:{{{standardimage}}}|50px|border]] }} {{{standard|}}}</div></div>
<dt style="font-weight:bold; margin:0; padding:0;">Standard</dt>
<dd style="margin:0 0 0.6em 1em; padding:0;">
  {{#if:{{{standardimage|}}}|[[File:{{{standardimage}}}|50px|border]] }} {{{standard|}}}
</dd>
}}
}}


{{#if:{{{badge|}}}{{{badgeimage|}}}|
{{#if:{{{badge|}}}{{{badgeimage|}}}|
  <div><b>{{#if:{{{badgetitle|}}}|{{{badgetitle}}}|Badge}}</b><br/><div style="margin-left:1em;">{{#if:{{{badgeimage|}}}|[[File:{{{badgeimage}}}|50px]] }} {{{badge}}}</div></div>
<dt style="font-weight:bold; margin:0; padding:0;">{{#if:{{{badgetitle|}}}|{{{badgetitle}}}|Badge}}</dt>
<dd style="margin:0 0 0.6em 1em; padding:0;">
  {{#if:{{{badgeimage|}}}|[[File:{{{badgeimage}}}|50px]] }} {{{badge}}}
</dd>
}}
}}


{{#if:{{{badge2|}}}{{{badge2image|}}}|
{{#if:{{{badge2|}}}{{{badge2image|}}}|
  <div><b>{{{badge2title|Badge 2}}}</b><br/><div style="margin-left:1em;">{{#if:{{{badge2image|}}}|[[File:{{{badge2image}}}|50px]] }} {{{badge2|}}}</div></div>
<dt style="font-weight:bold; margin:0; padding:0;">{{{badge2title|Badge 2}}}</dt>
<dd style="margin:0 0 0.6em 1em; padding:0;">
  {{#if:{{{badge2image|}}}|[[File:{{{badge2image}}}|50px]] }} {{{badge2|}}}
</dd>
}}
}}


{{#if:{{{badge3|}}}{{{badge3image|}}}|
{{#if:{{{badge3|}}}{{{badge3image|}}}|
  <div><b>{{{badge3title|Badge 3}}}</b><br/><div style="margin-left:1em;">{{#if:{{{badge3image|}}}|[[File:{{{badge3image}}}|50px]] }} {{{badge3|}}}</div></div>
<dt style="font-weight:bold; margin:0; padding:0;">{{{badge3title|Badge 3}}}</dt>
<dd style="margin:0 0 0.6em 1em; padding:0;">
  {{#if:{{{badge3image|}}}|[[File:{{{badge3image}}}|50px]] }} {{{badge3|}}}
</dd>
}}
}}


{{#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|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Symbolism</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{symbolism}}}</dd>}}
{{#if:{{{description|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Description</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{description}}}</dd>}}
{{#if:{{{register_entry|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Register entry</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{register_entry}}}</dd>}}
 
{{#if:{{{previous_versions|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Previous versions</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{previous_versions}}}</dd>}}
{{#if:{{{other_versions|}}}|<dt style="font-weight:bold; margin:0; padding:0;">Other versions</dt><dd style="margin:0 0 0.6em 1em; padding:0;">{{{other_versions}}}</dd>}}


</dl>
</div>
</div>
|}
|}
<noinclude>
<noinclude>
{{documentation}} <!-- Add usage examples -->
== Template documentation ==
This template displays a standardized infobox for coats of arms and related heraldic achievements.
 
=== Usage ===
Copy and paste the following into an article, filling in the fields as appropriate:
 
<pre>
{{CoatOfArms
| name              = Example Town
| image            = Example_coat_of_arms.svg
| imagesize        = 200px
| notes            = Granted by Royal Decree
| authority        = College of Arms
| authority_officer = Example King of Arms
| grant_type        = Grant
| grant_date        = 5 July 2025
| year_granted      = 2025
| years_in_use      = 2025–present
| armiger          = Municipality of Example
 
| blazon            = Quarterly argent and gules, a cross potent or.
| escutcheon        = Quarterly shield
 
| crest            = A lion rampant or
| crest_mount      = On a wreath of the colors
 
| helm              = Helm argent, open
| coronet          = Mural crown
 
| supporters        = Two griffins argent
| compartment      = A grassy mount
 
| motto            = ''Fortitudine''
| crideguerre      = Example battle cry
 
| orders            = Order of Example
| other_elements    = Mantling gules doubled argent
 
| 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
}}
</pre>
 
=== Parameters ===
; <code>name</code> : Name displayed in the caption (defaults to page title if omitted).
; <code>image</code> : Filename of the main image.
; <code>imagesize</code> : Image size (default is 100% of the left column).
; <code>collapsed</code> : Set to <code>y</code> to collapse by default.
 
; <code>notes</code> : Short legal or editorial notes.
; <code>authority</code> : Heraldic authority responsible for the grant/confirmation.
; <code>authority_officer</code> : Officer who issued or signed (if applicable).
; <code>grant_type</code> : Grant, Confirmation, Assumption, Matriculation, Exemplification (as needed).
; <code>grant_date</code> : Full date (recommended when known).
; <code>year_granted</code> : Year (numeric), useful for sorting.
; <code>year_confirmed</code> : Full date or year, if confirmation is separate.
; <code>year_adopted</code> : Adoption date/year for civic arms.
; <code>years_in_use</code> : Range such as <code>1560–present</code>.
; <code>armiger</code> : The person, house, or entity entitled to the arms.
 
; <code>blazon</code> : Formal heraldic blazon of the arms (recommended).
; <code>escutcheon</code> : Shield description (optional if blazon is provided).
; <code>crest</code> : Crest.
; <code>crest_mount</code> : The device on which the crest is borne (wreath, coronet, chapeau, etc.).
; <code>helm</code> : Helm description.
; <code>coronet</code> : Coronet as an element of the achievement (distinct from <code>crest_mount</code>).
 
; <code>supporters</code> : Supporters.
; <code>compartment</code> : Compartment.
; <code>motto</code> : Motto.
; <code>crideguerre</code> : Battle cry (if granted or used).
 
; <code>orders</code> : Orders displayed with the achievement.
; <code>other_elements</code> : Mantling, badges of office, additional ornaments, etc.
 
; <code>banner</code> / <code>bannerimage</code> : Banner description and optional image.
; <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).
 
; <code>symbolism</code> : Explanation of symbolism (optional).
; <code>description</code> : Plain-language context (optional).
; <code>register_entry</code> : Internal register identifier or citation.
 
; <code>previous_versions</code> : Older versions.
; <code>other_versions</code> : Variants or alternates.
 
----
<small>This template is intended for coats of arms and heraldic achievements. For purely corporate or branding marks, use a different infobox.</small>
</noinclude>
</noinclude>

Latest revision as of 22:13, 4 January 2026

Coat of arms of Template:PAGENAMEBASE


Template documentation

This template displays a standardized infobox for coats of arms and related heraldic achievements.

Usage

Copy and paste the following into an article, filling in the fields as appropriate:

{{CoatOfArms
| name              = Example Town
| image             = Example_coat_of_arms.svg
| imagesize         = 200px
| notes             = Granted by Royal Decree
| authority         = College of Arms
| authority_officer = Example King of Arms
| grant_type        = Grant
| grant_date        = 5 July 2025
| year_granted      = 2025
| years_in_use      = 2025–present
| armiger           = Municipality of Example

| blazon            = Quarterly argent and gules, a cross potent or.
| escutcheon        = Quarterly shield

| crest             = A lion rampant or
| crest_mount       = On a wreath of the colors

| helm              = Helm argent, open
| coronet           = Mural crown

| supporters        = Two griffins argent
| compartment       = A grassy mount

| motto             = ''Fortitudine''
| crideguerre       = Example battle cry

| orders            = Order of Example
| other_elements    = Mantling gules doubled argent

| 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
}}

Parameters

name
Name displayed in the caption (defaults to page title if omitted).
image
Filename of the main image.
imagesize
Image size (default is 100% of the left column).
collapsed
Set to y to collapse by default.
notes
Short legal or editorial notes.
authority
Heraldic authority responsible for the grant/confirmation.
authority_officer
Officer who issued or signed (if applicable).
grant_type
Grant, Confirmation, Assumption, Matriculation, Exemplification (as needed).
grant_date
Full date (recommended when known).
year_granted
Year (numeric), useful for sorting.
year_confirmed
Full date or year, if confirmation is separate.
year_adopted
Adoption date/year for civic arms.
years_in_use
Range such as 1560–present.
armiger
The person, house, or entity entitled to the arms.
blazon
Formal heraldic blazon of the arms (recommended).
escutcheon
Shield description (optional if blazon is provided).
crest
Crest.
crest_mount
The device on which the crest is borne (wreath, coronet, chapeau, etc.).
helm
Helm description.
coronet
Coronet as an element of the achievement (distinct from crest_mount).
supporters
Supporters.
compartment
Compartment.
motto
Motto.
crideguerre
Battle cry (if granted or used).
orders
Orders displayed with the achievement.
other_elements
Mantling, badges of office, additional ornaments, etc.
banner / bannerimage
Banner description and optional image.
standard / standardimage
Standard description and optional image.
badge / badgeimage
Badge and optional image (up to three supported).
symbolism
Explanation of symbolism (optional).
description
Plain-language context (optional).
register_entry
Internal register identifier or citation.
previous_versions
Older versions.
other_versions
Variants or alternates.

This template is intended for coats of arms and heraldic achievements. For purely corporate or branding marks, use a different infobox.