Changes

Jump to: navigation, search

Template:MOB infobox

537 bytes removed, 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 Type|Anatomy]]| [[{{{type|Rage-}}}]]|icon- valign="top"! style="background:#eee;" 30px.gif| [[NotorietyRage]]| {{{notorietyrage|-}}}{{ #if:{{{curse|}}} |{{pipe}}-! style="background:#f5e0c7;" {{pipe}} [[Curse]]{{pipe}} {{{curse}}}
}}
|-! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Anatomy:| <div class="block2" style="color:#ffffff;">[[{{{type}}}]]</div>|-{{ #if:{{{effectivenotoriety|}}}|{{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}}} </div>}}|-{{ #if:{{{curse|}}}|{{pipe}}-valign="top"! style="background:#f5e0c7;color:#000000; border-radius:2px; width:100px; padding:10px;" align="center" {{pipe}} [[EffectiveCurse:]]{{pipe}} <div class="block2" style="color:#ffffff;">{{{effectivecurse}}}</div>
}}
|-{{ #if:{{{effective|}}} |{{pipe}}-valign="top"! style="background:#f5e0c7eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} [[IneffectiveEffective:]]{{pipe}} <div class="block2" style="color:#ffffff;">{{{ineffectiveeffective}}}</div>
}}
|}<!-- automatic categories -->{{ #if: {{{typeveffective|}}} | [[Category{{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;">{{{typeveffective}}}]] </div>}}|-{{ #if: {{{curseineffective|}}} | [[Category:Has curse]] {{pipe}}- valign="top"<!style="background:#eee; color:#000000; border-- end categories --><noinclude><noinclude>radius:2px; width:100px;" align="center" {{pipe}} Ineffective:{{clearpipe}}__NOTOC__<div class="block2" style=Syntax==<pre"color:#ffffff;">{{MOB infobox| name = | image = | type =| armor =| health =| rage =| notoriety = {ineffective}}}</div>
}}
</pre>|-{{ #if:{{{vineffective|}}}|{{pipe}}- valign="top"! style==Parameters==; name"background: Optional. Defaults to article name.#eee; imagecolor: Optional. Defaults to a .jpg image of the article's name. If specified, use <code><nowiki>[[Image:Creature name.jpg|300px|]]</nowiki></code>#000000; typeborder-radius: MUST match an existing [[:Category:Creatures by Type]]; armor; health2px; ragewidth: Numerical values as displayed in the in-game target box.100px; notoriety: OPTIONAL. Show notoriety XP gain for special creatures. <span style" align="colorcenter" {{pipe}} Very Ineffective:red">(it always show until wiki extensions are installed).{{pipe}} </span> ==Description=div class=Create an attractive "info card" for enemies and bosses. This is another way to liven up the pages. It also provides a consistent block2"at a glance" information box with vital information that is consistent across all creatures. Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page. <span style="color:#484ffffff;">This template will have more parameters, but is awaiting Wiki Extensions.{{{vineffective}}}</span> ; Automatic categories: '''curse''' =div> this will add "Has curse" and will show up in the [[Curse]] boss list: '''type''' => the anatomy type will list under the corresponding category for creature type lists, eg. [[Undead]] ==Examples==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-set with the article name):<pre>{{MOB infobox| type = Arthropod| armor = 5| health = 45| rage = 60
}}
</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= [[Image: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}}==TODOs (Gorgonzola)==</noinclude><includeonly><!-- automatic categories -->Notes for later{{ #if:{{{type|}}} | [[Category:{{{type}}}]] }}* XP amounts like Notoriety should be pulled with Semantic Data?  {{ #if: {{{curse|}}} | [[Category:Formatting templates|MOB infoboxHas curse]]}}<!-- end categories --></noincludeincludeonly>

Navigation menu