Template talk:Shopitem

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 18:30, 27 February 2015 by Tiddlywinks (talk | contribs) (→‎Better note format: new section)
Jump to navigationJump to search

Edit Request

A linking feature, so that a link can be assigned rather than an auto setting of the items name. This would be needed for Metronome and Coin purchases at Game Corners.--SnorlaxMonster 08:27, 19 April 2010 (UTC)

Edit Request 2

Can someone add steps and units as a currencies? --SnorlaxMonster 07:25, 29 July 2010 (UTC)

Done, the parameters are "Steps" and "Units". Jello 07:50, 29 July 2010 (UTC)

Poké Miles

Could someone add Poké Miles (just displaying as "Miles", perhaps) as one of the currency options? Tiddlywinks (talk) 11:21, 2 March 2014 (UTC)

Perhaps it would help if I give the code that needs to be added... Please replace:
units</span>]]|
...with...
units</span>]]|Miles|PM={{{2|0}}}[[Poké Mile|<span style="color:#000;">PM</span>]]|
That should be sufficient, at least.
...While we're modifying the template, the code {{#ifeq: |Night|_Night}} (occurring twice) can also be removed, as that variation of a:File:PokémonDollar.png was removed because it was unused. Tiddlywinks (talk) 12:51, 21 March 2014 (UTC)

ORAS Volcanic ash, grams

Would someone replace

steps</span>]]|

with

steps</span>]]|Grams={{{2|0}}} [[Volcanic ash|<span style="color:#000;">grams</span>]]|

so that the shop can say "grams" for glass items in ORAS? ORAS's shop table currently says steps, which is actually very inaccurate for ORAS. Tiddlywinks (talk) 15:38, 31 January 2015 (UTC)

Better note format

Can we add a special parameter that allows us to use a better format for notes than hover text on an asterisk? It's really not ideal that people have to hover over several asterisks to read them all, and often enough there are many in the same shop. We could change this:

{{#if: {{{4|}}}|{{tt|*|{{{4|No notes.}}}}}}}

to this:

{{#if: {{{note|}}}|{{{note}}}|{{#if: {{{4|}}}|{{tt|*|{{{4|No notes.}}}}}}}}}

That way, current templates that use the fourth parameter for a note won't get broken, but we can still go around changing templates to use things like BW or 5 Badges that people can actually read without jumping through tedious hoops. Tiddlywinks (talk) 18:30, 27 February 2015 (UTC)