Template:Uses TemplateStyles: Difference between revisions
Jump to navigation
Jump to search
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)) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Uses TemplateStyles|main}}</includeonly><noinclude> | |||
{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} | {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}} | ||
{{documentation}} | {{documentation}} | ||
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> | |||
</noinclude> |
Revision as of 21:16, 30 June 2022
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>