FANDOM


Please see the following results:

  1. Guild Points Value: None
  2. Guild Points Value: 100 / 2,000 (20 items)
  3. Guild Points Value: ??? / 2,000 (??? items) Information
  4. Guild Points Value: 100 / ??? (??? items) Information

Seems like # 3 should reflect something like "??? / 2000" and 4 "100 / ???". Possible? --GAHOO t/ c 16:30, 16 July 2007 (CDT)

Will that do? ~ Karuberu 17:17, 16 July 2007 (CDT)


Looks good. Thanks. --GAHOO t/ c 17:21, 16 July 2007 (CDT)

How about Unknown guild point value? Should that be entered as {{Guild Points Value}} and then just leave as none, or would it be better as {{Guild Points Value||}} and display as Unknown? --Terin  ( my talk /  my contributions) 00:30, 19 July 2007 (CDT)

{{Guild Points Value}} and {{Guild Points Value||}} are the same (all feilds undefined). If Guild Points are unknown, just use "None" and put a verification tag after it. Someone will correct it when more information is available. ~ Karuberu 14:57, 19 July 2007 (CDT)


Is there a way to make it accept (or even better ignore - it should work with or without) commas:

{{Guild Points Value|1,000|2,000}} returns:
Guild Points Value: 1,000 / 2,000 (Expression error: Unrecognised punctuation character ",". items) —The preceding unsigned comment was added by Gahoo (talkcontribs).

There's no way that I know of, unfortunately. However, I could make it so the output is always formatted with commas, making inputs with commas unnecessary:

{{formatnum:1000}} / {{formatnum:2000}} results in 1,000 / 2,000

Though personally, I prefer it without commas. ~ Karuberu 18:02, 27 July 2007 (CDT)

Final Version?

So is this finalized yet? Seems to work pretty stability. Needs to be added into the item template if so. --CharitwoTalk 20:12, 27 July 2007 (CDT)

I don't see any major changes to be made, so yes, this is ready to be fully implemented. ~ Karuberu 22:08, 27 July 2007 (CDT)

Unknown Amounts

If unknown, you can put {{Guild Points Value|???|}} or {{Guild Points Value||???}} to output: Guild Points Value: ??? / ??? (??? items) Information --GAHOO t/ c 13:34, 30 July 2007 (CDT)

How come it can be in one or the other, but not both? --CharitwoTalk 13:44, 30 July 2007 (CDT)

I don't know. --GAHOO t/ c 14:19, 30 July 2007 (CDT)

Because if both terms are defined, it tries to calculate the number of items needed, which it obviously can't do if it's trying to calculate words. But when there is only one defined, it won't try to calculate anything, it will just display the known one and put ???s for the missing information. This problem could be solved in a number of ways:

  1. Gahoo's suggestion; just have the editor input something so people know the information is unkown. Simple, but simple is good with templates.
  2. Add a #ifeq for "???"; this would work the same as Gahoo's except it would be integrated into the template, so the result could be changed later.
  3. Change the usage for "None" to {{Guild Points Value|0}} and have {{Guild Points Value||}} produce the completely unknown result.

Option 2 may seem like the best choice at first, but the input would be based on knowing the template or looking on other pages, which isn't the best way to do things. On the other hand, Option 3 has a common-sense input, but would require changes on some pages (not too big of a deal, since this template is used the most on items with points). Therefor, Option 1 is my favorite, especially considering the limited time that all the information would be unknown. ~ Karuberu 18:28, 30 July 2007 (CDT)

After thinking about this a while, I'm now leaning towards using {{Guild Points Value|0}} to represent items that aren't worth any points, and using {{Guild Points Value||}} for items that have no GP information yet. If we added the usage for {{Guild Points Value|0}} and changed all the pages, then changed the {{Guild Points Value||}} to its new form, there would be no visible change. The problem would be going through the nearly 1,000 pages that use this template now. ~ Karuberu 23:40, 21 August 2007 (CDT)

Community content is available under CC-BY-SA unless otherwise noted.