Template:Uses TemplateStyles/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

This template is used to show that templates have been converted to use TemplateStyles. It is placed at the top of the template's /doc page.

The syntax for actually doing a TemplateStyles is, of course: <templatestyles src="" /> (with the page name in the quotation marks).

Our finest code monkeys have also modified this dorky Wikipedia module to tell you whether you're using Extension:CSS to load the stylesheet, as TemplateStyles can't accept "unsanitized CSS" on account of its virulent racism. Well, technically, it will say you're using Extension:CSS if you're not using sanitized CSS, because, why would you be using Extension:CSS on sanitized CSS, what are you, a weirdo? A freak?

Usage

Basic
{{Uses TemplateStyles|TemplateStyles page name}}
All parameters
{{Uses TemplateStyles|TemplateStyles page 1|TemplateStyles page 2|TemplateStyles page 3|...|category=custom category|nocat=true}}

The first TemplateStyles page name is required.

TemplateStyles sandboxes

Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is Template:Foo/styles.css, then the sandbox version should be Template:Foo/sandbox/styles.css

Examples

One style page

{{Uses TemplateStyles|Template:Arrowlist/styles.css}}

Multiple style pages

{{Uses TemplateStyles|Template:Arrowlist/styles.css|Template:Routemap/styles.css}}

Sandbox version of style page exists

{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css}}

No style pages specified

{{Uses TemplateStyles}}

Categories

This template used to add categories, but we don't need any of that Wikipedia nonsense, so all the categories in Module:Uses TemplateStyles/config have been set to nil

See also