Template:Manipulation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<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"
| Manipulated?
{{!}} Manipulated?
| {{#ifeq: {{{Manipulated}}} | | Unknown | {{{Manipulated}}} }}
{{!}} {{#ifeq: {{{Manipulated}}} | | Unknown | {{{Manipulated}}} }}
{{!}}-
|-
! Tier 1
! Tier 1
|- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
| Initial Cost
{{!}} Initial Cost
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | yes={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | N/A }}
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | yes={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | N/A }}
|- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
| Maint Cost
{{!}} Maint Cost
| {{#ifeq: {{{InitCost}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{!}} {{#ifeq: {{{InitCost}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{#if: {{{InitCost2|}}} | {{!}}-
{{#ifeq: {{{InitCost2}}} | | |
{{!}}-
! Tier 2
! Tier 2
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost2}}} | | N/A | {{{InitCost2}}} }} | yes={{#ifeq: {{{InitCost2}}} | | N/A | {{{InitCost2}}} }} | N/A }}
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost2}}} | | N/A | {{{InitCost2}}} }} | yes={{#ifeq: {{{InitCost2}}} | | N/A | {{{InitCost2}}} }} | N/A }}
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Maint Cost
{{!}} Maint Cost
{{!}} {{#ifeq: {{{InitCost2}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost2}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{!}} {{#ifeq: {{{InitCost2}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost2}}}/3-0.5round0)}} | no=N/A | N/A}} }}
}}
}}
{{#if: {{{InitCost3|}}} |
{{#ifeq: {{{InitCost3}}} | | |
{{!}}-
{{!}}-
! Tier 3
! Tier 3
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost3}}} | | N/A | {{{InitCost3}}} }} | yes={{#ifeq: {{{InitCost3}}} | | N/A | {{{InitCost3}}} }} | N/A }}
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost3}}} | | N/A | {{{InitCost3}}} }} | yes={{#ifeq: {{{InitCost3}}} | | N/A | {{{InitCost3}}} }} | N/A }}
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Maint Cost
{{!}} Maint Cost
{{!}} {{#ifeq: {{{InitCost3}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost3}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{!}} {{#ifeq: {{{InitCost3}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost3}}}/3-0.5round0)}} | no=N/A | N/A}} }}
}}
}}
{{#if: {{{InitCost4|}}} |
{{#ifeq: {{{InitCost4}}} | | |
{{!}}-
{{!}}-
! Tier 4
! Tier 4
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost4}}} | | N/A | {{{InitCost4}}} }} | yes={{#ifeq: {{{InitCost4}}} | | N/A | {{{InitCost4}}} }} | N/A }}
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost4}}} | | N/A | {{{InitCost4}}} }} | yes={{#ifeq: {{{InitCost4}}} | | N/A | {{{InitCost4}}} }} | N/A }}
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Maint Cost
{{!}} Maint Cost
{{!}} {{#ifeq: {{{InitCost4}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost4}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{!}} {{#ifeq: {{{InitCost4}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost4}}}/3-0.5round0)}} | no=N/A | N/A}} }}
}}
}}
{{#if: {{{InitCost5|}}} |
{{#ifeq: {{{InitCost5}}} | | |
{{!}}-
{{!}}-
! Tier 5
! Tier 5
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost5}}} | | N/A | {{{InitCost5}}} }} | yes={{#ifeq: {{{InitCost5}}} | | N/A | {{{InitCost5}}} }} | N/A }}
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost5}}} | | N/A | {{{InitCost5}}} }} | yes={{#ifeq: {{{InitCost5}}} | | N/A | {{{InitCost5}}} }} | N/A }}
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} Maint Cost
{{!}} Maint Cost
{{!}} {{#ifeq: {{{InitCost5}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost5}}}/3-0.5round0)}} | no=N/A | N/A}} }} }}|}</includeonly><noinclude>
{{!}} {{#ifeq: {{{InitCost5}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost5}}}/3-0.5round0)}} | no=N/A | N/A}} }}
}}
|}</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>

Revision as of 23:22, 20 April 2008

Usage

{{Manipulation |
  Manipulated  = |
  InitCost     = |
  InitCost2    = |
  InitCost3    = |
  InitCost4    = |
  InitCost5    = |
}}

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 N/A if Manipulated is not set to Yes).