Wikia

Tron Wiki

Changes: Template:User Infobox

View source

Back to page

(Weapon to equipment transition)
(Gallery link)
Line 46: Line 46:
 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{bottomimage|}}}|[[File:{{{bottomimage}}}|250px]]}}
 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{bottomimage|}}}|[[File:{{{bottomimage}}}|250px]]}}
 
|-
 
|-
| colspan=2 style="text-align:center; background:#111; padding:0px;" | [[Template:User Infobox|[Source]]]
+
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>
Line 55: Line 55:
   
 
{{User Infobox
 
{{User Infobox
|name=
+
|name=
|image=
+
|image=
|username=
+
|gallery= False
|alias=
+
|username=
|birth=
+
|alias=
|death=
+
|birth=
|status=
+
|death=
|gender=
+
|status=
|hair=
+
|gender=
|eye=
+
|hair=
|job=
+
|eye=
|programs=
+
|job=
|equipment=
+
|programs=
|vehicle=
+
|equipment=
|allies=
+
|vehicle=
|actor=
+
|allies=
|appear=
+
|actor=
  +
|appear=
 
|bottomimage=
 
|bottomimage=
 
}}
 
}}
 
</pre>
 
</pre>
   
All fields are optional.
+
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==
 
==Source==
Line 130: Line 130:
 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{bottomimage|}}}|[[File:{{{bottomimage}}}|250px]]}}
 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{bottomimage|}}}|[[File:{{{bottomimage}}}|250px]]}}
 
|-
 
|-
| colspan=2 style="text-align:center; background:#111; border-bottom:1px solid #999; padding:0px;" | [[Template:User Infobox|[Source]]]
+
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
 
|}
 
|}
 
</pre>
 
</pre>

Revision as of 01:52, May 23, 2012


Usage

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.

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 #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