Wikia

Tron Wiki

Changes: Template:User Infobox

View source

Back to page

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

Latest revision as of 21:25, October 11, 2013


UsageEdit

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


{{User Infobox
|name=       
|image=      
|gallery=    False
|username=   
|alias=      
|birth=      
|death=      
|status=     
|gender=     
|hair=       
|eye=        
|job=        
|programs=   
|equipment=  
|vehicle=    
|allies=     
|actor=      
|appear=     
|bottomimage=
}}

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.

SourceEdit

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 #999999; 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:#4d4d4d; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
| colspan=2 style="background:#707070; border-bottom:1px solid #999; color:#000" | '''Biographical information'''
|-
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{username|}}}|{{!}}{{!}}Username{{!}}{{!}}{{{username}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{alias|}}}|{{!}}{{!}}Aliases{{!}}{{!}}{{{alias}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{birth|}}}|{{!}}{{!}}Birth Date{{!}}{{!}}{{{birth}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{death|}}}|{{!}}{{!}}Death Date{{!}}{{!}}{{{death}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{status|}}}|{{!}}{{!}}Status{{!}}{{!}}{{{status}}}}}
|-
| colspan=2 style="background:#707070; border-bottom:1px solid #999; color:#000" | '''Physical description'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{hair|}}}|{{!}}{{!}}Hair Color{{!}}{{!}}{{{hair}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{eye|}}}|{{!}}{{!}}Eye Color{{!}}{{!}}{{{eye}}}}}
|-
| colspan=2 style="background:#707070; border-bottom:1px solid #999; color:#000" | '''Other information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{job|}}}|{{!}}{{!}}Functions{{!}}{{!}}{{{job}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{programs|}}}|{{!}}{{!}}Programs{{!}}{{!}}{{{programs}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{equipment|}}}|{{!}}{{!}}Equipment{{!}}{{!}}{{{equipment}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{vehicle|}}}|{{!}}{{!}}Vehicles{{!}}{{!}}{{{vehicle}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{allies|}}}|{{!}}{{!}}Allies{{!}}{{!}}{{{allies}}}}}
|-
| colspan=2 style="background:#707070; border-bottom:1px solid #999; color:#000" | '''Out of universe information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{actor|}}}|{{!}}{{!}}Actor{{!}}{{!}}{{{actor}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
|-
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{bottomimage|}}}|[[File:{{{bottomimage}}}|250px]]}}
|-
| 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