Template talk:Vte

From RationalWiki
Jump to: navigation, search

Doesn't work outside of template[edit]

Note RationalWiki:Moderator elections/Schedule, the vte links don't work. They are putting "Template:" before the name.

I'm raising this here since the template's on 7383 pages (as of writing) and I want consensus on how best to approach it.

My proposal is to add a second, optional parameter to change the default namespace from template to something else. E.g. {{vte|Moderator elections/Schedule|RationalWiki}} Thoughts? —Kazitor, pending 00:57, 20 December 2017 (UTC)

Oh, just noticed the second param is used to change the colour. Third param then, with the option to leave the second black. —Kazitor, pending 01:01, 20 December 2017 (UTC)

Prototype[edit]

See User:Kazitor/sandbox, which transcludes {{vte/sandbox}}

New substitution would be {{vte|{{subst:PAGENAME}}||{{subst:NAMESPACE}}}} if necessary. —Kazitor, pending 01:06, 20 December 2017 (UTC)