Jump to content

Template:Mob: Difference between revisions

From Drifters Almanac
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<div class="mob-template">
<includeonly>{{DISPLAYTITLE:{{{mob_name}}}}}</includeonly>
'''{{{mob_name|{{PAGENAME}}}}}'''
{{#if:{{{mob_image|}}}|[[File:{{{mob_image}}}|thumb|{{{mob_name}}}]]}}
<!--
<!--
== Usage ==
==========================
 
      OVERVIEW         
 
==========================
{{Mob
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Overview</div>
|mob name=
<hr style="border: 0; border-top: 1px solid #555;" />
|mob family=
<div style="margin-left: 1em;">
|image file=
{{#if:{{{zone|}}}|'''Location:''' [[{{{zone|}}}]]<br />
|zone=
}}{{#if:{{{mob_family|}}}|'''Family: {{{mob_family}}}'''<br />
|map file name=
}}{{#if:{{{level_low|}}}|'''Level:''' {{{level_low}}}{{#if:{{{level_high|}}}| - {{{level_high|}}}}}<br />
|hit points=
}}{{#if:{{{hit_points_low|}}}|'''Estimated HP:''' {{{hit_points_low}}}{{#if:{{{hit_points_high|}}}| - {{{hit_points_high|}}}}}<br />
|drops=
}}</div><!--
|harvest=
==========================
|abilities=
        DROPS       
|notes=
==========================
 
-->{{#ifexpr:{{#ask:[[Dropped by::{{PAGENAME}}]]|format=count}} > 0|
}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Drops</div>
 
<hr style="border: 0; border-top: 1px solid #555;" />
-->
{{#ask:
[[File:{{{image file}}}|thumb|{{{mob name}}}]]
[[Dropped by::{{PAGENAME}}]]
{{#if: {{{zone}}}
|format=ul
|<h2> Location </h2>
{{{zone}}}
{{#if: {{{map file name}}}
|[[File:{{{map file name}}}|thumb]]
}}
}}
{{#if: {{{hit points}}}
|<h2> Estimated HP </h2>
{{{hit points}}}
}}
{{#if: {{{abilities}}}
|<h2> Abilities </h2>
{{{abilities}}}
}}
{{#if: {{{drops}}}
|<h2> Drops </h2>
{{Div col|colwidth=20em}}
{{{drops}}}
{{Div col end}}
}}
{{#if: {{{harvest}}}
|<h2> Harvest </h2>
{{{harvest}}}
}}
}}
{{#if: {{{notes}}}
</div>
|<h2> Note </h2>
}}<!--
{{{notes}}}
==========================
      HARVEST     
==========================
-->{{#ifexpr:{{#ask:[[Harvested from::{{PAGENAME}}]]|format=count}} > 0|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Harvest</div>
<hr style="border: 0; border-top: 1px solid #555;" />
{{#ask:
[[Harvested from::{{PAGENAME}}]]
|format=ul
}}
}}
</div>
}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Mobs]]</includeonly>
{{#if:{{{mob_family|}}}|[[Category:{{{mob_family}}} Mobs]]}}


<includeonly>[[Category:Mobs]]
<includeonly><div style="display:none">
[[Category:{{{mob family}}}]]</includeonly>
[[Location::{{{zone|}}}]]
[[Mob family::{{{mob_family|}}}]]
[[Level (low)::{{{level_low|}}}]]
[[Level (high)::{{{level_high|}}}]]
[[Hit points (low)::{{{hit_points_low|}}}]]
[[Hit points (high)::{{{hit_points_high|}}}]]
<span style="display:none">{{#default_form:Mob}}</span>
</div></includeonly>

Revision as of 18:09, 25 June 2025

Mob

Overview