Wikia

Tron Wiki

Changes: Template:Program Infobox Green

Edit

Back to page

(Weapon to equipment transition)
(Gallery link)
 
Line 39: Line 39:
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
|-
 
|-
| colspan=2 style="text-align:center; background:#111; padding:0px;" | [[Template:Program Infobox Green|[Source]]]
+
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>
Line 48: Line 48:
   
 
{{Program Infobox Green
 
{{Program Infobox Green
|name=
+
|name=
|image=
+
|image=
|user=
+
|gallery= False
|birth=
+
|user=
|death=
+
|birth=
|status=
+
|death=
|color=
+
|status=
|gender=
+
|color=
|describe=
+
|gender=
|job=
+
|describe=
  +
|job=
 
|equipment=
 
|equipment=
|vehicle=
+
|vehicle=
|allies=
+
|allies=
|actor=
+
|actor=
|appear=
+
|appear=
 
}}
 
}}
 
</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 115: Line 115:
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
|-
 
|-
| colspan=2 style="text-align:center; background:#111; padding:0px;" | [[Template:Program Infobox Green|[Source]]]
+
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
 
|}
 
|}
 
</pre>
 
</pre>

Latest revision as of 03:18, May 23, 2012


UsageEdit

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


{{Program Infobox Green
|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.

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 #08B19F; 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:#00332A; border-top:1px solid #08B19F; border-bottom:1px solid #08B19F;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
| colspan=2 style="background:#001D1A; border-bottom:1px solid #08B19F; color:#FFFFFF" | '''Biographical information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{user|}}}|{{!}}{{!}}User{{!}}{{!}}{{{user}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{birth|}}}|{{!}}{{!}}Compile Date{{!}}{{!}}{{{birth}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{death|}}}|{{!}}{{!}}Derezzed Date{{!}}{{!}}{{{death}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{status|}}}|{{!}}{{!}}Status{{!}}{{!}}{{{status}}}}}
|-
| colspan=2 style="background:#001D1A; border-bottom:1px solid #08B19F; color:#FFFFFF" | '''Physical description'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{color|}}}|{{!}}{{!}}Circuitry Color{{!}}{{!}}{{{color}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{describe|}}}|{{!}}{{!}}Description{{!}}{{!}}{{{describe}}}}}
|-
| colspan=2 style="background:#001D1A; border-bottom:1px solid #08B19F; color:#FFFFFF" | '''Other information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{job|}}}|{{!}}{{!}}Functions{{!}}{{!}}{{{job}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{weapon|}}}|{{!}}{{!}}Equipment{{!}}{{!}}{{{weapon}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{equipment|}}}|{{!}}{{!}}Equipment{{!}}{{!}}{{{equipment}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{vehicle|}}}|{{!}}{{!}}Vehicles{{!}}{{!}}{{{vehicle}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{allies|}}}|{{!}}{{!}}Allies{{!}}{{!}}{{{allies}}}}}
|-
| colspan=2 style="background:#001D1A; border-bottom:1px solid #08B19F; color:#FFFFFF" | '''Out of universe information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#if:{{{actor|}}}|{{!}}{{!}}Actor{{!}}{{!}}{{{actor}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #08B19F;"
{{#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