Template:Manipulation: Difference between revisions
Jump to navigation
Jump to search
(Massively rewrote for better coding, added error handling, incomplete tagging, and standardized documentation) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><--Adds incomplete tag if information missing-->{{#switch:{{lc:{{{Manipulated}}}}}|y|yes={{#if:{{{InitCost|}}}||{{incomplete|Information missing from Manipulation section}}}}|n|no=|{{incomplete|Information missing from Manipulation section |
<includeonly><!--Adds incomplete tag if information missing-->{{#switch:{{lc:{{{Manipulated}}}}}|y|yes={{#if:{{{InitCost|}}}||{{incomplete|Information missing from Manipulation section}}}}|n|no=|{{incomplete|Information missing from Manipulation section}}}}</includeonly> |
||
{|style="float:right; width:200px; background:#e3e3e3; margin-left:1em; margin-right:1em; border-spacing:1px;" cellpadding="5" |
{|style="float:right; width:200px; background:#e3e3e3; margin-left:1em; margin-right:1em; border-spacing:1px;" cellpadding="5" |
||
|colspan="2" style="font-size: small; text-align: left;|'''[[Manipulate_ability|Manipulation]]''' |
|colspan="2" style="font-size: small; text-align: left;|'''[[Manipulate_ability|Manipulation]]''' |
||
|-bgcolor="#FFFFFF" |
|-bgcolor="#FFFFFF" |
||
|Manipulatable||{{#switch:{{lc:{{{Manipulated}}}}}|y|yes=Yes |
|Manipulatable||{{#switch:{{lc:{{{Manipulated}}}}}|y|yes=[[is manipulatable::Yes]] |
||
{{!}}- |
{{!}}- |
||
! Tier 1 |
! Tier 1 |
||
Line 33: | Line 33: | ||
{{!}}Initial Cost{{!}}{{!}}{{{InitCost5}}} |
{{!}}Initial Cost{{!}}{{!}}{{{InitCost5}}} |
||
{{!}}- bgcolor="#FFFFFF" |
{{!}}- bgcolor="#FFFFFF" |
||
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost5}}}/3-0.5round0)}}}}|n|no=No|''Unknown''}} |
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost5}}}/3-0.5round0)}}}}|n|no=[[is manipulatable::No]]|''Unknown''}} |
||
|-bgcolor="#FFFFFF" |
|-bgcolor="#FFFFFF" |
||
|} |
|} |
||
<noinclude> |
<noinclude> |
||
==Usage Documentation:== |
==Usage Documentation:== |
||
Maintenance Cost is calculated and handled by the template, no user input required for this item. |
Maintenance Cost is calculated and handled by the [[page type is::template]], no user input required for this item. |
||
{| border=1 cellpadding=3 |
{| border=1 cellpadding=3 |
||
Line 59: | Line 59: | ||
}} |
}} |
||
</pre> |
</pre> |
||
{{Cat|Templates,Critter templates}}</noinclude> |
Latest revision as of 19:45, 30 December 2014
Manipulation | |
Manipulatable | Unknown |
Usage Documentation:
Maintenance Cost is calculated and handled by the template, no user input required for this item.
Variable | Supported Values | Usage |
---|---|---|
Manipulated | yes/y/no/n | Can the creature be manipulated? Leave blank for unknown. |
InitCost | # | Concentration number necessary to beat the manipulation check (the critter will either become friendly or will immediately target you) |
Copy and paste the following:
{{Manipulation | Manipulated = | InitCost = | InitCost2 = | InitCost3 = | InitCost4 = | InitCost5 = | }}