Difference between revisions of "Template:Emblem table"

From blackwiki
Jump to navigation Jump to search
imported>Bsherr
m (Bsherr moved page Template:Infobox coat of arms wide to Template:Infobox emblem wide: Consistency with rename of Infobox coat of arms to Infobox emblem)
imported>Hairy Dude
(specify min-width for image to stop it getting squashed into oblivion on narrow screens)
Line 2: Line 2:
 
|+ Coat of arms of {{{name|{{PAGENAMEBASE}} }}}
 
|+ Coat of arms of {{{name|{{PAGENAMEBASE}} }}}
 
|-
 
|-
{{#if:{{{image|}}}|{{!}} style="width: {{{imagesize|220px}}};" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{imagesize|frameless}}}  }} }}
+
{{#if:{{{image|}}}|{{!}} style="width: {{{imagesize|220px}}}; min-width:{{{imagewidth|220px}}};" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{imagesize|frameless}}}  }} }}
 
| {{#if:{{{notes|}}}|
 
| {{#if:{{{notes|}}}|
 
; Notes: {{{notes}}} }}{{#if:{{{description|}}}|
 
; Notes: {{{notes}}} }}{{#if:{{{description|}}}|

Revision as of 22:26, 13 January 2019

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to display an infobox on a coat of arms or heraldic achievement horizontally across the page, as opposed to the vertical template in Template:T. The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

Blank syntax

Only the name and image fields are required, all other fields are optional.

Blank template with all parameters

{{Infobox emblem wide
| name = 
| image = <!--ExampleCoatofArms.svg -->
| imagesize = 
| notes = 
| year_adopted = 
| coronet = 
| crest = 
| torse = 
| helm = 
| escutcheon = 
| supporters = 
| compartment = 
| motto = <!-- Non-English mottos should be ''italicized'' -->
| orders = 
| other_elements = 
| bannerimage = 
| banner = 
| badgeimage = 
| badge = 
| symbolism = 
| previous_versions = 
| other_versions = 
}}

Example 1

Example 2

For more examples, see What links here.