Template:Documentation: Difference between revisions
imported>JejChainstar (Created page with "<includeonly> {{#ifexist:{{{1|{{FULLPAGENAME}}}}}/doc |{{ {{{1|{{FULLPAGENAME}}}}}/doc }}Category:Templates with documentation |{{#ifexist:{{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}/doc |{{ {{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}/doc}}Category:Templates with documentation |{{#ifexist:Template:{{{1}}}/doc |{{ {{{1}}}/doc}}Category:Templates with documentation |Category:Templates with no doc...") |
imported>Ttv pedro270707 m (Protected "Template:Documentation": Used in all templates. ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke: documentation | page }}</includeonly><noinclude> | ||
{{# | {{Documentation}} | ||
<!-- Put categories on the documentation page --> | |||
}}</includeonly><noinclude> | |||
{{Documentation | |||
</noinclude> | </noinclude> |
Latest revision as of 20:26, 29 March 2023
[view | | | ]Documentation
File:Lua logo.svg
This template uses Module:Documentation, a script written in Lua.
This template transcludes the template's documentation page automatically, if no documentation is found, the template is added to Category:Templates with no documentation and Template:Doc will be displayed in place.
Argument[edit source]
Argument | Default value | Note |
---|---|---|
1 |
{{FULLPAGENAME}}/doc |
Documentation to display. |
[view | | | ]The above documentation is transcluded from Template:Documentation/doc.