Template:Doc/doc: Difference between revisions
From MediaWiki
Jump to navigationJump to search New page: Test |
No edit summary |
||
| Line 1: | Line 1: | ||
Using <nowiki>{{doc}}</nowiki> on a page will [[Wikipedia:Wikipedia:Transclusion|transclude]] the text of the /doc/ sub-page, if that page exists. if ti does not, it will do nothing. | |||
On [[Template:spoilers]], the sub-page would be [[[[Template:spoilers/doc]]. | |||
<nowiki>{{doc}}</nowiki>'s purpose it to make it easier to maintain documentation, especially template- while also separating the editing history of the documentation from the editing history of the template itself. | |||
Revision as of 04:54, 10 June 2008
Using {{doc}} on a page will transclude the text of the /doc/ sub-page, if that page exists. if ti does not, it will do nothing.
On Template:spoilers, the sub-page would be [[Template:spoilers/doc.
{{doc}}'s purpose it to make it easier to maintain documentation, especially template- while also separating the editing history of the documentation from the editing history of the template itself.

