Editing Template:Cost

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{#if:{{{1|}}}|{{#ifeq:{{#if:{{{4|}}}|{{{1|}}}|}}{{{4|}}}|P||{{Coin|{{#ifeq:{{{1|}}}|-||{{{1|}}}}}|{{{2|}}}}}}}|{{#if:{{#switch:{{{4|}}}|P=P|{{{3|}}}}}||{{Coin||{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{Debt|{{#ifeq:{{{3|}}}|-||{{{3|}}}}}|{{{2|}}}}}}}{{#ifeq:{{{4|}}}|P|{{P|{{{2|}}}}}}}<noinclude>
+
{{#if:{{{1|}}}|{{#ifeq:{{#switch:{{{1|}}}{{{4|}}}|P=P|{{{1|}}}}}|P||{{Coin|{{#ifeq:{{#iferror:{{#expr:{{#switch:{{{1|}}}|X=-1-|x=-1-|?=-2-|X*=-1*|x*=-1*|?*=-2*|X+=-1+|x+=-1+|?+=-2+|{{{1|}}}}}.0}}|{{#ifeq:{{padleft:|2|{{{1|}}}}}|{{{1|}}}|{{padleft:|1|{{{1|}}}}}|{{padleft:|2|{{{1|}}}}}}}|{{{1|}}}}}|-||{{#iferror:{{#expr:{{#switch:{{{1|}}}|X=-1-|x=-1-|?=-2-|X*=-1*|x*=-1*|?*=-2*|X+=-1+|x+=-1+|?+=-2+|{{{1|}}}}}.0}}|{{#ifeq:{{padleft:|2|{{{1|}}}}}|{{{1|}}}|{{padleft:|1|{{{1|}}}}}|{{padleft:|2|{{{1|}}}}}}}|{{{1|}}}}}}}|{{{2|}}}}}}}|{{#if:{{#switch:{{{4|}}}|P=P|{{{3|}}}}}||{{Coin||{{{2|}}}}}}}}}{{#if:{{{3|}}}|{{Debt|{{#ifeq:{{{3|}}}|-||{{{3|}}}}}|{{{2|}}}}}}}{{#ifeq:{{{4|}}}|P|{{P|{{{2|}}}}}}}{{#iferror:{{#expr:{{#switch:{{{1|}}}|X=-1-|x=-1-|?=-2-|X*=-1*|x*=-1*|?*=-2*|X+=-1+|x+=-1+|?+=-2+|{{{1|}}}}}.0}}|{{#ifeq:{{{4|}}}|P||{{P|{{{2|}}}}}}}&nbsp;<p style="color:red; display:inline;"><b>[Warning: This Cost Template uses the old "P" syntax, please convert it to the [[Template:Cost#New_Syntax|new parameterized syntax]].]</b></p><includeonly>[[Category:Pages with old "P" syntax]]</includeonly>|}}<noinclude>
{{doc}}
+
<!-- Once all existing references to Template:Cost with the old "P" syntax, where the Coin and Potion costs are combined in the first parameter ({{Cost|2P}}), have been replaced with the new parameterized syntax, where the two are separate ({{Cost|2|||P}}), then, AND ONLY THEN, should the "{{#iferror:{{#expr:{{#switch:{{{1|}}}|X*=-1*|x*=-1*|?*=-2*|X+=-1+|x+=-1+|?+=-2+}}.0}}|{{#ifeq:{{{4|}}}|P||{{P|{{{2|}}}}}}}&nbsp;<p style="color:red; display:inline;"><b>[Warning: This Cost Template uses the old "P" syntax, please convert it to the [[Template:Cost#New_Syntax|new parameterized syntax]].]</b></p><includeonly>[[Category:Pages with old "P" syntax]]</includeonly>|}}" that's found at the end be removed. -->
 +
{{Large Edits|to clean up its wikitext, fix issues, and add new functionality.}}{{doc}}
 
</noinclude>
 
</noinclude>

Please note that all contributions to DominionStrategy Wiki are considered to be released under the Creative Commons Attribution Non-Commercial Share Alike (see DominionStrategy Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox