Template talk:TypeToColor

From Wikivoyage
Jump to navigation Jump to search

VFD discussion[edit]

Was tagged as a speedy deletion candidate by user:Yurik a good while ago, with the following rationale: Do we want to keep this page now that we have Module:TypeToColor, and almost nothing is using it anymore? JuliasTravels (talk) 14:32, 11 July 2016 (UTC)

What do the template and module do? Ikan Kekek (talk) 15:52, 11 July 2016 (UTC)
  • Keep According to the documentation " It is used in Template:marker and Template:listing.". I have just looked in the code for Template:marker and TypeToColor is there (sorry I am not sure whether it is the module or the template that is called). Even if the Module is now actually used instead, I think that this template is important for understanding how things work. Maybe the documentation should be updated to say "use the module instead". AlasdairW (talk) 21:05, 11 July 2016 (UTC)
    The template has been converted to a module and should thus be deleted - we don't want it used in the future, and the module documentation would be the proper place to document "how things work". It shouldn't have been tagged "speedy" since the existing links to the template should be examined and converted if necessary, but once existing references are removed there is no reason to keep it. -- Ryan • (talk) • 21:45, 11 July 2016 (UTC)
  • Check whether anything would break without the template. If it's not needed any more, there is no reason not to delete Hobbitschuster (talk) 22:05, 11 July 2016 (UTC)
    If a module is based on a template, there may be copyright reasons to keep the template history. I do not know whether that is the case, but just want to warn about this aspect, often relevant also for proper articles etc. --LPfi (talk) 14:53, 12 July 2016 (UTC)
  • Redirect to Module:TypeToColor per the attribution argument made by LPfi. I did a quick search and as far as I can tell none of the existing links to the template are in active use, so there should be nothing that needs to be updated before a rename could be performed. -- Ryan • (talk) • 03:18, 13 July 2016 (UTC)
    • Cross-namespace redirects are usually frowned upon. I'm not even sure if such a redirect would work properly. Powers (talk) 01:20, 15 July 2016 (UTC)
      • Could be set to {{#invoke:TypeToColor|convert|{{{1|}}}}} instead. -- WOSlinker (talk) 21:54, 16 July 2016 (UTC)

Outcome: Updated to invoke the module per WOSlinker -- Ryan • (talk) • 07:15, 11 August 2016 (UTC)