Wikia

Tron Wiki

Changes: Template:Program Infobox Red

View source

Back to page

(Status constraint)
Line 13: Line 13:
 
{{#if:{{{death|}}}|{{!}}{{!}}Derezzed Date{{!}}{{!}}{{{death}}}}}
 
{{#if:{{{death|}}}|{{!}}{{!}}Derezzed Date{{!}}{{!}}{{{death}}}}}
 
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
 
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{status|}}}|{{!}}{{!}}Status{{!}}{{!}}{{{status}}}}} {{#if: {{#pos: {{lc: {{{status|}}}}} |unknown}} | <div style="color:red;">'''INVALID ENTRY!''' Please select either either "Alive", "Deceased", or "Derezzed".[[Category:Articles requiring cleanup]]</div>}}
+
{{#if:{{{status|}}}|{{!}}{{!}}Status{{!}}{{!}}{{#switch: {{lc:{{{status}}}}}
  +
| alive = Alive
  +
| derezzed = Derezzed
  +
| unknown = <div style="color:red;">'''INVALID ENTRY!''' Please select either either "Alive", or "Derezzed".[[Category:Articles requiring cleanup]]</div>}}
  +
}}
  +
}}
 
|-
 
|-
 
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Physical description'''
 
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Physical description'''

Revision as of 21:17, October 11, 2013


Usage

Copy and paste the following into the article and fill in the fields.


{{Program Infobox Red
|name=     
|image=    
|gallery=  False
|user=     
|birth=    
|death=    
|status=   
|color=    
|gender=   
|describe= 
|job=      
|equipment=
|vehicle=  
|allies=   
|actor=    
|appear=   
}}

All fields are optional. If a gallery is needed because there are more than two images in the article's body text then switching the "Gallery" parameter to "True" will provide an appropriate link in the bottom of the infobox.

Source

Taken from http://halo.wikia.com/wiki/Template:Spartan_infobox.


{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#111; border-collapse:collapse; border:1px solid #CC3333; font-size:smaller; line-height:1.5;"
|- 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
|-
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#330000; border-top:1px solid #CC3333; border-bottom:1px solid #CC3333;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Biographical information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{user|}}}|{{!}}{{!}}User{{!}}{{!}}{{{user}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{birth|}}}|{{!}}{{!}}Compile Date{{!}}{{!}}{{{birth}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{death|}}}|{{!}}{{!}}Derezzed Date{{!}}{{!}}{{{death}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{status|}}}|{{!}}{{!}}Status{{!}}{{!}}{{{status}}}}}
|-
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Physical description'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{color|}}}|{{!}}{{!}}Circuitry Color{{!}}{{!}}{{{color}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{describe|}}}|{{!}}{{!}}Description{{!}}{{!}}{{{describe}}}}}
|-
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Other information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{job|}}}|{{!}}{{!}}Functions{{!}}{{!}}{{{job}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{equipment|}}}|{{!}}{{!}}Equipment{{!}}{{!}}{{{equipment}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{vehicle|}}}|{{!}}{{!}}Vehicles{{!}}{{!}}{{{vehicle}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{allies|}}}|{{!}}{{!}}Allies{{!}}{{!}}{{{allies}}}}}
|-
| colspan=2 style="background:#1E0303; border-bottom:1px solid #CC3333; color:#FFFFFF" | '''Out of universe information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{actor|}}}|{{!}}{{!}}Actor{{!}}{{!}}{{{actor}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #CC3333;"
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
|-
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
|}

Around Wikia's network

Random Wiki