User:Derik/Sandbox4

From MediaWiki
Revision as of 14:38, 7 March 2008 by Derik (talk | contribs)
Jump to navigationJump to search

GoTo Template

Abstract:

Mega-template to sit in Franchise/goto space.

{{Headmasters/goto|comic}}

suffixes include:

  • comic
  • cartoon
  • Anime (Syn)
  • Franchise
  • Toyline
  • Tech (about non-franchise Headmasters stuff)
  • Autobots
  • Decepticons (cast pages)

Can a meta-template help this work? Or is messy handwritten SWITCH calls our only option? What about subst: for setup?

What if is translated the piped request-term into a standardized term? i.e. "cartoon" -> 'animatedseries'?
OOH- and you could send it like---
{{translator
|{{{1}}} <-- The Requested Variable
|Anime=pagename/title?
|comic =
|manga=
...
}}

...so each page actually sends the Translator-template the whole kit-and-kaboodle of their possible 'dests' alogn with what was requested of them this time. Then the Translator template says "well, this one here matches the term in question best."

Look into parsing on commas as terms for ease of setup
|Anime_name=Name
|Anime_page=Page
|Anime_possible=cartoon,tv,anime