Template:TS: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Created page with "{{Message box |border = #214ce5 |notice = This template uses CSS found at [[Template:{{{1|{{ROOTPAGENAME}}/styles.css}}}|{{{1|{{ROOTPAGENAME}}/styles.css}}}]]. |image = CSS3_logo.svg }} <includeonly>{{#if: {{{nocat|}}} || Category:Templates using TemplateStyles }}</includeonly><noinclude>{{Documentation}}</noinclude>"
 
m categories.
Line 1: Line 1:
{{Message box
{{Message box
|border = #214ce5
| border = #214ce5
|notice = This template uses CSS found at [[Template:{{{1|{{ROOTPAGENAME}}/styles.css}}}|{{{1|{{ROOTPAGENAME}}/styles.css}}}]].
| notice = This template uses CSS found at [[Template:{{{1|{{ROOTPAGENAME}}/styles.css}}}|{{{1|{{ROOTPAGENAME}}/styles.css}}}]].
|image = CSS3_logo.svg
| image = CSS3 logo.svg
}}
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{#ifeq:{{lc:{{{nocat|false}}}}}|false||[[Category:Templates using TemplateStyles]]}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{#if: {{{nocat|}}} || [[Category:Templates using TemplateStyles]] }}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:28, 11 May 2026

CSS3 logo.svg
This template uses CSS found at TS/styles.css.
Template documentation [view] [edit] [history] [purge]

Description

This message box template should be placed at the top of a the documention of a template utilising the TemplateStyles extension.

Usage

It should be placed at the top of the documentation. Directly using {{TS}} without the optional parameter will display the Message Box with a link relative to the pages {{ROOTPAGENAME}} .

Examples

Using the optional parameter will add a specific page to the message box. This is highly recommended. Code:

{{TS|WeaponCard/styles.css}}

Result:

CSS3 logo.svg
This template uses CSS found at WeaponCard/styles.css.
{{TS}}

Result:

CSS3 logo.svg
This template uses CSS found at TS/styles.css.