Template:Price: Difference between revisions

16 bytes added ,  20:18, 31 July 2023
Fix for extra ' character when using non-param template
(cleanup - fix this use case: {{price}} - displays an extra trailing quote for some reason, used in house unlock dialogue throughout wiki, and a few other misc locations)
(Fix for extra ' character when using non-param template)
Line 11: Line 11:
|dreamlight=[[File:Dreamlight.png|20px|link=]] [[Dreamlight|'''{{formatnum:{{{1|}}}}}''']] {{#ifeq:{{{3|}}}|showLabel|[[Dreamlight]]|}}
|dreamlight=[[File:Dreamlight.png|20px|link=]] [[Dreamlight|'''{{formatnum:{{{1|}}}}}''']] {{#ifeq:{{{3|}}}|showLabel|[[Dreamlight]]|}}
|friendship=[[File:Friendship.png|20px|link=]] '''{{formatnum:{{{1|}}}}}''' {{#ifeq:{{{3|}}}|showLabel|[[Friendship]]|}}
|friendship=[[File:Friendship.png|20px|link=]] '''{{formatnum:{{{1|}}}}}''' {{#ifeq:{{{3|}}}|showLabel|[[Friendship]]|}}
|#default=[[File:Star_Coin_icon.png|20px|link=]] '''{{formatnum:{{#expr:{{{1|}}}}}}}''' {{#ifeq:{{{3|}}}|showLabel|[[Star Coins]]|}}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}
|#default=[[File:Star_Coin_icon.png|20px|link=]] {{#if:{{{1}}}|'''{{formatnum:{{#expr:{{{1|}}}}}}}'''}} {{#ifeq:{{{3|}}}|showLabel|[[Star Coins]]|}}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}
{{cleanup|fix this use case: {{price}} - displays an extra trailing quote for some reason, used in house unlock dialogue throughout wiki, and a few other misc locations }}
{{cleanup|fix this use case: {{price}} - displays an extra trailing quote for some reason, used in house unlock dialogue throughout wiki, and a few other misc locations }}
</noinclude>
</noinclude>