Template talk:Card table anime and manga appearances

From Yugipedia
Revision as of 23:38, 8 September 2010 by Deltaneos (talk | contribs) (Something similar: signed twice)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Something similar[edit]

This is an interesting idea. There is something else I had been thinking of a while ago, I think is worth mentioning.

{{#arraymap:{{{anime_5d|}}}|/|x|{{episode|Yu-Gi-Oh! 5D's|x|number}}|/}}

Would convert |anime_5d = 4/8/15/16/23/42 to 0044/0088/01515/01616/02323/04242

The disadvantages to this compared to setup on this page are:

  • It will shave extra 0s off the start of episodes before 100
  • it won't work if the episode article doesn't exist.

The advantages are

  • It should handle an arbitrarily high amount of episodes, so we won't need to update the number of parameters to ensure it stays higher than the amount of appearances a card has
  • It's not based on pagenames, so it would be less messy should we ever decide to change how episode and chapter pages are named.
  • The template syntax is a bit cleaner... maybe?

-- Deltaneos (talk) 23:20, September 8, 2010 (UTC)