Difference between revisions of "Template:Infobox order/sandbox"
Jump to navigation
Jump to search
imported>Jonesey95 (try to test for awarded by) |
imported>Re5x |
||
| Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{infobox | ||
| − | |||
| − | |||
| abovestyle = font-size: 125%; color: #f9f9f9; background-color: #2a52be; text-align: center; | | abovestyle = font-size: 125%; color: #f9f9f9; background-color: #2a52be; text-align: center; | ||
| above = {{{name|{{{title|{{PAGENAMEBASE}} }}} }}} | | above = {{{name|{{{title|{{PAGENAMEBASE}} }}} }}} | ||
| Line 9: | Line 7: | ||
| headerstyle = background-color: #c0c0c0 | | headerstyle = background-color: #c0c0c0 | ||
| − | | 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 = Country | |
| − | | label4 = | + | | data4 = {{{country|}}} |
| − | | data4 = {{{ | + | | label5 =Royal house |
| − | | label5 = | + | | data5 = {{{house|}}} |
| − | | data5 = {{{ | + | | label6 = Religious affiliation |
| − | | label6 = | + | | data6 = {{{religion|}}} |
| − | | data6 = {{{ | + | | label7 = {{#if:{{{classes|{{{classes|}}}}}}|Classes|Grades}} |
| − | | label7 = | + | | data7 = {{#if:{{{classes|{{{classes|}}}}}} | {{{classes|{{{classes}}}}}} | {{{grades|{{{grades|}}}}}}}} |
| − | | data7 = {{{ | + | | label8 = Ribbon |
| − | | label8 = | + | | data8 = {{{ribbon|}}} |
| − | | data8 = {{{ | + | | label9 = Motto |
| − | | label9 = | + | | data9 = {{{motto|}}} |
| − | | data9 = {{{ | + | | label10= Day |
| − | | label10 = | + | | data10 = {{{day|}}} |
| − | | data10 = {{{ | + | | label11 = Eligibility |
| − | | label11 = | + | | data11 = {{{eligibility|}}} |
| − | | data11 = {{{ | + | | label12 = Awarded for |
| − | | label12 = | + | | data12 = {{{for|}}} |
| − | | data12 = {{{ | + | | label13 = Status |
| − | | label13 = | + | | data13 = {{{status|}}} |
| − | | data13 = | + | | label14 = First {{{head_title|}}} |
| − | | label14 = | + | | data14 = {{{first head|}}} |
| − | | data14 = {{{head|}}} | + | | label15 = {{{head_title|}}} |
| − | | label15 = {{{ | + | | data15 = {{{head|}}} |
| − | | data15 = {{{ | + | | label16 = {{{head2_title|}}} |
| − | | label16 = | + | | data16 = {{{head2|}}} |
| − | | data16 = {{{ | + | | label17 = {{{head3_title|}}} |
| − | | label17 | + | | data17 = {{{head3|}}} |
| − | |||
| − | | | ||
| − | |||
| label19 = Post-nominals | | label19 = Post-nominals | ||
| data19 = {{{post-nominals|}}} | | data19 = {{{post-nominals|}}} | ||
| label20 = Former grades | | label20 = Former grades | ||
| − | | data20 = {{{former_grades|}}} | + | | data20= {{{former_grades|}}} |
| header21 = {{#if:{{{established|{{{date|}}}}}}{{{replaced|}}}{{{first_induction|}}}{{{last_induction|}}}{{{total|}}}{{{recipients|}}}|Statistics}} | | header21 = {{#if:{{{established|{{{date|}}}}}}{{{replaced|}}}{{{first_induction|}}}{{{last_induction|}}}{{{total|}}}{{{recipients|}}}|Statistics}} | ||
| Line 77: | Line 72: | ||
| 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}}}}}}} | ||
| − | }}</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}}]]}}|preview=Page using [[Template:Infobox order]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | alt2 | awarded_by | caption | caption2 | classes | country | date | day | eligibility | established | first head | first_induction | for | former_grades | grades | head | head_title | head2 | head2_title | higher | house | image | image_size | image_size2 | image2 | last_induction | lower | motto | name | post-nominals | recipients | related | religion | replaced | ribbon | same | status | title | total | type }}<noinclude>{{doc}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> |
Latest revision as of 06:49, 24 April 2017
| This is the template sandbox page for Template:Infobox order (diff). |
| This template uses Lua: |
Blank
Template:Parameter names example
{{Infobox order
| name = <!-- or | title = -->
| 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, in case of dynastic orders, use royal house -->
| house = <!-- If dynastic order, royal house that currently controls the order -->
| religion = <!-- [[Catholic Church]], etc. -->
| seat =
| ribbon =
| motto =
| eligibility =
| criteria =
| status =
| 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 =
| total =
| higher =
| lower =
| same =
| related =
| image2 =
| image_size2 =
| alt2 =
| caption2 =
}}
Example
| Order of Saints Maurice and Lazarus | |
|---|---|
![]() Insignia of a Commander of the order | |
| Awarded by | |
| Type | Dynastic order of chivalry |
| Established | 16 September 1572 (Order of Saint Maurice: 1434) (Order of Saint Lazarus: 1119) |
| Royal house | House of Savoy |
| Religious affiliation | Catholic |
| Ribbon | Green |
| Motto | FERT |
| Eligibility | Military, civilian |
| Criteria | Distinguished merits |
| Status | Active in exile |
| Founder | Emmanuel Philibert, Duke of Savoy (1528–1580) |
| Grand Master | Vittorio Emanuele, Prince of Naples Disputed: Prince Amedeo, Duke of Aosta |
| Grades | |
| Statistics | |
| Total inductees | Circa 2,000 |
| Precedence | |
| Next (higher) | Supreme Order of the Most Holy Annunciation |
| Next (lower) | Military Order of Savoy |
Ribbon bar | |
{{Infobox order
| name = Order<br>of Saints Maurice and Lazarus
| title =
| image = [[File:OSSML_Commandeur.jpg|150px]]
| caption = Insignia of a [[Commander (order)|Commander]] of the order
| image2 = [[Image:Cavaliere_SSML_BAR.svg|85px]]
| caption2 = [[Ribbon bar]]
| awarded_by = {{flagicon|Italy|1861}} [[House of Savoy]]
| type = [[Dynastic order|Dynastic]] [[order of chivalry]]
| country = <!-- Country with which the order is currently affiliated, in case of dynastic orders, use royal house -->
| house = [[House of Savoy]]
| religion = [[Catholic Church|Catholic]]
| classes = <!-- Default:classes, or use: grades -->
| ribbon = {{color box|green}} Green
| motto = [[FERT]]
| eligibility = [[Military]], [[civilian]]
| for = Distinguished merits
| status = Active in [[exile]]
| first head = [[Emmanuel Philibert, Duke of Savoy]] (1528–1580)
| head_title = [[Grand Master (order)|Grand Master]]
| head = [[Vittorio Emanuele, Prince of Naples]]<br>Disputed: [[Prince Amedeo, Duke of Aosta (b. 1943)|Prince Amedeo, Duke of Aosta]]
| head2_title =
| head2 =
| grades = {{plainlist}}[[Grand Cross]]<br>[[Grand Officer]]<br>[[Commander (order)|Commander]]<br>[[Officer]]<br>[[Knight]]/[[Dame]]{{endplainlist}}
| post-nominals =
| former_grades =
| established = 16 September 1572<br>''([[Order of Saint Maurice]]: 1434)<br>([[Order of Saint Lazarus]]: 1119)''
| first_induction =
| last_induction =
| total = Circa 2,000
| higher = [[Supreme Order of the Most Holy Annunciation]]
| same =
| lower = [[Military Order of Savoy]]
| related =
| individual =
}}
Microformat
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox order
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name title | no description | 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 |
Tracking category
See also
Template:Organization infoboxes
| The above documentation is transcluded from Template:Infobox order/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
