Template:Creature-infobox: Difference between revisions

From Metroid Wiki
infobox
m (it was bothering me)
(infobox)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="300px" cellpadding="3" cellspacing="0" align="right" style="{{round|20px}} {{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" align="center" style="{{round}} {{border}} {{background}}"
{| class="infobox-sub"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} {{#if: {{{games|}}}|Games|Game}}
! Game(s)
{{!}}
{{!}}
{{{games|{{{game|''None''}}}}}}
{{{games|{{{game|''None''}}}}}}
|-
|-
{{#if:{{{appearances|}}}{{{appearance|}}}|
{{#if:{{{appearances|}}}{{{appearance|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Off-Game {{#if: {{{appearances|}}}|Appearances|Appearance}}
! Off-Game Appearance(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{appearances|}}}{{{appearance|}}}}}
{{{appearances|}}}{{{appearance|}}}}}
|-
|-
{{#if:{{{mainspecies|}}}|
{{#if:{{{mainspecies|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Main Species
! Main Species
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{mainspecies|}}}}}
{{!}}
{{{mainspecies|}}}}}
|-
|-
{{#if:{{{damage|}}}|
{{#if:{{{damage|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Damages by
! Damages by
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{damage|}}}}}
{{{damage|}}}}}
|-
|-
{{#if:{{{weaknesses|}}}{{{weakness|}}}|
{{#if:{{{weaknesses|}}}{{{weakness|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} {{#if:{{{weaknesses|}}}|Weaknesses|Weakness}}
! Weakness(es)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{weaknesses|}}}{{{weakness|}}}}}
{{{weaknesses|}}}{{{weakness|}}}}}
|-
|-
{{#if:{{{immunities|}}}|
{{#if:{{{immunities|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Immune to
! Immune to
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{immunities|}}}}}
{{{immunities|}}}}}
|-
|-
{{#if:{{{vulnerablearea|}}}{{{vulnerableareas|}}}|
{{#if:{{{vulnerablearea|}}}{{{vulnerableareas|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} {{#if:{{{vulnerableareas|}}}|Vulnerable Areas|Vulnerable Area}}
! Vulnerable Area(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{vulnerableareas|}}}{{{vulnerablearea|}}}}}
{{{vulnerableareas|}}}{{{vulnerablearea|}}}}}
|-
|-
{{#if:{{{rewards|}}}|
{{#if:{{{rewards|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Rewards
! Rewards
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{rewards|}}}}}
{{{rewards|}}}}}
|-
|-
{{#if:{{{threat|}}}|
{{#if:{{{threat|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Threat Capacity
! Threat Capacity
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}  
{{{threat|}}}}}
{{{threat|}}}}}
|-
|-
{{#if:{{{habitats|}}}{{{habitat|}}}|
{{#if:{{{habitats|}}}{{{habitat|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} {{#if: {{{habitats|}}}|Natural Habitats|Natural Habitat}}
! Natural Habitat(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{habitats|}}}{{{habitat|}}}}}
{{{habitats|}}}{{{habitat|}}}}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Located in
! Located in
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{location|}}}}}
{{{location|}}}}}
|}
|}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}|}}<noinclude>{{clear}}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}}}
<noinclude>{{clear}}
 
==Usage==
==Usage==
To use this template copy the following and fill in the appropriate information. All fields are optional, though the ones that should be filled just about every time are Image, Caption, Games, and either habitat or location. The title displayed by adding name=''name'' as seen in [[Metroid Prime (specimen)]].
To use this template copy the following and fill in the appropriate information. All fields are optional, though the ones that should be filled just about every time are Image, Caption, Games, and either habitat or location. The title displayed by adding name=''name'' as seen in [[Metroid Prime (specimen)]].
Line 74: Line 77:
*'''''Damage:''''' Any method the creature has to damage Samus, if applicable
*'''''Damage:''''' Any method the creature has to damage Samus, if applicable
*'''''Weaknesses:''''' Any '''particular''' weaknesses a creature has, do not list "Power Beam" or anything similar if the creature has no weaknesses. If the creature has more than one one weakness, use "weaknesses=" rather than "weakness="
*'''''Weaknesses:''''' Any '''particular''' weaknesses a creature has, do not list "Power Beam" or anything similar if the creature has no weaknesses. If the creature has more than one one weakness, use "weaknesses=" rather than "weakness="
*'''''Immunities:''''' Any attack the creature by be immune to
*'''''Immunities:''''' Any attack the creature is immune to
*'''''Vulnerableareas:''''' Any vulnerabilities (e.g. neck, mouth, shoulder), if it is vulnerable in more than one area, us "vulnerableareas=" rather than "vulnerablearea="
*'''''Vulnerableareas:''''' Any vulnerabilities (e.g. neck, mouth, shoulder), if it is vulnerable in more than one area, use "vulnerableareas=" rather than "vulnerablearea="
*'''''Rewards:''''' Any Reward given for defeating the creature
*'''''Rewards:''''' Any Reward given for defeating the creature
*'''''Habitats:''''' Any area where wildlife creatures reside. If the creature has only one known habitat, use "habitat=" rather than "habitats="
*'''''Habitats:''''' Any area where wildlife creatures reside. If the creature has only one known habitat, use "habitat=" rather than "habitats="
Line 83: Line 86:


'''Blank code <small>(paste onto page)</small>:'''
'''Blank code <small>(paste onto page)</small>:'''
<pre>{{Creature-infobox
<pre>{{Creature-infobox
|image=
|image=
Line 99: Line 103:
}}</pre>
}}</pre>


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