Template:Creature table row: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- class='{{sourceToggle|{{{source|}}}|{{{only|}}}}}' | ||
|style="text-align:left; border-right:5px solid #{{Blue 3}}; white-space: nowrap;"|{{Cn|{{{1}}}|image={{{image|{{{1}}}}}}}}{{{crname+|}}}||<span title="{{{2}}}">[[File:Town portrait | |style="text-align:left; border-right:5px solid #{{Blue 3}}; white-space: nowrap;"|{{swh|noicon=|{{Cn|{{{1}}}|image={{{image|{{{1}}}{{{himage|}}}}}}}}{{{crname+|}}}|{{Cn|{{{1}}}|image={{{image|{{{1}}}}}}}}{{{crname+|}}}}} | ||
|<span title="{{{2}}}">[[File:Town portrait {{{2}}} small.gif|link={{{2}}}]] | |||
|data-sort-value="{{{3}}}"|<span title="Level">{{{3}}}{{{level_comment|}}} | |||
|<span title="Attack">{{{4}}} | |||
|<span title="Defense">{{{5}}} | |||
|style="background-color:#{{Blue 4}};"|<span title="Minimum Damage">{{{6}}} | |||
|style="background-color:#{{Blue 4}};"|<span title="Maximum Damage">{{{7}}} | |||
|<span title="Health">{{{8}}} | |||
|<span title="Speed">{{{9}}} | |||
|<span title="Growth">{{{10}}} | |||
|<span title="AI_Value">{{{11}}} | |||
|style="text-align:right;"|{{{12}}} {{gold}} | |||
|style="white-space: nowrap;"|{{{13|}}}{{-}} | |||
|style="text-align:left; border-right:5px solid #{{Blue 3}}"|{{{14|}}}</includeonly><noinclude> | |||
== Variables == | == Variables == | ||
Line 15: | Line 28: | ||
# Resource ({{mercury}}, {{sulfur}}, {{crystal}} or {{gem}}) | # Resource ({{mercury}}, {{sulfur}}, {{crystal}} or {{gem}}) | ||
# Special | # Special | ||
* image | |||
* crname+ | |||
* If there is a hota version of the image, add <nowiki>"himage=(HotA)"</nowiki> | |||
NOTE: Use the 'source' and 'only' parameters for content switching. | |||
== Examples == | |||
{{Creature table}} | |||
{{Creature table row|Halfling |Neutral |1| 4| 2| 1| 3| 4| 5|15| 75| 40| |[[Ranged attack|Ranged]] (24 shots), Positive [[Luck]]|only=hidewithhota}} | |||
{{Creature table row|Leprechaun |Neutral |2| 8| 5| 3| 5| 15| 5| 9| 208| 100| |Doubles friendly unit [[Luck]] chance, Casts [[Fortune]]|only=hota}} | |||
|} | |||
{{creature table template 'see also'}} | {{creature table template 'see also'}} |
Latest revision as of 18:44, 1 October 2024
Variables[edit | hide | hide all]
- Creature name
- Town
- Level
- Attack
- Defense
- Minimum damage
- Maximum damage
- Health
- Speed
- Cost ()
- Resource (, , or )
- Special
- image
- crname+
- If there is a hota version of the image, add "himage=(HotA)"
NOTE: Use the 'source' and 'only' parameters for content switching.
Examples[edit | hide]
Name | Town | Lvl | Att | Def | Dmg- | Dmg+ | HP | Spd | Grw | AI Val | Cost | Special | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Halfling Halfling | 1 | 4 | 2 | 1 | 3 | 4 | 5 | 15 | 75 | 40 | Ranged (24 shots), Positive Luck | ||
Leprechaun Leprechaun | 2 | 8 | 5 | 3 | 5 | 15 | 5 | 9 | 208 | 100 | Doubles friendly unit Luck chance, Casts Fortune |
Related templates[edit | hide]
- Main templates
- Town templates
- Template: Castle creature table
- Template: Rampart creature table
- Template: Tower creature table
- Template: Inferno creature table
- Template: Necropolis creature table
- Template: Dungeon creature table
- Template: Stronghold creature table
- Template: Fortress creature table
- Template: Conflux creature table
- Template: Neutral creature table