Template talk:Disambiguation

From Team Fortress Wiki
Revision as of 12:58, 31 July 2014 by SackZement (talk | contribs)
Jump to: navigation, search

Why not make the first parameter default to {{PAGENAME}}, effectively removing the need for it? » Cooper Kid (blether) • (contreebs) 08:49, 15 May 2012 (PDT)

I would think it's because some disambiguation pages would be located at titles of the form 'Shotgun (Disambiguation)'. User Moussekateer signature sprite.pngMoussekateer·talk 09:22, 15 May 2012 (PDT)
Bingo! Well played, sir. » Cooper Kid (blether) • (contreebs) 09:50, 15 May 2012 (PDT)

Easier creation/editing of disambiguation pages

When you look at these pages, they are all rather similar, so naturally templates come into my mind. For example, the Glove page:
Glove may refer to:

  • {item name}, a {optional:promotional} {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, a {cosmetic or weapon} for the {class}.
  • {item name}, a {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:default} {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:community-made} {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, an {optional:unlockable} {optional:slot} {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:promotional} {cosmetic or weapon} for the {class}.
  • {item name}, a {cosmetic or weapon} for the {class}.
  • {item name}, a {optional:slot} {cosmetic or weapon} for the {class}.

where {optional:slot} would be {||primary|secondary|melee} or something similar. The bold line for example is the page for the KGB, and all the information can be extracted from the item infobox:

  • {item name} given by the user
  • {optional:unlockable} from availability parameter
  • {optional:slot} from slot paramater
  • {cosmetic or weapon} from type parameter
  • {class} from used by parameter

So the final glove disambiguation page could be done in a single line and look something like: {{newDisambiguationTemplateName|Apoco-Fists|Digit Divulger|Falconer|Fists|...}}
The questions are:

  • How good can the template deal with exceptions
  • How much does this improve the consistency of disambiguation pages.
  • Can this used for translated disambiguations aswell?
  • How often do we create new disambiguation pages, or rather, would it make sense to change existing disambiguation pages into using the template.
  • Are disambiguation pages even worth the effort?

I think such a template could make the editing disambiguation pages really easy, but I'm not entirely sure if it's worth it, since the creation of the template would not be an easy task.
Your thoughts please! User SackZement signature.gifSackZement <Talk> 05:58, 31 July 2014 (PDT)