Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Uses TemplateStyles/doc: Difference between revisions

Template page
Created page with '{{Lua|Module:Uses TemplateStyles}} {{TemplateBox |1 = 1 |1label-en= stylesheet |1d-en = Title of the stylesheet page, with namespace |1aliases...'
 
No edit summary
 
(7 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}}
{{TemplateBox
{{Uses TNT|Uses TemplateStyles}}
  |1        = 1
 
  |1label-en= stylesheet
| desc-en =
  |1d-en    = Title of the stylesheet page, with namespace
 
  |1aliases = <!-- List of aliases, separated by / (a slash) -->
| namespace = 10
  |1type    = wiki-page-name
| usergroup = all
  |1def    = <!-- default value for the parameter -->
| placement = In the {{para|mbox}} parameter of {{tld|TemplateBox}}.
  |1stat    = required
 
| relieson =
* [[Module:Uses TemplateStyles]]


  |2        = 2
| setscats =
  |2label-en= additional stylesheet
* {{C|{{#invoke:Data|Module:Uses TemplateStyles/config|error_category}}|+}}, added if the template call contains errors (e.g. no styles listed).
  |2d-en    = Titles of additional stylesheet pages: second as second unnamed parameter, third as third unnamed parameter etc.
* {{cl|{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}}}, added if no custom category is specified in the template call.
  |2aliases =
* {{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.
  |2type    = wiki-page-name
  |2def    =
  |2stat    = optional-


  |3        = nocat
| example = Template:Uses TemplateStyles/example.css
  |3label-en= disable categorization
| example-value = {{Uses TemplateStyles{{\sandbox}}|Template:Uses TemplateStyles/example.css|nocat=true}}
  |3d-en    = Whether to disable categorization: “no”, “0” etc. allow categorization, “yes”, “1” etc. disable it
<!--
  |3aliases =  
| example2 = wish=true
  |3type    = boolean
| example2-value = {{Uses TemplateStyles|wish=true|nocat=true}}
  |3def    = 0
-->
  |3stat    = optional-
| example3-source = <nowiki>{{Uses TemplateStyles}}</nowiki>
| example3-value  = {{Uses TemplateStyles{{\sandbox}}|nocat=true}}


  |4        = category
| seealso =
  |4label-en= main category
* {{tld|Lua}}
  |4d-en    = Main category to put on pages using this template, without namespace prefix
* {{tld|Uses TNT}}
  |4aliases =
  |4type    = line
  |4def    = Templates using TemplateStyles
  |4stat    = optional-


  |5        = noprotcat
| i18n-method = TNT
  |5label  = disable protection level check
  |5d-en    = Whether to disable checking that the stylesheet page has same protection level as the main template: “no”, “0” etc. allow check, “yes”, “1” etc. disable it
  |5aliases =
  |5type    = boolean
  |5def    = 0
  |5stat    = optional-


  |name              = Uses TemplateStyles
| print = line
  |desc              =
| useTemplateData = TNT
  |namespace          = template
| 1 = 1
  |usergroup          =
  |placement          = top
  |example            = Template:Uses TemplateStyles/example.css
  |example-value      = {{Uses TemplateStyles|Template:Uses TemplateStyles/example.css|nocat=true}}
  |mustbesubst        =
  |relieson          =
  |usage-notes        =
  |shorthand          =
  |setscats          =  
  |seealso            =
  |type              =
  |i18n-method        = -
  |i18n-desc          =
  |i18n-subpage      =
  |i18n-mediawiki-msg =
  |print              =
  |useTemplateData    = only
}}
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.