Template:Manipulation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| (65 intermediate revisions by 2 users 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> |
|||
<includeonly> |
|||
{| |
{|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]]''' |
|||
|- |
|||
|-bgcolor="#FFFFFF" |
|||
| colspan="2" style="font-size: small; text-align: left; | '''[[Manipulate_ability|Manipulation]]''' |
|||
|Manipulatable||{{#switch:{{lc:{{{Manipulated}}}}}|y|yes=[[is manipulatable::Yes]] |
|||
|- bgcolor="#FFFFFF" |
|||
{{!}}- |
|||
| Manipulated? |
|||
| {{#ifeq: {{{Manipulated}}} | | Unknown | {{{Manipulated}}} }} |
|||
|- |
|||
! Tier 1 |
! Tier 1 |
||
{{!}}-bgcolor="#FFFFFF" |
|||
{{!}}Initial Cost{{!}}{{!}}{{#if:{{{InitCost|}}}|{{{InitCost}}}|''?''}} |
|||
| Initial Cost |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | {{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} }} |
|||
{{!}}Maintenance Cost{{!}}{{!}}{{#if:{{{InitCost|}}}|{{#expr:({{{InitCost}}}/3-0.5round0)}}|''?''}} |
|||
|- bgcolor="#FFFFFF" |
|||
{{!}}- |
|||
| Maint Cost |
|||
{{#if:{{{InitCost2|}}}|! Tier 2 |
|||
| {{#ifeq: {{{InitCost}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost}}}/3-0.5round0)}} | no=N/A | N/A}} }} |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Initial Cost{{!}}{{!}}{{{InitCost2}}} |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost2}}}/3-0.5round0)}}}} |
|||
{{!}}- |
|||
{{#if:{{{InitCost3|}}}|! Tier 3 |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Initial Cost{{!}}{{!}}{{{InitCost3}}} |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost3}}}/3-0.5round0)}}}} |
|||
{{!}}- |
|||
{{#if:{{{InitCost4|}}}|! Tier 4 |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Initial Cost{{!}}{{!}}{{{InitCost4}}} |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost4}}}/3-0.5round0)}}}} |
|||
{{!}}- |
|||
{{#if:{{{InitCost5|}}}|! Tier 5 |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Initial Cost{{!}}{{!}}{{{InitCost5}}} |
|||
{{!}}- bgcolor="#FFFFFF" |
|||
{{!}}Maintenance Cost{{!}}{{!}}{{#expr:({{{InitCost5}}}/3-0.5round0)}}}}|n|no=[[is manipulatable::No]]|''Unknown''}} |
|||
|-bgcolor="#FFFFFF" |
|||
|} |
|||
<noinclude> |
|||
==Usage Documentation:== |
|||
Maintenance Cost is calculated and handled by the [[page type is::template]], no user input required for this item. |
|||
{| border=1 cellpadding=3 |
|||
!Variable!!Supported Values!!Usage |
|||
|- |
|- |
||
|Manipulated||yes/y/no/n||Can the creature be manipulated? Leave blank for unknown. |
|||
! Tier 2 |
|||
|- bgcolor="#FFFFFF" |
|||
| Initial Cost |
|||
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | {{#ifeq: {{{InitCost2}}} | | N/A | {{{InitCost2}}} }} }} |
|||
|- bgcolor="#FFFFFF" |
|||
| Maint Cost |
|||
| {{#ifeq: {{{InitCost2}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost2}}}/3-0.5round0)}} | no=N/A | N/A}} }} |
|||
|- |
|- |
||
|InitCost||#||Concentration number necessary to beat the manipulation check (the critter will either become friendly or will immediately target you) |
|||
! Tier 3 |
|||
|- bgcolor="#FFFFFF" |
|||
| Initial Cost |
|||
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | {{#ifeq: {{{InitCost3}}} | | N/A | {{{InitCost3}}} }} }} |
|||
|- bgcolor="#FFFFFF" |
|||
| Maint Cost |
|||
| {{#ifeq: {{{InitCost3}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost3}}}/3-0.5round0)}} | no=N/A | N/A}} }} |
|||
|- |
|||
! Tier 4 |
|||
|- bgcolor="#FFFFFF" |
|||
| Initial Cost |
|||
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | {{#ifeq: {{{InitCost4}}} | | N/A | {{{InitCost4}}} }} }} |
|||
|- bgcolor="#FFFFFF" |
|||
| Maint Cost |
|||
| {{#ifeq: {{{InitCost4}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost4}}}/3-0.5round0)}} | no=N/A | N/A}} }} |
|||
|- |
|||
! Tier 5 |
|||
|- bgcolor="#FFFFFF" |
|||
| Initial Cost |
|||
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | {{#ifeq: {{{InitCost5}}} | | N/A | {{{InitCost5}}} }} }} |
|||
|- bgcolor="#FFFFFF" |
|||
| Maint Cost |
|||
| {{#ifeq: {{{InitCost5}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost5}}}/3-0.5round0)}} | no=N/A | N/A}} }} |
|||
|} |
|} |
||
</includeonly> |
|||
Copy and paste the following: |
|||
<noinclude> |
|||
==Usage== |
|||
<pre> |
<pre> |
||
{{Manipulation | |
{{Manipulation | |
||
Manipulated = | |
Manipulated = | |
||
InitCost = | |
InitCost = | |
||
InitCost2 = | |
|||
InitCost3 = | |
|||
InitCost4 = | |
|||
InitCost5 = | |
|||
}} |
}} |
||
</pre> |
</pre> |
||
{{Cat|Templates,Critter templates}}</noinclude> |
|||
Leave unknown fields '''BLANK'''! |
|||
*''Manipulated is either Yes or No or Unknown (left blank = Unknown).'' |
|||
*''InitCost is concentration number necessary to beat the manipulation check (the critter will either become friendly or will immediately target you).'' |
|||
*''Maint Cost is calculated and handled by the template, no user input required for this item (will show 0 if InitCost is not provided, and N/A if the critter cannot be manipulated).'' |
|||
[[Category: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 = |
}}