Template talk:Item price

From Team Fortress Wiki
Jump to: navigation, search

Apostrophe problems

Again with the damn apostrophe wiki problems. We just need to add %27 in place of the apostrophe in the core on all the items. So erm, could someone do it please?  – Smashman (talk) 22:44, 1 October 2010 (UTC)

Just tried that. It failed.-RJ 04:37, 3 October 2010 (UTC)

Non-English typographics

Many European languages use comma as decimal separator. We can create "Template:Item price/core2" with new prices with "," or "Template:ds" (decimal separator) and insert it in "Template:Item price/core" between integer and fractional parts. Also we can use language translation for currencies. What i mean, example in Russian:

17,49 $ / 11,99 £ / 17,49

Laros123. 16:44, 7 October 2010 (UTC)

You make a point. We'll discuss it.  – Smashman (talk) 16:45, 7 October 2010 (UTC)
Need some help, because my template works erratically: User:Laros123/Template:Item price. Other my solutions: User:Laros123/Template:Item price/core and User:Laros123/Template:ds

Laros123. 09:23, 10 October 2010 (UTC)

R$ (Reais) is not working.

Reais price is the same as USD. This is incorrect. The Template:Dictionary/price actually shows the correct prices, but here, the R$ is the same as USD. I can't edit, due it's protected. Every page that shows R$ is incorrect (See Paint Can). Also, why in item pages, the R$ doesn't appear on "Buy Now"? User Gabrielwoj Signature 1.pngUser Gabrielwoj Signature 2.png - User Gabrielwoj Signature 3.png 07:50, 20 October 2015 (PDT)

The error causing problem 1 is on line 82:
77 --> / <!-- 
78	-->{{lang
79		 | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}}
80		 | ru = {{ns:0}}
81		 }}<!-- 
82	-->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!-- 
83	-->{{lang
84		 | en = {{ns:0}}
85		 | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}}
86		 }}
This region should be getting the Reais value, but instead it calls /core with currency=usd.
As for problem 2, look at the template source. It's pretty straightforward -- but I don't know which language / what needs changing. Darkid (Talk | Contribs) 08:12, 20 October 2015 (PDT)