Template:Combat

From TheKolWiki
Jump to: navigation, search
{{Combat}}
{{#if:{{{noline|}}}| |----}}

{| style="margin-left: {{#expr: {{{nest|0}}} * 2}}em;" class="listindent" |- | colspan="2" | {{TypeIcon|{{{tag}}} }} '''[[{{{name}}}|{{Data|{{{name}}}|name|{{{name}}}}}]] ''' {{#ifeq:{{Data|{{{name}}}|phylum|unknown}}|!||{{PhylumImage|{{Data|{{{name}}}|phylum|unknown}}|x20px}}}} <span class="plainlinks" style="font-size:smaller;text-align:right;"> -- ({{#ifexist:Data:{{{name|}}}|[{{fullurl:Data:{{{name|}}}|action=edit}} edit metadata]|<span class="plainredlinks">[{{fullurle:Data:{{{name}}}|action=edit&preload=Template:Combat/data|redlink=1}} create metadata]</span>}})</span>''' |- | {{#ifeq:{{Data|{{{name}}}|plainimage|n}}|y|{{Data|{{{name}}}|image|{{{image}}}}}|[[File:{{Data|{{{name}}}|image|nopic.gif}}|link={{{name}}}]]}} | {{#ifexist:Data:{{{name|}}}|{{Data:{{{name}}}|format=combat rows|{{{MoxieNoHit|}}}}}|<span class="plainredlinks">[{{fullurle:Data:{{{name}}}|action=edit&preload=Template:Combat/data|redlink=1}} Monster data missing.]</span>}}{{TypeNote|{{{tag}}} }}{{#if:{{{note1|}}}| * ''Note:'' {{{note1}}}}}{{#if:{{{note2|}}}| * ''Note:'' {{{note2}}}}}{{#if:{{{note3|}}}| * ''Note:'' {{{note3}}}}}{{#if:{{{note4|}}}| * ''Note:'' {{{note4}}}}}

|}

Usage

Include the {{combat}} template for each combat adventure:

{{combat|name=Ninja Snowman Weaponmaster}}

Required Parameters

  • name= the name of the monster, as it appears in bold at the top of your center pane when adventuring.
  • A data page must also exist the combat adventure.

Optional Parameters

  • noline=yes will suppress the top separator line (used for combats imbedded in choice adventures).
  • nest=X will indent the adventure by X em (used for combats imbedded in choice adventures).
  • tag=X is used to indicate one of the following special adventure types: clover, semi, turtle, seal, bm, hobo, postal.

Misfeatures / bugs

  • An optional MoxieNoHit=X parameter will show X as the "No Hit" value. This should be on the data page.
  • A missing Meat value on the data page is interpreted as "None".

Examples

  • {{Combat|name=Ninja Snowman Weaponmaster}}

Ninja Snowman Weaponmaster This monster is an Elemental -- (edit metadata)
Ninjacloud.gif
  • {{Combat|name=Scary pirate (28 Days Later)}}

scary pirate -- (edit metadata)
Zompirate.gif
  • Item Drops: Jolly Roger charrrm, snakehead charrrm, zombie pineal gland
  • Meat Drop: 41
  • Monster Level: Indeterminate • Substat Gain: 14 • Moxie for No Hit*: Indeterminate
  • Monster Defense: Indeterminate
  • Hit Points: Indeterminate
  • Initiative: Indeterminate
  • Elemental Alignment: Indeterminate
  • {{combat|name=Bad ASCII Art|tag=semi|note1=The [[ASCII shirt]] will not drop unless you have the [[Torso Awaregness]] skill.}}

Fortune.gif Bad ASCII Art This monster is a Construct -- (edit metadata)
Badascii.gif
  • {{Combat|name=Heavy Kegtank}}

Heavy Kegtank This monster is an Orc -- (edit metadata)
Warfratar2.gif
  • {{combat|name=fake monster}}

fake monster Nopic2.gif -- (create metadata)
Nopic.gif

Monster data missing.

  • {{combat|name=batwinged gremlin|MoxieNoHit=∞}}

batwinged gremlin This monster is a Humanoid -- (edit metadata)
Gremlinbat.gif
  • {{combat|name=Fake uberlime|note1=Fake UR lime note 1|note2=Fake UR lime note 2|note3=Fake UR lime note 3|note4=Fake UR lime note 4|tag=ur}}

Baiotal.gif Fake uberlime Nopic2.gif -- (create metadata)
Nopic.gif

Monster data missing.

  • Note: An ultra rare adventure.
  • Note: Fake UR lime note 1
  • Note: Fake UR lime note 2
  • Note: Fake UR lime note 3
  • Note: Fake UR lime note 4