Template:Emblem table: Difference between revisions
From The Goon Show Depository
m (1 revision imported) |
en>Great Brightstar (Make right side not being extremely narrow on mobile phone) |
||
Line 2: | Line 2: | ||
|+ class=nowrap | Coat of arms of {{{name|{{PAGENAMEBASE}} }}} | |+ class=nowrap | Coat of arms of {{{name|{{PAGENAMEBASE}} }}} | ||
|- | |- | ||
{{#if:{{{image|}}}|{{!}} style="width: {{{imagesize|220px}}}; min-width:{{{imagewidth | {{#if:{{{image|}}}|{{!}} style="width: {{{imagesize|220px}}}; {{#if:{{{imagewidth|}}}|min-width:{{{imagewidth}}}}}" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{imagesize|frameless}}} }} }} | ||
| {{#if:{{{notes|}}}| | | style="min-width:175px;" | {{#if:{{{notes|}}}| | ||
; Notes: {{{notes}}} }}{{#if:{{{description|}}}| | ; Notes: {{{notes}}} }}{{#if:{{{description|}}}| | ||
; Description: {{{description}}} }}{{#if:{{{year_granted|}}}| | ; Description: {{{description}}} }}{{#if:{{{year_granted|}}}| |
Revision as of 02:23, 30 October 2022
This template is used on approximately 3,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 {{Infobox emblem}}. 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. Badge fields are conditionally required depending on number displayed.
Blank template with all parameters
{{Emblem table
| 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 =
| badgetitle = <!-- Bolded title displayed in table for badge, not required for first badge -->
| badgeimage = <!-- Required for first badge -->
| badge =
| badge2title = <!-- Bolded title displayed in table for badge, required for second badge -->
| badge2image = <!-- Required for second badge -->
| badge2 =
| badge3title = <!-- Bolded title displayed in table for badge, required for third badge -->
| badge3image = <!-- Required for third badge -->
| badge3 =
| symbolism =
| previous_versions =
| other_versions =
}}
Example 1
|
Example 2
|
For more examples, see What links here.