Changes

Jump to: navigation, search

Template:MOB infobox

1,138 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;" alignstyle="font-size:17px; text-align:center" | [[Image; border-radius:Armor2px; background-icon-30px.gif|Armor]]color:#7b2c19ff;color:#ffffff;"{{pipe}}<span style="padding:0 1em 0 .5em">{{{armor|-}}}</span>[[Image:Health-icon-30px.gif|Health]]{{{health|-}}}</span><span style="padding:0 1em 0 .5em">{{{health|-}}}</span>[[Image:RageArmor-icon-30px.gif|RageArmor]]<span style="padding:0 1em 0 .5em">{{{ragearmor|-}}}</span>|- valign="top"! <span style="backgroundpadding:#eee;width:100px;0 1em 0 .5em" | >[[Image:Category:Creatures by TypeRage-icon-30px.gif|AnatomyRage]]| [[:Category:{{{typerage|Rodent}}}|{{{type|Rodent}}-}]]|}<noinclude>{{clear}}==Syntax==<pre>{{MOB infobox| name = | image = | type =| armor =| health =| rage =
}}
|-! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Anatomy:| <div class="block2" style="color:#ffffff;">[[{{{type}}}]]</prediv>|-{{ #if:{{{notoriety|}}}|{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align=Parameters"center" {{pipe}} Notoriety:{{pipe}} <div class="block2" style="color:#ffffff;">{{{notoriety}}}</div>; name}}|-{{ #if: Optional. Defaults to article name.{{{curse|}}}|{{pipe}}- valign="top"! style="background:#f5e0c7; color:#000000; imageborder-radius:2px; width:100px; padding:10px;" align="center" {{pipe}} Curse:{{pipe}} <div class="block2" style="color: Optional. Defaults to a .jpg image of the article's name. If specified, use [[Image#ffffff;">{{{curse}}}</div>}}|-{{ #if:Creature name.jpg]]{{{effective|}}}|{{pipe}}- valign="top"! style="background:#eee; color:#000000; typeborder-radius: MUST match an existing [[2px; width:Category100px;" align="center" {{pipe}} Effective:Creatures by Type]] {{pipe}} <div class="block2" style="color:#ffffff; armor">{{{effective}}}</div>; health}}; rage|-{{ #if: Numerical values as displayed in the in{{{veffective|}}}|{{pipe}}-game target box.valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Very Effective:{{pipe}} <div class="block2" style=Examples"color:#ffffff;">{{{veffective}}}</div>}}|-{{ #if:{{{ineffective|}}}|{{pipe}}- valign="top"! style=The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre"background:#eee; color:#000000; border-set with the article name)radius:2px; width:100px;" align="center" {{pipe}} Ineffective:{{pipe}} <prediv class="block2" style="color:#ffffff;">{{MOB infobox{ineffective}}}</div>}}| type = Arthropod-{{ #if:{{{vineffective| armor }}}|{{pipe}}- valign= 5"top"| health ! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align= 45"center" {{pipe}} Very Ineffective:| rage {{pipe}} <div class="block2" style= 60"color:#ffffff;">{{{vineffective}}}</div>
}}
</pre>|- If an image already exists which name does not match the article name, or in a different format (png) specify like so{{ #if:<pre>{{MOB infobox{immune|}}}| image {{pipe}}- valign= [[File:Black Widow.png|300px]]"top"| type ! style= Arthropod| armor "background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align= 5"center" {{pipe}} Immune:| health {{pipe}} <div class= 45| rage "block2" style= 60"color:#ffffff;">{{{immune}}}</div>
}}
|}</prenoinclude>{{Documentation}}</noinclude><includeonly><!-- automatic categories -->{{ #if: {{{type|}}} | [[MOB infobox ExamplesCategory:{{{type}}}]]}} {{ #if: {{{curse|}}} | [[Category:Formatting templates|MOB infoboxHas curse]]}}<!-- end categories --></noincludeincludeonly>

Navigation menu