Template:Infobox Mob Family: Difference between revisions

From HorizonXI Wiki
m (Undo revision 34160 by Chiimi (talk))
Tag: Undo
(reworked the layout and did some improvements to code design and readability)
Line 1: Line 1:
<noinclude><pre>{{Infobox Mob Family
<includeonly><onlyinclude><!--
 
Cheat sheet that is only visible during preview
-->{{#switch:{{{1|}}}|bp|boilerplate={{Preview Only Infobox|<pre>{{Infobox Mob Family
| name =
| image =  
| image =  
| imagesize =  
| imagesize =  
Line 22: Line 26:
| Description =  
| Description =  
}}
}}
</pre></noinclude>__NOTOC__[[Category:Bestiary]]
</pre>|disable={{{1|}}}}}<!--
{| border="0" width="100%" cellpadding="5" cellspacing="2"
-->|#default={{Preview Only Infobox|<pre>{{Infobox Mob Family
|BGCOLOR="#e3e6ff" rowspan="1" width="70%" valign="top"|
| name = {mob name}
<div style="margin:0;background-color:#ccccff;font-size:120%;font-weight:bold;border:1px solid #a0a0ff;text-align:left;color:#000;padding:0.2em 0.4em;">{{PAGENAME}}</div>
| image = {name of image file}
<div style="padding:0.4em 0.2em; border: 5px double #aaa;">
| imagesize = {number in pixels, optional}
[[File:{{{image}}}|{{{imagesize|200}}}px|left]]{{{Description}}}
| System = {type of mob}
</div>
| Subspecies =
|BGCOLOR="#e3e6ff" rowspan="3" valign="top"|
| Behavior =  
<div style="margin:0;background-color:#ccccff;font-size:120%;font-weight:bold;border:1px solid #a0a0ff;text-align:left;color:#000;padding:0.2em 0.4em;">Family Information</div>
| Uncommon Behavior =  
{| style="align:right; width: {{{infoboxwidth|25}}}em; font-size: 90%; text-align: left; border: 5px double #aaa;" cellpadding="3"
| Weak =  
|-
| Strong =
{{#if:{{{System|}}}|{{#ifeq:{{{System}}}|{{{System}}}|{{!}}-
| Immunities =  
{{!}} style="background-color: #ccccff; font-weight:bold; width: 12em;" {{!}} '''[[Beast Strength Chart|{{Color|black|Type}}]]:''' {{!}}{{!}} {{{System}}} }} |}}  
| Healed =  
|-
| Common Job =  
{{#if:{{{Subspecies|}}}|{{#ifeq:{{{Subspecies}}}|{{{Subspecies}}}|{{!}}-
| Uncommon Job =
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Subfamilies:''' {{!}}{{!}} {{{Subspecies}}} }} |}}  
| Traits =
| Charmable = {yes/no}
| Pankration =
| Drain = {yes/no}
| Aspir = {yes/no}
| EXP Bonus =
| Notes =
| Description = {Description text}
</pre>
| disable={{{1|}}}
}}
}}{{categorize|{{{1|}}}|[[Category:Bestiary]]}}
<div class="float-container">
{| class="horizon-table infobox-mobs"
|- class="infobox-mobs-header"
! style="font-size: 120%;" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{Behavior|}}}|{{#ifeq:{{{Behavior}}}|{{{Behavior}}}|{{!}}-
| <div class="float-container-item-right" style="margin-bottom: unset;">
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Template:Monster Notes|{{Color|black|Common Behavior}}]]:''' {{!}}{{!}} {{{Behavior}}} }} |}}  
{| class="horizon-infobox infobox-mobs infobox-50-50" style="font-size: 90%; text-align: left;"
|-
|- class="infobox-mobs-header"
{{#if:{{{Uncommon Behavior|}}}|{{#ifeq:{{{Uncommon Behavior}}}|{{{Uncommon Behavior}}}|{{!}}-
! colspan=2 style="text-align: center; font-size: 120%;" | Family Information
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Template:Monster Notes|{{Color|black|Uncommon Behavior}}]]:''' {{!}}{{!}} {{{Uncommon Behavior}}} }} |}}  
|- {{#if:{{{System|}}}||style="display: none;"}}
|-
! [[Beast Strength Chart|{{Color|black|Type}}]]:  
{{#if:{{{Weak|}}}|{{#ifeq:{{{Weak}}}|{{{Weak}}}|{{!}}-
| {{{System}}}
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Weakness|{{Color|black|Weak against}}]]:''' {{!}}{{!}} {{{Weak}}} }} |}}  
|- {{#if:{{{Subspecies|}}}||style="display: none;"}}
|-
! Subfamilies:
{{#if:{{{Strong|}}}|{{#ifeq:{{{Strong}}}|{{{Strong}}}|{{!}}-
| {{{Subspecies}}}
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Resistance|{{Color|black|Strong against}}]]:''' {{!}}{{!}} {{{Strong}}} }} |}}  
|- {{#if:{{{Behavior|}}}||style="display: none;"}}
|-
! [[Template:Monster Notes|{{Color|black|Common Behavior}}]]:
{{#if:{{{Immunities|}}}|{{#ifeq:{{{Immunities}}}|{{{Immunities}}}|{{!}}-
| {{{Behavior}}}
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Immune to:''' {{!}}{{!}} {{{Immunities}}} }} |}}  
|- {{#if:{{{Uncommon Behavior|}}}||style="display: none;"}}
|-
! [[Template:Monster Notes|{{Color|black|Uncommon Behavior}}]]:  
{{#if:{{{Healed|}}}|{{#ifeq:{{{Healed}}}|{{{Healed}}}|{{!}}-
| {{{Uncommon Behavior}}}
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Healed by:''' {{!}}{{!}} {{{Healed}}} }} |}}  
|- {{#if:{{{Weak|}}}||style="display: none;"}}
|-
! [[Weakness|{{Color|black|Weak against}}]]:  
{{#if:{{{Common Job|}}}|{{#ifeq:{{{Common Job}}}|{{{Common Job}}}|{{!}}-
| {{{Weak}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Common Job(s):''' {{!}}{{!}} {{{Common Job}}} }} |}}  
|- {{#if:{{{Strong|}}}||style="display: none;"}}
|-
! [[Resistance|{{Color|black|Strong against}}]]:
{{#if:{{{Uncommon Job|}}}|{{#ifeq:{{{Uncommon Job}}}|{{{Uncommon Job}}}|{{!}}-
| {{{Strong}}}
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Uncommon Job(s):''' {{!}}{{!}} {{{Uncommon Job}}} }} |}}  
|- {{#if:{{{Immunities|}}}||style="display: none;"}}
|-
! Immune to:  
{{#if:{{{Traits|}}}|{{#ifeq:{{{Traits}}}|{{{Traits}}}|{{!}}-
|{{{Immunities}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Traits:''' {{!}}{{!}} {{{Traits}}} }} |}}  
|- {{#if:{{{Healed|}}}||style="display: none;"}}
|-
! Healed by:  
{{#if:{{{Charmable|}}}|{{#ifeq:{{{Charmable}}}|{{{Charmable}}}|{{!}}-
|{{{Healed}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Charm|{{Color|black|Charmable}}]]:''' {{!}}{{!}} {{{Charmable}}} }} |}}  
|- {{#if:{{{Common Job|}}}||style="display: none;"}}
|-
! Common Job(s):  
{{#if:{{{Pankration|}}}|{{#ifeq:{{{Pankration}}}|{{{Pankration}}}|{{!}}-
|{{{Common Job}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Pankration|{{Color|black|Pankration}}]]:''' {{!}}{{!}} {{{Pankration}}} }} |}}  
|- {{#if:{{{Uncommon Job|}}}||style="display: none;"}}
|-
! Uncommon Job(s):  
{{#if:{{{Aspir|}}}|{{#ifeq:{{{Aspir}}}|{{{Aspir}}}|{{!}}-
|{{{Uncommon Job}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Aspir|{{Color|black|Aspir}}]]:''' {{!}}{{!}} {{{Aspir}}} }} |}}  
|- {{#if:{{{Traits|}}}||style="display: none;"}}
|-
! Traits:  
{{#if:{{{Drain|}}}|{{#ifeq:{{{Drain}}}|{{{Drain}}}|{{!}}-
|{{{Traits}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[Drain|{{Color|black|Drain}}]]:''' {{!}}{{!}} {{{Drain}}} }} |}}  
|- {{#if:{{{Charmable|}}}||style="display: none;"}}
|-
! [[Charm|{{Color|black|Charmable}}]]:  
{{#if:{{{XP Bonus|}}}|{{#ifeq:{{{XP Bonus}}}|{{{XP Bonus}}}|{{!}}-
| {{#switch:y|yes={{Mob Icon|y}}|n|no={{Mob Icon|x}}|#default={{{Charmable}}}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''[[EXP#Monster_Bonus|{{Color|black|EXP Bonus}}]]:''' {{!}}{{!}} {{{XP Bonus}}} }} |}}  
|- {{#if:{{{Pankration|}}}||style="display: none;"}}
|-
! [[Pankration|{{Color|black|Pankration}}]]:  
{{#if:{{{Notes|}}}|{{#ifeq:{{{Notes}}}|{{{Notes}}}|{{!}}-
| {{{Pankration}}}  
{{!}} style="background-color: #ccccff;font-weight:bold" {{!}} '''Notes:''' {{!}}{{!}} {{{Notes}}} }} |}}  
|- {{#if:{{{Aspir|}}}||style="display: none;"}}
|}
! [[Aspir|{{Color|black|Aspir}}]]:  
| {{#switch:y|yes={{Mob Icon|y}}|n|no={{Mob Icon|x}}|#default={{{Aspir}}}}}
|- {{#if:{{{Drain|}}}||style="display: none;"}}
! [[Drain|{{Color|black|Drain}}]]:  
| {{#switch:y|yes={{Mob Icon|y}}|n|no={{Mob Icon|x}}|#default={{{Drain}}}}}  
|- {{#if:{{{XP Bonus|}}}||style="display: none;"}}
! [[EXP#Monster_Bonus|{{Color|black|EXP Bonus}}]]:  
| {{{XP Bonus}}}  
|- {{#if:{{{Notes|}}}||style="display: none;"}}
! Notes:
| {{{Notes}}}  
|}</div>
[[Image:{{{image}}}|{{{imagesize|200}}}px|left]] {{{Description}}}
|}
|}
</div></onlyinclude></includeonly>
==Usage==
Template for mob family pages
===Examples===
{{Infobox Mob Family New|nc
| name = Doomed
| image = Doomed.jpg
| imagesize = 200px
| System = Undead
| Subspecies =
| Behavior = A, H, HP
| Uncommon Behavior = Z(D)
| Weak = {{Light|resist}} {{Fire|resist}} {{slashing}} {{color|negative|-12.5%}}
| Strong = {{Dark|resist}}{{color|positive|+50%}}
| Immunities =
| Healed =
| Common Job =
| Uncommon Job =
| Traits =
| Charmable = {{Mob Icon|x}}
| Drain = {{Mob Icon|x}}
| Aspir = {{Mob Icon|x}}
| XP Bonus =
| Notes =
| Description = What can be said about these creatures?  They defy explanation.  While appearing almost amphibian in form, they are, without question, undead.  And while "undead amphibians" is a possible description of these giant…things…it seems unlikely to be accurate.  The names of [[Doomed Pilgrims|certain Doomed]] suggest that these monsters are created from an amalgamation of many dead bodies -- an unsavory thought indeed.  Whatever they may be inside, they are dangerous to the untrained.  Armed with a tongue able to inflict massive amounts of damage, and the ability to release a variety of gasses and odors rendering even the most sturdy of adventurers weak in the knees, these monsters can be deadly.
They can, however, also be rewarding.  Each doomed seems to carry a [[Revival Tree Root]], which is used in a number of recipes and quests.  More rare is their [[Undead Skin|skin]], which can be harvested from their defeated bodies and used in a number of high-level synthesis recipes. 
}}

Revision as of 13:50, 9 July 2024

Usage

Template for mob family pages

Examples