Template:Infobox order: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
(fix numbering error (can't have header and data with the same number))
 
imported>ChaseYUL99
(4th image added (initially needed for National Order of Quebec article))
 
(One intermediate revision by one other user not shown)
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|220px}}}|alt={{{alt|}}}}}
| 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     = {{#if:{{{established|{{{established|}}}}}}|Established|Founded}}
| label4     = {{#if:{{{established|{{{established|}}}}}}|Established|Founded}}
| data4     = {{#if:{{{established|{{{established|}}}}}} | {{{established|{{{established}}}}}} | {{{founded|{{{founded|}}}}}}}}
| 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&nbsp;affiliation
| label7     = Religious&nbsp;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   = {{#if:{{{classes|{{{classes|}}}}}}|Classes|Grades}}
| label18     = {{#if:{{{classes|{{{classes|}}}}}}|Classes|Grades}}
| data18   = {{#if:{{{classes|{{{classes|}}}}}} | {{{classes|{{{classes}}}}}} | {{{grades|{{{grades|}}}}}}}}
| data18     = {{#if:{{{classes|{{{classes|}}}}}} | {{{classes|{{{classes}}}}}} | {{{grades|{{{grades|}}}}}}}}
| label19 = Post-nominals
| label19     = Post-nominals
| data19 = {{{post-nominals|}}}
| data19     = {{{post-nominals|}}}
| label20 = Former&nbsp;grades
| label20     = Former&nbsp;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 | 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 | image_size | image_size2 | image2 | 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>
}}</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