Template:Infobox order: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported |
imported>ChaseYUL99 4th image added (initially needed for National Order of Quebec article) |
||
Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{infobox | ||
| abovestyle = font-size: 125%; background-color: #DAEFFF; text-align: center; | | abovestyle = font-size: 125%; background-color: #DAEFFF; text-align: center; | ||
| above = {{{name|{{{title|{{PAGENAMEBASE}} }}} }}} | | above = {{{name|{{{title|{{PAGENAMEBASE}} }}} }}}<br>{{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|200}}}|alt={{{alt|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background-color: #DAEFFF | | headerstyle = background-color: #DAEFFF | ||
| header1 = {{#if:{{{awarded_by|}}}|Awarded by {{{awarded_by|}}}}} | | header1 = {{#if:{{{awarded_by|}}}|Awarded by {{{awarded_by|}}}}} | ||
| label3 = Type | | label3 = Type | ||
| data3 = {{{type|}}} | | data3 = {{{type|}}} | ||
| label4 | | label4 = {{#if:{{{established|{{{established|}}}}}}|Established|Founded}} | ||
| data4 | | data4 = {{#if:{{{established|{{{established|}}}}}} | {{{established|{{{established}}}}}} | {{{founded|{{{founded|}}}}}}}} | ||
| label5 = Country | | label5 = Country | ||
| data5 = {{{country|}}} | | data5 = {{{country|}}} | ||
| label6 =Royal house | | label6 = Royal house | ||
| data6 = {{{house|}}} | | data6 = {{{house|}}} | ||
| label7 = Religious affiliation | | label7 = Religious affiliation | ||
| data7 = {{{religion|}}} | | data7 = {{{religion|}}} | ||
| label8 = Seat | | label8 = Seat | ||
| data8 = {{{seat|}}} | | data8 = {{{seat|}}} | ||
| label9 = Ribbon | | label9 = Ribbon | ||
| data9 = {{{ribbon|}}} | | data9 = {{{ribbon|}}} | ||
| label10 = Motto | | label10 = Motto | ||
| data10 = {{{motto|}}} | | data10 = {{{motto|}}} | ||
| label11 = Eligibility | | label11 = Eligibility | ||
| data11 = {{{eligibility|}}} | | data11 = {{{eligibility|}}} | ||
| label12 = {{#if:{{{criteria|{{{criteria|}}}}}}|Criteria|Awarded for}} | | label12 = {{#if:{{{criteria|{{{criteria|}}}}}}|Criteria|Awarded for}} | ||
| data12 = {{#if:{{{criteria|{{{criteria|}}}}}} | {{{criteria|{{{criteria}}}}}} | {{{for|{{{for|}}}}}}}} | | data12 = {{#if:{{{criteria|{{{criteria|}}}}}} | {{{criteria|{{{criteria}}}}}} | {{{for|{{{for|}}}}}}}} | ||
| label13 = Status | | label13 = Status | ||
| data13 = {{{status|}}} | | data13 = {{{status|}}} | ||
| label14 = {{#if:{{{founder|{{{founder|}}}}}}|Founder|First head}} | | label14 = {{#if:{{{founder|{{{founder|}}}}}}|Founder|First head}} | ||
| data14 = {{#if:{{{founder|{{{founder|}}}}}} | {{{founder|{{{founder}}}}}} | {{{first_head|{{{first_head|}}}}}}}} | | data14 = {{#if:{{{founder|{{{founder|}}}}}} | {{{founder|{{{founder}}}}}} | {{{first_head|{{{first_head|}}}}}}}} | ||
| label15 = {{{head_title|}}} | | label15 = {{{head_title|}}} | ||
| data15 = {{{head|}}} | | data15 = {{{head|}}} | ||
| label16 = {{{head2_title|}}} | | label16 = {{{head2_title|}}} | ||
| data16 = {{{head2|}}} | | data16 = {{{head2|}}} | ||
| label17 = {{{head3_title|}}} | | label17 = {{{head3_title|}}} | ||
| data17 = {{{head3|}}} | | data17 = {{{head3|}}} | ||
| label18 | | label18 = {{#if:{{{classes|{{{classes|}}}}}}|Classes|Grades}} | ||
| data18 | | data18 = {{#if:{{{classes|{{{classes|}}}}}} | {{{classes|{{{classes}}}}}} | {{{grades|{{{grades|}}}}}}}} | ||
| label19 = Post-nominals | | label19 = Post-nominals | ||
| data19 = {{{post-nominals|}}} | | data19 = {{{post-nominals|}}} | ||
| label20 = Former grades | | label20 = Former grades | ||
| data20= {{{former_grades|}}} | | data20 = {{{former_grades|}}} | ||
| label21 = Website | | label21 = Website | ||
| data21= {{{website|}}} | | data21 = {{{website|}}} | ||
| header23 = {{#if:{{{first_induction|}}}{{{last_induction|}}}{{{total|}}}|Statistics}} | | header23 = {{#if:{{{first_induction|}}}{{{last_induction|}}}{{{total|}}}|Statistics}} | ||
| label24 = First induction | | label24 = First induction | ||
| data24 = {{{first_induction|}}} | | data24 = {{{first_induction|}}} | ||
| label25 = Last induction | | label25 = Last induction | ||
| data25 = {{{last_induction|}}} | | data25 = {{{last_induction|}}} | ||
| label26 = Total inductees | | label26 = Total inductees | ||
| data26 = {{{total|}}} | | data26 = {{{total|}}} | ||
| header28 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{same|}}}{{{related|}}}|Precedence}} | | header28 = {{#if:{{{higher|}}}{{{same|}}}{{{lower|}}}{{{same|}}}{{{related|}}}|Precedence}} | ||
| label29 = Next (higher) | | label29 = Next (higher) | ||
| data29 = {{{higher|}}} | | data29 = {{{higher|}}} | ||
| label30 = Next (lower) | | label30 = Next (lower) | ||
| data30 = {{{lower|}}} | | data30 = {{{lower|}}} | ||
| label31 = Equivalent | | label31 = Equivalent | ||
| data31 = {{{same|}}} | | data31 = {{{same|}}} | ||
| label32 = Related | | label32 = Related | ||
| data32 = {{{related|}}} | | data32 = {{{related|}}} | ||
| below = {{#if:{{{image2|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image_size2|}}}|sizedefault=frameless|alt={{{alt2|}}}}}{{#if:{{{caption2|}}}|<br />{{{caption2}}}}}}} | | below = {{#if:{{{image2|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image_size2|}}}|sizedefault=frameless|alt={{{alt2|}}}}}{{#if:{{{caption2|}}}|<br />{{{caption2}}}}}}}<br>{{#if:{{{image3|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{{image_size3|}}}|sizedefault=frameless|alt={{{alt3|}}}}}{{#if:{{{caption3|}}}|<br />{{{caption3}}}}}}}<br>{{#if:{{{image4|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image4|}}}|size={{{image_size4|}}}|sizedefault=frameless|alt={{{alt4|}}}}}{{#if:{{{caption4|}}}|<br />{{{caption4}}}}}}} | ||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox order with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox order]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | alt2 | awarded_by | caption | caption2 | }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox order with unknown parameters|_VALUE_{{PAGENAME}}]]}}|native_name|native_name_lang|preview=Page using [[Template:Infobox order]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | alt2 | alt3 | alt4 | awarded_by | caption | caption2 | caption3 | caption4 | classes | country | criteria | date | day | eligibility | established | founded | first_head | founder | first_induction | for | former_grades | grades | head | head_title | head2 | head2_title | head3_title | head3 | higher | house | image | image2 | image3 | image4 | image_size | image_size2 | image_size3 | image_size4 | last_induction | lower | motto | name | post-nominals | related | religion | seat | ribbon | same | status | title | total | type | website }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> |
Latest revision as of 15:11, 23 January 2023
This template uses Lua: |
Blank
{{{name}}} {{{native_name}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] {{{caption}}} | |
Awarded by {{{awarded_by}}} | |
Type | {{{type}}} |
Established | {{{established}}} |
Country | {{{country}}} |
Royal house | {{{house}}} |
Religious affiliation | {{{religion}}} |
Seat | {{{seat}}} |
Ribbon | {{{ribbon}}} |
Motto | {{{motto}}} |
Eligibility | {{{eligibility}}} |
Criteria | {{{criteria}}} |
Status | {{{status}}} |
Founder | {{{founder}}} |
{{{head_title}}} | {{{head}}} |
{{{head2_title}}} | {{{head2}}} |
{{{head3_title}}} | {{{head3}}} |
Classes | {{{classes}}} |
Post-nominals | {{{post-nominals}}} |
Former grades | {{{former_grades}}} |
Website | {{{website}}} |
Statistics | |
First induction | {{{first_induction}}} |
Last induction | {{{last_induction}}} |
Total inductees | {{{total}}} |
Precedence | |
Next (higher) | {{{higher}}} |
Next (lower) | {{{lower}}} |
Equivalent | {{{same}}} |
Related | {{{related}}} |
[[File:{{{image2}}}|{{{image_size2}}}|alt={{{alt2}}}]] {{{caption2}}} [[File:{{{image3}}}|{{{image_size3}}}|alt={{{alt3}}}]] {{{caption3}}} [[File:{{{image4}}}|{{{image_size4}}}|alt={{{alt4}}}]] {{{caption4}}} |
{{Infobox order
| name = <!-- or | title = -->
| native_name =
|native_name_lang =
| image =
| image_size =
| alt =
| caption =
| awarded_by =
| type = <!-- [[State order|State]]/[[Dynastic order|Dynastic]] [[order of chivalry]]/[[military order]]/[[order of merit]] -->
| established = <!-- or | founded = -->
| country = <!-- Country with which the order is currently affiliated; for dynastic orders, use royal house -->
| house = <!-- If dynastic order, then the royal house that currently controls the order -->
| religion = <!-- [[Catholic Church]], etc. -->
| seat = <!-- headquarters, etc. -->
| ribbon = <!-- description of the order's ribbon -->
| motto =
| eligibility = <!-- who is eligible to receive the order -->
| criteria = <!-- or | for = ("Awarded for") -->
| status = <!-- Currently constituted or Defunct or Dormant -->
| founder = <!-- or | first_head = -->
| head_title = <!-- usually [[Grand master (order)|Grand Master]] -->
| head =
| head2_title = <!-- other head, usually subordinate to above: [[Chancellor]], etc. -->
| head2 =
| head3_title =
| head3 =
| classes = <!-- or | grades = (use {{plainlist}} or {{unbulleted list}}) -->
| post-nominals =
| former_grades =
| website =
| first_induction =
| last_induction = <!-- if the order is defunct or dormant -->
| total =
| higher =
| lower =
| same =
| related =
| image2 =
| image_size2 =
| alt2 =
| caption2 =
| image3 =
| image_size3 =
| alt3 =
| caption3 =
| image4 =
| image_size4 =
| alt4 =
| caption4 =
}}
Example
Order of Saints Maurice and Lazarus | |
---|---|
![]() Insignia of a commander of the order | |
Awarded by the House of Savoy | |
Type | Dynastic order of knighthood |
Established | 16 September 1572 |
Royal house | House of Savoy |
Ribbon | Green |
Motto | FERT |
Eligibility | Military, civilian |
Criteria | Distinguished merits |
Status | Active in exile |
Founder | Emmanuel Philibert, Duke of Savoy |
Grand Master | Vittorio Emanuele, Prince of Naples |
Grades |
|
Statistics | |
Total inductees | c. 2,000 |
Precedence | |
Next (higher) | Supreme Order of the Most Holy Annunciation |
Next (lower) | Military Order of Savoy |
Ribbon bar |
{{Infobox order
| name = Order of Saints Maurice and Lazarus
| image = OSSML_Commandeur.jpg
| image_size = 150
| caption = Insignia of a commander of the order
| awarded_by = the [[House of Savoy]]
| type = [[Dynastic order of knighthood]]
| established = {{start date|1572|09|16|df=y}}
| house = [[House of Savoy]]
| ribbon = {{color box|green}} Green
| motto = [[FERT]]
| eligibility = Military, civilian
| criteria = Distinguished merits
| status = Active in exile
| founder = [[Emmanuel Philibert, Duke of Savoy]]
| head_title = Grand Master
| head = [[Vittorio Emanuele, Prince of Naples]]
| grades = {{plainlist|
* Grand Cross
* Grand Officer
* Commander
* Officer
* Knight/Dame}}
| total = {{circa|2,000}}
| higher = [[Supreme Order of the Most Holy Annunciation]]
| lower = [[Military Order of Savoy]]
| image2 = Cavaliere_SSML_BAR.svg
| image_size2 = 85
| caption2 = Ribbon bar
}}
Microformat
- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
TemplateData
TemplateData for Infobox order
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name title | no description | Unknown | optional |
native_name | native_name | The name of the order in its own language, if different. | Unknown | optional |
image | image | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
awarded_by | awarded_by | no description | Unknown | optional |
type | type | no description | Unknown | optional |
established | established | no description | Unknown | optional |
founded | founded | no description | Unknown | optional |
country | country | no description | Unknown | optional |
house | house | no description | Unknown | optional |
religion | religion | no description | Unknown | optional |
seat | seat | no description | Unknown | optional |
ribbon | ribbon | no description | Unknown | optional |
motto | motto | no description | Unknown | optional |
eligibility | eligibility | no description | Unknown | optional |
criteria | criteria | no description | Unknown | optional |
for | for | no description | Unknown | optional |
status | status | no description | Unknown | optional |
founder | founder first_head | no description | Unknown | optional |
head_title | head_title | no description | Unknown | optional |
head | head | no description | Unknown | optional |
head2_title | head2_title | no description | Unknown | optional |
head2 | head2 | no description | Unknown | optional |
head3_title | head3_title | no description | Unknown | optional |
head3 | head3 | no description | Unknown | optional |
classes | classes grades | no description | Unknown | optional |
post-nominals | post-nominals | no description | Unknown | optional |
former_grades | former_grades | no description | Unknown | optional |
website | website | no description | Unknown | optional |
first_induction | first_induction | no description | Unknown | optional |
last_induction | last_induction | no description | Unknown | optional |
total | total | no description | Unknown | optional |
higher | higher | no description | Unknown | optional |
same | same | no description | Unknown | optional |
lower | lower | no description | Unknown | optional |
related | related | no description | Unknown | optional |
image2 | image2 | no description | Unknown | optional |
image_size2 | image_size2 | no description | Unknown | optional |
alt2 | alt2 | no description | Unknown | optional |
caption2 | caption2 | no description | Unknown | optional |
image3 | image3 | no description | Unknown | optional |
image_size3 | image_size3 | no description | Unknown | optional |
alt3 | alt3 | no description | Unknown | optional |
caption3 | caption3 | no description | Unknown | optional |
image4 | image4 | no description | Unknown | optional |
image_size4 | image_size4 | no description | Unknown | optional |
alt4 | alt4 | no description | Unknown | optional |
caption4 | caption4 | no description | Unknown | optional |