Template:Manipulation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Massively rewrote for better coding, added error handling, incomplete tagging, and standardized documentation)
mNo edit summary
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>
<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]]'''

Revision as of 18:53, 3 June 2008

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    = |
}}