Difference between revisions of "Help talk:Templates"
From Backstage Lore Wiki
(→Creating a template : EDIT) |
m (Protected "Help talk:Templates" [edit=sysop:move=sysop]) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == Creating a template : EDIT == | + | == Creating a template : EDIT == |
+ | (add the following below the existing text - copy/paste it from the edit page) | ||
− | + | When creating a template always include {{color|green|<nowiki><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude></nowiki>}}. | |
− | |||
− | |||
Make sure to remember the PAGENAME part, as it puts the Template on the [[:Category:Templates]] page, and sorts it after the first letter of PAGENAME , instead of the first letter of "Template:PAGENAME" (Making the first letter "T") | Make sure to remember the PAGENAME part, as it puts the Template on the [[:Category:Templates]] page, and sorts it after the first letter of PAGENAME , instead of the first letter of "Template:PAGENAME" (Making the first letter "T") | ||
+ | |||
+ | A template ([[:Template:Template]]) exists making this even easier. Just put {{color|green|<nowiki>{{</nowiki>template<nowiki>}}</nowiki>}} on your template page. | ||
+ | |||
+ | --[[Contributor name:TornSoul|TornSoul]] 21:35, 17 December 2008 (UTC) |
Latest revision as of 15:37, 17 December 2008
Creating a template : EDIT
(add the following below the existing text - copy/paste it from the edit page)
When creating a template always include <noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>.
Make sure to remember the PAGENAME part, as it puts the Template on the Category:Templates page, and sorts it after the first letter of PAGENAME , instead of the first letter of "Template:PAGENAME" (Making the first letter "T")
A template (Template:Template) exists making this even easier. Just put {{template}} on your template page.
--TornSoul 21:35, 17 December 2008 (UTC)