Template talk:Tutormv: Difference between revisions

 
Line 64: Line 64:
*Someone should take this lesson to heart. Until next time, folks. --[[User:Raijinili|Raijinili]] ([[User talk:Raijinili|talk]])
*Someone should take this lesson to heart. Until next time, folks. --[[User:Raijinili|Raijinili]] ([[User talk:Raijinili|talk]])
:I've hidden the template to prevent links appearing on the wanted pages, Mmm. --[[User:Spriteit|Spriteit]] ([[User talk:Spriteit|talk]]) 12:05, 22 February 2013 (UTC)
:I've hidden the template to prevent links appearing on the wanted pages, Mmm. --[[User:Spriteit|Spriteit]] ([[User talk:Spriteit|talk]]) 12:05, 22 February 2013 (UTC)
== New conditional? (Mystery Dungeon) ==
On [[Hawlucha's Slam School]], I recently added a list of the tutor moves available in-game, along with their costs. However, since this template is set up to work nicely with shard tables in the core series, this left the cost column with a red background. Would it be reasonable to add a new "poke=" conditional to give this column a white background for this table and any other MD game with tutor moves that cost Poké? If so, this code should be able to work:
<nowiki>}}{{#if: {{{poke|}}}|{{!}}{{!}} {{#iferror: {{#expr: {{{poke}}} + 1 }}|[[File:Poké currency.png|link=Poké]]{{{poke}}}}}</nowiki>
If it's too much of an edge case/stretching the purpose of this template, I understand, though. [[User:VioletPumpkin|VioletPumpkin]] ([[User talk:VioletPumpkin|talk]]) 16:46, 22 July 2016 (UTC)
editlock-exempt
1,925

edits