Difference between revisions of "Template:Documentation/doc"

From POV-Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}|}}</includeonly> <noinclude>{{Template:Documentation/doc}}</noinclude>")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
Put documentation about a <template> in <template>/doc and then at the end of <template> put this:
{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}|}}</includeonly>
+
<nowiki><noinclude>{{Documentation}}</noinclude></nowiki>
<noinclude>{{Template:Documentation/doc}}</noinclude>
+
in a single line.
 +
 
 +
Template:Documentation will look if <template>/doc exists and if yes it will include <template>/doc in <template> page itself only when looking directly at the <template> page (not when you use actually use the <template> itself).
 +
{{Clr}}
 +
 
 +
{{Blend-doc-repository/Template}}

Latest revision as of 11:43, 11 October 2019

Put documentation about a <template> in <template>/doc and then at the end of <template> put this:

<noinclude>{{Documentation}}</noinclude>

in a single line.

Template:Documentation will look if <template>/doc exists and if yes it will include <template>/doc in <template> page itself only when looking directly at the <template> page (not when you use actually use the <template> itself).



This template is part of the blend-doc repository. We use categories to retrieve templates in order to commit it in that repository: please don't remove the categorization from this template.