Template:Uses TemplateStyles: Difference between revisions
Jump to navigation
Jump to search
en>MusikBot II m (Protected "Template:Uses TemplateStyles": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))) |
en>Tacsipacsi (Undo revision 4680578 by ExE Boss (talk): neither this is the local configuration; furthermore, recreating the Lua logic in wikitext is a plain waste of efforts (not to mention that it’s not even correct: {{#if:}} simply tests emptiness, so the “and” in the middle ensures that it will always be truthy, no matter what the parameters are)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly>< | <onlyinclude><includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly></onlyinclude> | ||
{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} | {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} | ||
{{documentation}} | {{documentation}} | ||
Revision as of 19:47, 2 July 2021
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. Used to create documentation for templates
Usage
There are two ways to use this template.
1. Add to the bottom of your template:
<noinclude>{{doc}}<noinclude>
Then click on the "Create" link to get started with your documentation.
2. Include the documentation directly in the template (not preferred method):
<noinclude>{{doc|text= Documentation text ==Usage== How to use the template, etc. }}<noinclude>