elanthipedia:Town Green (technical): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: {{Towngreenpages|Technical Discussion|This '''policy''' section of the Town Green is to discuss technical issues and problems here at Elanthipedia.}})
 
(Bug? Table cell data not shown, but is available for calculation)
Line 1: Line 1:
{{Towngreenpages|Technical Discussion|This '''policy''' section of the Town Green is to discuss technical issues and problems here at Elanthipedia.}}
{{Towngreenpages|Technical Discussion|This '''policy''' section of the Town Green is to discuss technical issues and problems here at Elanthipedia.}}

== Bug? Table cell data not shown, but is available for calculation ==

{|
|{{SymphaenaTesting |
Manipulated = yes |
InitCost = 6 |
InitCost2 = 9 |
InitCost3 = 12 |
InitCost4 = 15 |
InitCost5 = 18 |
}}
|<pre>
{| 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"
| Manipulated?
| {{#ifeq: {{{Manipulated}}} | | Unknown | {{{Manipulated}}} }}
|-
! Tier 1
|- bgcolor="#FFFFFF"
| Initial Cost
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | yes={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | N/A }}
|- bgcolor="#FFFFFF"
| Maint Cost
| {{#ifeq: {{{InitCost}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{#if: {{{InitCost2|}}} |
{{!}}-
! Tier 2
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost2}}} {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} yes={{#ifeq: {{{InitCost2}}} {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost3|}}} |
{{!}}-
! Tier 3
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost3}}} {{!}} {{!}} N/A {{!}} {{{InitCost3}}} }} {{!}} yes={{#ifeq: {{{InitCost3}}} {{!}} {{!}} N/A {{!}} {{{InitCost3}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost4|}}} |
{{!}}-
! Tier 4
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost4}}} {{!}} {{!}} N/A {{!}} {{{InitCost4}}} }} {{!}} yes={{#ifeq: {{{InitCost4}}} {{!}} {{!}} N/A {{!}} {{{InitCost4}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost5|}}} |
{{!}}-
! Tier 5
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost5}}} {{!}} {{!}} N/A {{!}} {{{InitCost5}}} }} {{!}} yes={{#ifeq: {{{InitCost5}}} {{!}} {{!}} N/A {{!}} {{{InitCost5}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
|}
</pre>
|}

Sorry about the code block, but I'm not seeing why this should be happening. Everything else is working properly, and aside from replacing the real pipes with the template versions nothing's changed from any of the affected lines.

Revision as of 00:38, 21 June 2007


Bug? Table cell data not shown, but is available for calculation

Template:SymphaenaTesting
{| 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"
| Manipulated?
| {{#ifeq: {{{Manipulated}}} | | Unknown | {{{Manipulated}}} }}
|-
! Tier 1
|- bgcolor="#FFFFFF"
| Initial Cost 
| {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | no={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | yes={{#ifeq: {{{InitCost}}} | | N/A | {{{InitCost}}} }} | N/A }}
|- bgcolor="#FFFFFF"
| Maint Cost 
| {{#ifeq: {{{InitCost}}} | | N/A | {{#switch: {{lc:{{{Manipulated}}} }} | unknown=N/A | yes={{#expr:({{{InitCost}}}/3-0.5round0)}} | no=N/A | N/A}} }}
{{#if: {{{InitCost2|}}} | 
{{!}}-
! Tier 2
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost2}}} {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} yes={{#ifeq: {{{InitCost2}}}  {{!}} {{!}} N/A {{!}} {{{InitCost2}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost3|}}} | 
{{!}}-
! Tier 3
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost3}}} {{!}} {{!}} N/A {{!}} {{{InitCost3}}} }} {{!}} yes={{#ifeq: {{{InitCost3}}} {{!}} {{!}} N/A {{!}} {{{InitCost3}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost4|}}} | 
{{!}}-
! Tier 4
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost4}}} {{!}} {{!}} N/A {{!}} {{{InitCost4}}} }} {{!}} yes={{#ifeq: {{{InitCost4}}} {{!}} {{!}} N/A {{!}} {{{InitCost4}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
{{#if: {{{InitCost5|}}} | 
{{!}}-
! Tier 5
{{!}}- bgcolor="#FFFFFF"
{{!}} Initial Cost
{{!}} {{#switch: {{lc:{{{Manipulated}}} }} {{!}} unknown=N/A {{!}} no={{#ifeq: {{{InitCost5}}} {{!}} {{!}} N/A {{!}} {{{InitCost5}}} }} {{!}} yes={{#ifeq: {{{InitCost5}}} {{!}} {{!}} N/A {{!}} {{{InitCost5}}} }} {{!}} N/A }}
{{!}}- 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}} }}
}}
|}

Sorry about the code block, but I'm not seeing why this should be happening. Everything else is working properly, and aside from replacing the real pipes with the template versions nothing's changed from any of the affected lines.