Template:Uses TemplateStyles/doc: Difference between revisions
Template page
More actions
Set the `useTemplateData` and `i18n‑method` parameters of {{TemplateBox}} to `TNT` (use c:Data:Templatedata/Uses TemplateStyles.tab and c:Data:I18n/Uses TemplateStyles.tab) |
No edit summary |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
{{TemplateBox | |||
| name = Uses TemplateStyles | |||
| mbox = | |||
{{Lua|Module:Uses TemplateStyles}} | {{Lua|Module:Uses TemplateStyles}} | ||
{{ | {{Uses TNT|Uses TemplateStyles}} | ||
| desc-en = | |||
| namespace = 10 | |||
| usergroup = all | |||
| placement = In the {{para|mbox}} parameter of {{tld|TemplateBox}}. | |||
| relieson = | |||
* [[Module:Uses TemplateStyles]] | |||
| setscats = | |||
* {{C|{{#invoke:Data|Module:Uses TemplateStyles/config|error_category}}|+}}, added if the template call contains errors (e.g. no styles listed). | |||
* {{cl|{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}}}, added if no custom category is specified in the template call. | * {{cl|{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}}}, added if no custom category is specified in the template call. | ||
* {{cl|{{#invoke:Data|Module:Uses TemplateStyles/config|protection_conflict_category}}}}, added if the protection level of any stylesheet differs from the one of the template. | * {{cl|{{#invoke:Data|Module:Uses TemplateStyles/config|protection_conflict_category}}}}, added if the protection level of any stylesheet differs from the one of the template. | ||
| example = Template:Uses TemplateStyles/example.css | |||
| example-value = {{Uses TemplateStyles{{\sandbox}}|Template:Uses TemplateStyles/example.css|nocat=true}} | |||
<!-- | |||
| example2 = wish=true | |||
| example2-value = {{Uses TemplateStyles|wish=true|nocat=true}} | |||
--> | |||
| example3-source = <nowiki>{{Uses TemplateStyles}}</nowiki> | |||
| example3-value = {{Uses TemplateStyles{{\sandbox}}|nocat=true}} | |||
| seealso = | |||
* {{tld|Lua}} | |||
* {{tld|Uses TNT}} | |||
| i18n-method = TNT | | i18n-method = TNT | ||
| print = line | | print = line | ||
| useTemplateData = TNT | | useTemplateData = TNT | ||
| 1 = 1 | | 1 = 1 | ||
}} | }} | ||