Difference between revisions of "Template:CoatOfArms"
Jump to navigation
Jump to search
(Remove Lua and external dependencies) |
(Rewrite for standard and badge display options) |
||
Line 2: | Line 2: | ||
|+ class="nowrap" | '''Coat of arms of {{{name|{{PAGENAMEBASE}}}}}''' | |+ class="nowrap" | '''Coat of arms of {{{name|{{PAGENAMEBASE}}}}}''' | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} style="width:{{{imagesize|220px}}}; {{#if:{{{imagewidth|}}}|min-width:{{{imagewidth}}};}}" {{!}} | {{!}} style="width:{{{imagesize|220px}}}; {{#if:{{{imagewidth|}}}|min-width:{{{imagewidth}}};}}" {{!}} | ||
Line 8: | Line 7: | ||
}} | }} | ||
| style=" | | style="width:50%; vertical-align:top;" | | ||
<div style="line-height:1.4em;"> | |||
{{#if:{{{notes|}}}|<div><b>Notes:</b> {{{notes}}}</div>}} | |||
{{#if:{{{description|}}}|<div><b>Description:</b> {{{description}}}</div>}} | |||
{{#if:{{{year_granted|}}}|<div><b>Granted:</b> {{{year_granted}}}</div>}} | |||
{{#if:{{{year_adopted|}}}|<div><b>Adopted:</b> {{{year_adopted}}}</div>}} | |||
{{#if:{{{years_in_use|}}}|<div><b>Years in use:</b> {{{years_in_use}}}</div>}} | |||
{{#if:{{{ | {{#if:{{{armiger|}}}|<div><b>Armiger:</b> {{{armiger}}}</div>}} | ||
{{#if:{{{ | {{#if:{{{coronet|}}}|<div><b>Coronet:</b> {{{coronet}}}</div>}} | ||
{{#if:{{{ | {{#if:{{{crest|}}}|<div><b>Crest:</b> {{{crest}}}</div>}} | ||
{{#if:{{{ | {{#if:{{{torse|}}}|<div><b>Torse:</b> {{{torse}}}</div>}} | ||
{{#if:{{{ | {{#if:{{{helm|}}}|<div><b>Helm:</b> {{{helm}}}</div>}} | ||
{{#if:{{{escutcheon|}}}|<div><b>Escutcheon:</b> {{{escutcheon}}}</div>}} | |||
{{#if:{{{supporters|}}}|<div><b>Supporters:</b> {{{supporters}}}</div>}} | |||
{{#if:{{{compartment|}}}|<div><b>Compartment:</b> {{{compartment}}}</div>}} | |||
{{#if:{{{motto|}}}|<div><b>Motto:</b> {{{motto}}}</div>}} | |||
{{#if:{{{orders|}}}|<div><b>Orders:</b> {{{orders}}}</div>}} | |||
{{#if:{{{other_elements|}}}|<div><b>Other elements:</b> {{{other_elements}}}</div>}} | |||
{{#if:{{{ | {{#if:{{{banner|}}}{{{bannerimage|}}}| | ||
<div><b>Banner:</b> | |||
{{#if:{{{bannerimage|}}}|[[File:{{{bannerimage}}}|50px|border]] }} {{{banner|}}}</div> | |||
{{#if:{{{ | }} | ||
{{#if:{{{ | {{#if:{{{standard|}}}{{{standardimage|}}}| | ||
<div><b>Standard:</b> | |||
{{#if:{{{standardimage|}}}|[[File:{{{standardimage}}}|50px|border]] }} {{{standard|}}}</div> | |||
}} | }} | ||
{{#if:{{{badge|}}}| | {{#if:{{{badge|}}}{{{badgeimage|}}}| | ||
<div><b>{{#if:{{{badgetitle|}}}|{{{badgetitle}}}|Badge}}:</b> | |||
{{#if:{{{badgeimage|}}}|[[File:{{{badgeimage}}}|50px]] }} {{{badge}}}</div> | |||
}} | }} | ||
{{#if:{{{badge2image|}}}| | {{#if:{{{badge2|}}}{{{badge2image|}}}| | ||
<div><b>{{{badge2title|Badge 2}}}:</b> {{#if:{{{badge2image|}}}|[[File:{{{badge2image}}}|50px]] }} {{{badge2|}}}</div> | |||
}} | }} | ||
{{#if:{{{badge3image|}}}| | {{#if:{{{badge3|}}}{{{badge3image|}}}| | ||
<div><b>{{{badge3title|Badge 3}}}:</b> {{#if:{{{badge3image|}}}|[[File:{{{badge3image}}}|50px]] }} {{{badge3|}}}</div> | |||
}} | }} | ||
{{#if:{{{symbolism|}}}| | {{#if:{{{symbolism|}}}|<div><b>Symbolism:</b> {{{symbolism}}}</div>}} | ||
{{#if:{{{previous_versions|}}}| | {{#if:{{{previous_versions|}}}|<div><b>Previous versions:</b> {{{previous_versions}}}</div>}} | ||
{{#if:{{{other_versions|}}}| | {{#if:{{{other_versions|}}}|<div><b>Other versions:</b> {{{other_versions}}}</div>}} | ||
</div> | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{documentation}} <!-- | {{documentation}} <!-- Create Template:CoatOfArms/doc for usage --> | ||
</noinclude> | </noinclude> |
Revision as of 16:09, 27 July 2025
|
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}