Difference between revisions of "Template talk:Nav Doc"
m (moved Template talk:Hidan no Aria Nav/Documentation to Template talk:Nav Doc: One doc template for all navs by Zero2001) |
Raffreddato (talk | contribs) |
||
Line 2: | Line 2: | ||
What's even more wierd is that the talk page ''is'' a subpage (shown by the link at the top) but the sub-template page itself isn't... Weird. [[User:Zero2001|Zero2001]] - [[User_talk:Zero2001|Talk]] - 19:49, 29 July 2011 (UCT) |
What's even more wierd is that the talk page ''is'' a subpage (shown by the link at the top) but the sub-template page itself isn't... Weird. [[User:Zero2001|Zero2001]] - [[User_talk:Zero2001|Talk]] - 19:49, 29 July 2011 (UCT) |
||
+ | |||
+ | ==Explanation on how to use the Nav Doc Template== |
||
+ | |||
+ | After writing the nav template, copy the following code to the very bottom of the template page: |
||
+ | |||
+ | <nowiki><noinclude> |
||
+ | ---- |
||
+ | {{Nav Doc |
||
+ | |seriesname=write series name here |
||
+ | |navname=write nav name here |
||
+ | |pre=write previous chapter name to be used as in the example here |
||
+ | |nex=write next chapter name to be used as in the example here}} |
||
+ | </noinclude></nowiki> |
||
+ | |||
+ | The field names are pretty much self explanatory, simply replace the text '''after the = signs''' with their respective page/template names. The '''noinclude''' tags are compulsory since they ensure that the Nav Doc template is not further transcluded into the chapter pages. |
Latest revision as of 13:56, 24 February 2013
This is really wierd. Why didn't this become a subpage? Perhaps I should change this into a page that automatically creates documentation of the template it is placed in. Hmm. Zero2001 - Talk - 19:47, 29 July 2011 (UCT)
What's even more wierd is that the talk page is a subpage (shown by the link at the top) but the sub-template page itself isn't... Weird. Zero2001 - Talk - 19:49, 29 July 2011 (UCT)
[edit]
After writing the nav template, copy the following code to the very bottom of the template page:
<noinclude> ---- {{Nav Doc |seriesname=write series name here |navname=write nav name here |pre=write previous chapter name to be used as in the example here |nex=write next chapter name to be used as in the example here}} </noinclude>
The field names are pretty much self explanatory, simply replace the text after the = signs with their respective page/template names. The noinclude tags are compulsory since they ensure that the Nav Doc template is not further transcluded into the chapter pages.