Sjabloon:Documentatie/doc: verschil tussen versies
Huidige versie van 1 feb 2010 om 19:58
UsagePlace one of the following transclusions into the page that is being documented. Normal /doc<noinclude>{{Documentation}}</noinclude> Any /doc page<noinclude>{{Documentation|Template:any page/doc}}</noinclude> In-line content<noinclude>{{Documentation|content=This is documentation.}}</noinclude> In-line content with [view][edit] links<noinclude>{{Documentation |1 = Template:any page/doc |content ={{Template:any page/doc|parameters}} }}</noinclude> Best practiceThis code should be added at the bottom of the template code, with no extra space before " Categories and interwiki links that apply to the template itself should be added to the documentation page, inside If the documentation page contains includeonly or noinclude tags as part of the documentation, replace the "<" with "<". Customizing displayOverrides exist to customize the output in special cases:
FunctionsIf the documentation page doesn't exist, the "edit" link includes a preload parameter so that clicking it will pre-fill the edit form with the basic documentation page format.
|