Open main menu

Project: Gorgon Wiki β

Changes

Template:MOB infobox

1,639 bytes added, 09:32, 22 September 2020
m
Switched Anatomy/type link back to a direct path.
{| style="margin:0 0 0.5em 1em1px; border:1px solid #ccc423930; float:right; text-align:left; position:relative; border-radius:5px; background:#f9f9f91e1615ff;" cellpadding="5"! colspan="2" style|<div class="fontib-tbl-sizehd">[[File:17px; textMain_Page_Headers_Bg.png|300px]]</div> <div class="ib-align:center; backgroundtbl-color:#7de36f;color:#185110;hdt" | >{{{nametitle|{{PAGENAME}}title}}}</div>
|-
| style="width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpgpng{{pipe}}300px{{pipe}}]]}}} <br><div class="block2" style="font-size:14px;color:#ffffff;">{{{caption|}}}</div>
|-
{{ #ifeq:{{{health|-}}}|-|| style{{pipe}}- valign="font-size:19pxtop" ! colspan="2;" style=" font-size:17px; text-align:center; border-radius:2px; background-color:#7b2c19ff;color:#ffffff;"{{pipe}}<span style="centerpadding:0 1em 0 .5em" | >[[Image:ArmorHealth-icon-30px.gif|ArmorHealth]]{{{health|-}}}</span><span style="padding:0 1em 0 .5em">[[Image:Armor-icon-30px.gif|Armor]]{{{armor|-}}}</span><span style="padding:0 1em 0 .5em">[[Image:HealthRage-icon-30px.gif|HealthRage]]{{{rage|-}}}}}|-! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Anatomy:| <span div class="block2" style="paddingcolor:0 1em 0 .5em#ffffff;">[[{{{healthtype}}}]]</div>|-{{ #if:{{{notoriety|}}}|{{pipe}}-valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Notoriety:{{pipe}} <div class="block2" style="color:#ffffff;">{{{notoriety}}}</spandiv>[[Image}}|-{{ #if:{{{curse|}}}|{{pipe}}- valign="top"! style="background:#f5e0c7; color:Rage#000000; border-iconradius:2px; width:100px; padding:10px;" align="center" {{pipe}} Curse:{{pipe}} <div class="block2" style="color:#ffffff;">{{{curse}}}</div>}}|-30px.gif{{ #if:{{{effective|}}}|Rage]]{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Effective:{{pipe}} <span div class="block2" style="paddingcolor:0 1em 0 .5em#ffffff;">{{{rageeffective}}}</div>}}|-{{ #if:{{{veffective|}}}|{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Effective:{{pipe}} <div class="block2" style="color:#ffffff;">{{{veffective}}}</spandiv>}}|-{{ #if:{{{ineffective|}}}|{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px;width:100px;" | [[ align="center" {{pipe}} Ineffective:Category{{pipe}} <div class="block2" style="color:Creatures by Type#ffffff;">{{{ineffective}}}</div>}}|Anatomy]]-{{ #if:{{{vineffective|}}}| [[{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Ineffective:{{pipe}} <div class="block2" style="color:Category#ffffff;">{{{vineffective}}}</div>}}|-{{ #if:{{{typeimmune|Rodent}}}|{{pipe}}- valign="top"! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Immune:{{type|Rodentpipe}} <div class="block2" style="color:#ffffff;">{{{immune}}}]]</div>}}
|}
 
<noinclude>
{{Documentation}}==Syntax==<pre/noinclude><includeonly><!-- automatic categories -->{{MOB infobox| name = | image = | #if: {{{type =| armor =| health =| rage =}}</pre> ==Parameters==; name: Optional. Defaults to article name.; image: Optional. Defaults to a .jpg image of the article's name. If specified, use } | [[ImageCategory:Creature name.jpg{{{type}}}]]}}; type{{ #if: MUST match an existing {{{curse|}}} | [[:Category:Creatures by TypeHas curse]]}} ; armor; health; rage: Numerical values as displayed in the in<!-- end categories --game target box. ==Examples==[[MOB infobox Examples]] [[Category:Formatting templates|MOB infobox]]></noincludeincludeonly>