Template:ManuelEntry

From A KoL Wiki
{| id="{{{aname|{{{name|{{Data|{{{1}}}|name|{{{1}}}}}}}}}}}" style="width: 100%" cellpadding="1" cellspacing="2" {{#if:{{{unobtainable|}}}||class="ManuelEntry"}}

|- |bgcolor="black" height="1" colspan="5"| |- |width="100" valign="center" rowspan="4"|[[File:{{{image|{{Data|{{{1}}}|image|nopic.gif}}}}}|{{{width|100}}}px|link={{{link|{{{1}}}}}}]] |width="30" | [[File:nicesword.gif]] |width="50" valign="center" align="left" | '''<font size="+2">{{{attack|{{#iferror:{{#expr:{{Data|{{{1}}}|attack|?}}+1}}|?|{{Data|{{{1}}}|attack|?}}}}}}}</font>''' |width="30" | {{PhylumImage|{{{phylum|{{Data|{{{1}}}|phylum}}}}}}} |valign="top" rowspan="4"| <span style="font-size:23px;position:relative;left:5px;">'''{{{name|{{Data|{{{1}}}|name|{{{1}}}}}}}}'''</span><div style="font-size:12px;position:relative;left:20px;"> {{{2|}}} </div> |- |width="30" | [[File:whiteshield.gif]] |width="50" valign="center" align="left" | <b><font size="+2">{{{defense|{{#iferror:{{#expr:{{Data|{{{1}}}|defense|?}}+1}}|?|{{Data|{{{1}}}|defense|?}}}}}}}</font></b> |width="30" | {{AlignmentImage|{{{element|{{Data|{{{1}}}|element}}}}}}} |- |width="30" | [[File:hp1.gif]] |width="50" valign="center" align="left" | <b><font size="+2">{{{hp|{{#iferror:{{#expr:{{Data|{{{1}}}|hp|?}}+1}}|?|{{Data|{{{1}}}|hp|?}}}}}}}</font></b> | {{InitiativeValue|{{{init|{{Data|{{{1}}}|init|?}}}}}}}

|}

Options

The first argument gives the monster name, and the second the manuel text. The presented information is taken from the monster's data page by default. You can override that with the following options:

  • attack Attack value.
  • defense Defense value.
  • hp HP value.
  • image Image to use.
  • link Link underlying the image.
  • width Width of the image if you need to resize it.
  • phylum Phylum.
  • element Elemental alignment.
  • init Combat initiative (a specific integer value, or always (or ∞), or never (or 0), as per {{InitiativeValue}}).
  • name Monster name displayed.
  • aname Anchor name (use when the monster name has special characters that cannot be used in a CSS id specifier).

Examples

{{ManuelEntry|pop-and-lock raver|Descriptive text}}
140 This monster is a Dude pop-and-lock raver

Descriptive text

126 This monster has no particular elemental alignment.
150 Always wins initiative
{{ManuelEntry|pop-and-lock raver|Descriptive text|attack=6|defense=66|hp=666|image=bunny.gif|link=Tattoo#Custom Tattoos|name=Raver|width=60|phylum=humanoid|element=hot|init=always|aname=raver}}
6 This monster is a Humanoid Raver

Descriptive text

66 This monster is Hot. Hot is weak against Sleaze and Stench.
666 Always wins initiative