Template talk:Cost

From Wowpedia
Jump to: navigation, search

Archives

Template revamp

{{cost}} has been revamped for 1.14. It also uses {{documentation}} now.

You'll notice there's a lot less documented options. Cost has gotten too big and unmanagable (we've had this discussion before). It's time to make a move to {{costitem}} for items that are only very rarely used as currency and the tier tokens.

All of the old options are still in the template, but not in the documentation. As soon as I get an up-to-date xmldump I plan to have my bot do a global find-and-replace on {{cost|<deprecated option>=#}} with {{costitem|#|Item name}}. --k_d3 18:58, 29 April 2009 (UTC)

Okay... nearly half a year later, but progress. The tier tokens are gone. All of them. Nearly all the custom (name/icon/cost trio) uses are gone. Working my way through the non-pvp/emblem params as I type this.
Soon as the jobqueue clears and pages using deprecated cost parameters category stays empty the deprecated options will die. Yay for simplification. --k_d3 02:39, September 24, 2009 (UTC)
Thanks for the hard work. /chomp‎ Howbizr(t·c) 3:44 PM, 24 Sep 2009 (EDT)

How far do you intend to go? IMO, having started down this path, the only thing that should be left in {{cost}} are things that are never represented as items. I cannot tell, then, if failing to deprecate pvp/emblem tokens is simply a method of partitioning the work, or a decision not to deprecate them. --Eirik Ratcatcher (talk) 23:15, September 24, 2009 (UTC)

I'm stopping where I'm at now. Stuff tracked in the currency pane stays. Gold stays. Honor/arena/achievement points stay. This way we've got a line to set. --k_d3 23:26, September 24, 2009 (UTC)
  • shrug* Okay, you're the one doing the work. OTOH, the  [Strand of the Ancients Mark of Honor] compares unfavorably to  [Brewfest Prize Token] on "number of uses", equally on "represented by an item" and is only superior in "is among the things represented on the currency pane in-game". Sure, you've set a line. I just set the line a little more narrowly. (Yes, that phrase makes no sense mathematically.) ... and am not particularly interested in taking over from you. Smiley.gif --Eirik Ratcatcher (talk) 23:39, September 25, 2009 (UTC)

Missing PvP Currencies

It seems we're missing  [Strand of the Ancients Mark of Honor] and  [Venture Coin] from this, if anyone would like to please add them. --User:Jpsblue/Sig 16:06, 12 May 2009 (UTC)

See {{costitem}}. --PcjWowpedia wiki manager (TDrop me a line!C207,729 contributions and counting) 16:54, 12 May 2009 (UTC)
It's a consistency thing: the other battleground marks of honor are still in {{cost}}. (And I should look at dates more often.) -- foxlit (talk) 20:57, 6 June 2009 (UTC)

Emblem of Triumph out of date

I can't edit this page, but it should be Holy_SummonChampion instead of Holy_EmpowerChampion. -- Dark T Zeratul (talk) 06:41, 5 August 2009 (UTC)

Was noting the same thing. Please use Spell holy summonchampion.png instead of Spell holy empowerchampion.png. /chomp‎ Howbizr(t·c) 4:59 PM, 6 Aug 2009 (EDT)
Should be fixed now. --PcjWowpedia wiki manager (TDrop me a line!C207,729 contributions and counting) 21:09, 6 August 2009 (UTC)

sks error

Using this template for sks produces an extra close bracket at the end: 300 Stone Keeper's Shard Burzolog (talk) 02:37, January 12, 2010 (UTC)

Fixed. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 02:59, January 12, 2010 (UTC)

File name capitalization

Due to the conversion of all icons to lowercase filenames, some icons do not show properly with this template. Should be an easy fix for anyone with permissions to do so. -- Dark T Zeratul (talk) 23:50, January 13, 2010 (UTC)

Done. --k_d3 00:21, January 14, 2010 (UTC)
Um... A recent change seems to have broken things... Asking for Emblems of Triumph (eot=nn) currently register as "Emblems of Frost". --Eirik Ratcatcher (talk) 21:44, January 14, 2010 (UTC)
Hmm... Stranger than that. The LINK is to Emblem of Triumph. I don't get an image, though... I DO get text: "Emblem of Frost". The icon (spell_holy_summonchampion.png) is one of those that are currently borked. --Eirik Ratcatcher (talk) 21:52, January 14, 2010 (UTC)

IoC Marks

Isle of Conquest marks are missing the "16px" modifier. -- Dark T Zeratul (talk) 19:43, April 6, 2010 (UTC)

Fixed. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 20:34, April 6, 2010 (UTC)

Honor

Is there any chance that the spaces before and after the icon can be removed for Honor? Because the icon is so slender, with the spaces it looks very isolated from the amount. -- Dark T Zeratul (talk) 18:24, July 29, 2010 (UTC)

Cataclysm points revamp

Given that honor, conquest, heroism, valor points are not items and will be replacing Arena points and emblems, perhaps it's time to add them to this list?  IconSmall Dwarf Male.gif Thio: Talk - Contributions 19:00, August 1, 2010 (UTC)

Noticed that also early this morning. I was going to update it myself–as the code looks pretty straight forward–but it's locked to standard editors. —MJBurrage(TC) 01:41, October 16, 2010 (UTC)
Highly used templates often will be locked. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 02:37, October 16, 2010 (UTC)
I think that Justice Points and Valor Points should be added to the {{cost}}-templat as well. Hans Kamp (talk) 10:14, October 19, 2010 (UTC)

Wrapping

As the template exists now, text-wrapping is permitted between a number and its symbol. This means that in tables or paragraphs the number can be split from the symbol. Examples below:

So, instead of sometimes seeing: 5000g you always see: 5000g
Lorem ipsum dolor sit amet, consectetur adipisicing elitt, sed 500 Honor Pointsdo eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation 2000g ullamco il laboris nisi ut aliquip ex ea commodo consequat.

Could someone with the correct permissions add "white-space:nowrap;" CSS to the template to prevent this? —MJBurrage(TC) 17:20, 1 November 2010 (UTC)

Point/Points

Almost all of the links in this template link to "XYZ Point", e.g. Justice Point, Honor Point, etc. However, these are all redirect pages to the appropriate pages: [Justice Points], [Honor Points], etc. The template is protected so I can't just fix the links. Colanai (talk) 08:06, 19 November 2010 (UTC)

Guild Achievement Points

I'd like to suggest a "Guild Achievement Points" currency be added to the {{cost}} template. The icon/points are separate from regular achievement points. —Tindelli (talk) 00:56, 4 December 2010 (UTC)

As I stated on Wowwiki when you requested this: Theres no reason to add Guild Achievement Points to this template as Guild/Achievement points aren't currency. This template is for currency only. Ressy (talk) 00:59, 4 December 2010 (UTC)
Sorry, I didn't see the WoWWiki respond until you mentioned it. I only suggested it since Achievement points themselves were already listed as a currency. I'll just use the normal achievement point currency for the guild achievements.

Excess space after 'cost'

I'm not sure if this is what Dark T Zeratul is referring to above (under Honor), but the template currently creates a space after itself, like this: 27g. It's definitely a 'space' as you can highlight it using your cursor. Any following . or , always looks a little silly. Is there a way to fix this? -- Taohinton (talk) 20:01, 2 October 2011 (UTC)

Spaces are added after the images as otherwise they would run together if there are multiple currencies been shown at once. --PcjWowpedia wiki manager (TDrop me a line!C207,729 contributions and counting) 20:17, 2 October 2011 (UTC)
I was referring to something slightly different, which is now a non-issue since the honor icon has been changed. -- Dark T Zeratul (talk) 00:43, 3 October 2011 (UTC)

Mists of Pandaria

Please can we add the [Ironpaw Token] to the currency. Fluclo (talk) 08:37, 24 May 2012 (UTC)

Done. {{cost|<it=3>}} --> 3 Ironpaw Token. --k_d3 20:02, 2 July 2012 (UTC)

Cooking Awards

Could the  [Dalaran Cooking Award] and [Chef's Award] be removed and have [Epicurean's Award] added please? SDKPhoenix (talk) 21:32, 5 October 2012 (UTC)

Ok, any |dca= and |ca= will now point to Epicurean's Awards, which is already part of the template. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 22:23, 5 October 2012 (UTC)

Gold - space

Plz add an extra space between the number and the icon. --Mordecay (talk) 17:33, 23 December 2015 (UTC)

So you'd prefer (55 Gold.png 55 Silver.png 55 Copper.png) over (55g 55s 55c)? Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 01:32, 24 December 2015 (UTC)
I think it looks weird with the space. -- DarkTZeratul (talk) 01:48, 24 December 2015 (UTC)
Same. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 01:50, 24 December 2015 (UTC)
As I have been doing the naval missions I noticed that in the infobox there is a space in the oil currency line unlike the gold line (On the Rocks). When used normally in the page with all three coins it really looks weird though. --Mordecay (talk) 10:11, 24 December 2015 (UTC)
Ok, I removed the space between the amount and the oil icon instead. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 18:53, 24 December 2015 (UTC)

Legionfall War Supplies

Please add an entry for [Legionfall War Supplies]. Thanks! -- Alayea (talk / contrib) 18:51, 28 March 2017 (UTC)

Anyone? -- Alayea (talk / contrib) 17:43, 2 May 2017 (UTC)

Done. Use lws. -- DarkTZeratul (talk) 19:03, 2 May 2017 (UTC)
Thank you. -- Alayea (talk / contrib) 19:57, 2 May 2017 (UTC)
DarkTZeratul looks like something broke. I'm seeing a bunch of random stuff involving numbers and Apexis. -- Alayea (talk / contrib) 20:32, 2 May 2017 (UTC)
Should be fixed now. -- DarkTZeratul (talk) 20:40, 2 May 2017 (UTC)
Yep, all good now. =) -- Alayea (talk / contrib) 20:48, 2 May 2017 (UTC)

Patch 7.2.0 Icon update

With patch 7.2.0 [Curious Coin] and [Seal of Broken Fate] received new icons, unfortunate the Cost template is now using the old icon. Could someone with edit right update the template? Haghala (talk) 05:16, 15 April 2017 (UTC)

The icons work fine for me. While I am not certain, I imagine clearing your cache might resolve this, if time doesn't fix this on it's own. PeterWind (talk) 13:35, 15 April 2017 (UTC)

Veiled Argunite

Please add [Veiled Argunite] to the template. Thanks! Alayea (talk / contrib) 19:21, 5 September 2017 (UTC)

Added Veiled Argunite and Argus Waystones as va and aw respectively. -- DarkTZeratul (talk) 16:57, 6 September 2017 (UTC)

Old and new currencies

Removed currencies that either need to be removed from the template or have a strikethrough (IMO):

PvP currencies that need adding:

I'd rather see things with a strike than remove them entirely! Xporc (talk) 18:30, 19 September 2017 (UTC)
I'd prefer strike aswell. I don't think they need to removed from the template, but strikes might be a good way to show that the currencies are no longer obtainable. PeterWind (talk) 18:41, 19 September 2017 (UTC)
Done. Snake.gifSssssssssssssssssssssssss Coobra sig3.gifFor Pony! (Sssss/Slithered) 21:40, 19 September 2017 (UTC)

War resources

Update its icon to: File:Inv faction warresources.png --Mordecay (talk) 12:32, 22 August 2018 (UTC)

Done. --IconSmall Wildkin.gif Alianin T C 14:33, 22 August 2018 (UTC)

Small icons

Change the following:

Be sure to add 16px to the file link if it isn't already there.

Surafbrov T / C / P 10:45, 5 November 2018 (UTC)

Could you confirm everything was done as asked: edit Xporc (talk) 12:17, 6 November 2018 (UTC)
Yup, it all looks good! Thanks! — Surafbrov T / C / P 18:55, 6 November 2018 (UTC)

Doc

Adding the |doc= option to block all categories. — Surafbrov T / C / P 11:00, 5 November 2018 (UTC)

I'm dumb, how do I do that Xporc (talk) 12:17, 6 November 2018 (UTC)
You wrap the categories like this {{{doc|[[Category:Link]]}}}Surafbrov T / C / P 18:58, 6 November 2018 (UTC)
Like [1] this? Xporc (talk) 12:22, 7 November 2018 (UTC)
Yup, looks good. Thanks! — Surafbrov T / C / P 00:25, 8 November 2018 (UTC)