Difference between revisions of "Help talk:Templates"
From Backstage Lore Wiki
m (Protected "Help talk:Templates" [edit=sysop:move=sysop]) |
(→Creating a template : EDIT) |
||
Line 2: | Line 2: | ||
{{notsigned|name=TornSoul}} | {{notsigned|name=TornSoul}} | ||
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") | 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") | ||
+ | |||
+ | A template ([[:Template:Template]]) exists making this even easier. Just put {{color|green|<nowiki>{{</nowiki>template<nowiki>}}</nowiki>}} on your template page. |
Revision as of 16:32, 17 December 2008
Creating a template : EDIT
The following unattributed comment was left by TornSoul.
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.