Navigation menu

Template:Pathogens and Conditions: Difference between revisions

From Metroid Wiki
m (implementing fix)
(infobox)
 
Line 1: Line 1:
{| width="300px" cellpadding="3" cellspacing="0" style="{{round|20px}} float:right; {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
{| class="infobox"
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
{| class="infobox-sub"
! colspan="2" style="{{#if: {{{image|}}}| {{roundt}} | {{round}}}} {{border}} {{background}} font-size: 13px;" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image|}}}|
{{#if: {{{image|}}}|
! colspan="2" align="center" style="{{roundb}} {{border}} {{background}}" {{!}} <div style="float:center; border-bottom:1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
<span style="font-size: 10px">{{{caption|}}}</span>}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
|}
|}
|-  
|-  
|
|
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
{| class="infobox-sub"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
! Game(s)
{{!}}  
{{!}}  
{{{games|''None''}}}
{{{games|''None''}}}
|-
|-
{{#if:{{{appearances|}}}|   
{{#if:{{{appearances|}}}|   
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Off-Game Appearance(s)
! Off-Game Appearance(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{appearances|}}}}}
{{{appearances|}}}}}
|-
|-
{{#if:{{{planet|}}}|
{{#if:{{{planet|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Planet(s)
! Planet(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{planet|}}}}}
{{{planet|}}}}}
|-  
|-  
{{#if:{{{cause|}}}|
{{#if:{{{cause|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Cause(s)
! Cause(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{cause|}}}}}
{{{cause|}}}}}
|-  
|-  
{{#if:{{{effect|}}}|
{{#if:{{{effect|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Effect(s)
! Effect(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{effect|}}}}}
{{{effect|}}}}}
|}
|}
|}
|}
<includeonly>[[Category:Pathogens and Conditions]]</includeonly><noinclude>{{clear}}
<includeonly>[[Category:Pathogens and Conditions]]</includeonly><noinclude>{{clear}}


Line 66: Line 65:
</pre>
</pre>


[[Category: Infobox Templates|{{PAGENAME}}]]
[[Category: Infobox Templates]]</noinclude>
 
</noinclude>

Latest revision as of 21:44, 16 August 2021

Pathogens and Conditions
Game(s)

None

Usage[edit source]

This template is used to display information on Pathogens and Conditions. Either the games, appearance, or both must be present. All other fields are optional.

To add this template to an article copy and paste the following code and then fill in the information:

  • Image: An image of the character, preferably artwork
  • Caption: A caption for the image, be brief, always include with an image
  • Games: Any games the character appeared in
  • Appearances: Appearances outside of games
  • Planet: Planets where the pathogen or condition are encountered
  • Cause: Pathogens or circumstances that cause Conditions
  • Effect: Symptoms or conditions caused by Pathogens

Blank code (paste onto page):

{{Pathogens and Conditions
|image=
|caption=
|games=
|appearances=
|planet=
|cause=
|effect=
}}