Wikia

Tron Wiki

Changes: Template:Infobox Equipment

View source

Back to page

(Locking image size + de-bracket)
 
Line 19: Line 19:
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
{{#if:{{{appear|}}}|{{!}}{{!}}Appearances{{!}}{{!}}{{{appear}}}}}
 
|-
 
|-
| colspan=2 style="text-align:center; border-bottom:1px solid #999; padding:0px;" | [[Template:Infobox Equipment|[Source]]]
+
| colspan=2 style="text-align:center; font-size:larger; background:#111; padding:0px;" |{{#if: {{#pos: {{{gallery}}} |True}} | '''[[{{PAGENAME}}/Gallery|Gallery]]'''}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>
Line 27: Line 27:
 
<pre>
 
<pre>
 
{{Infobox Equipment
 
{{Infobox Equipment
|name=
+
|name=
|image=
+
|image=
|usage=
+
|gallery=False
  +
|usage=
 
|source=
 
|source=
|users=
+
|users=
 
|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.
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 10:11, May 25, 2012


UsageEdit

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

{{Infobox Equipment
|name=   
|image=  
|gallery=False
|usage=  
|source= 
|users=  
|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.

Around Wikia's network

Random Wiki