Navigation menu
Template:Pathogens and Conditions: Difference between revisions
From Metroid Wiki
Metroidking (talk | contribs) m (implementing fix) |
(infobox) |
||
Line 1: | Line 1: | ||
{| | {| class="infobox" | ||
| | | | ||
{| | {| class="infobox-sub" | ||
! colspan="2" style=" | ! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}'' | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if: {{{image|}}}| | ||
! colspan="2" | {{!}} 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>}} | ||
|} | |} | ||
|- | |- | ||
| | | | ||
{| | {| class="infobox-sub" | ||
! | ! Game(s) | ||
{{!}} | {{!}} | ||
{{{games|''None''}}} | {{{games|''None''}}} | ||
|- | |- | ||
{{#if:{{{appearances|}}}| | {{#if:{{{appearances|}}}| | ||
! | ! Off-Game Appearance(s) | ||
{{!}} | |||
{{{appearances|}}}}} | {{{appearances|}}}}} | ||
|- | |- | ||
{{#if:{{{planet|}}}| | {{#if:{{{planet|}}}| | ||
! | ! Planet(s) | ||
{{!}} | |||
{{{planet|}}}}} | {{{planet|}}}}} | ||
|- | |- | ||
{{#if:{{{cause|}}}| | {{#if:{{{cause|}}}| | ||
! | ! Cause(s) | ||
{{!}} | |||
{{{cause|}}}}} | {{{cause|}}}}} | ||
|- | |- | ||
{{#if:{{{effect|}}}| | {{#if:{{{effect|}}}| | ||
! | ! Effect(s) | ||
{{!}} | |||
{{{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 | [[Category: Infobox Templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 21:44, 16 August 2021
| ||
|
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= }}