Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template talk:TestTemplate: Difference between revisions

Discussion page of Template:TestTemplate
Hirmuolio Pine (talk | contribs)
No edit summary
Add reaction
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:


:You can build a templates on your own sandbox pages. For example I could make the template on [[User:Hirmuolio_Pine/sandbox3]] and then use it on [[User:Hirmuolio_Pine/sandbox4]] with the normal template syntax <nowiki>{{User:Hirmuolio_Pine/sandbox3}}</nowiki>.  [[User:Hirmuolio Pine|Hirmuolio Pine]] ([[User talk:Hirmuolio Pine|talk]]) 14:27, 1 July 2021 (UTC)
:You can build a templates on your own sandbox pages. For example I could make the template on [[User:Hirmuolio_Pine/sandbox3]] and then use it on [[User:Hirmuolio_Pine/sandbox4]] with the normal template syntax <nowiki>{{User:Hirmuolio_Pine/sandbox3}}</nowiki>.  [[User:Hirmuolio Pine|Hirmuolio Pine]] ([[User talk:Hirmuolio Pine|talk]]) 14:27, 1 July 2021 (UTC)
:: Yes, absolutely true. With one exception when calling this template you have to add the namespace, as you have done in your example. Unlike with a template in the template namespace where you can omit the namespace Not a huge problem but you have to remember.    [[User:Evon R&#39;al|Evon R&#39;al]] ([[User talk:Evon R&#39;al|talk]]) 16:26, 1 July 2021 (UTC)
:: Well, I just found something that does not work. The {{T|T}} template does not work with the namespace added. <nowiki>{{T|Cleanup}}</nowiki> {{T|Cleanup}} works but <nowiki>{{T|Template:Cleanup}}</nowiki> {{T|Template:Cleanup}} does not. It apears that the template namespace is build in in the T template (Hovering the mouse cursor over the non working link gives Template:Template:Cleanup). Looks like we will still need a test/sandbox template in the template namespace to test that. Does not mater much for the template itself. But is a bit of a bother wen working on the template documentation.    [[User:Evon R&#39;al|Evon R&#39;al]] ([[User talk:Evon R&#39;al|talk]]) 17:22, 1 July 2021 (UTC)