Template:TSLoader: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
{{tcode|TSLoader|stylesheet}} | {{tcode|TSLoader|stylesheet}} | ||
* {{p|1}}: The page name of the stylesheet, which will be loaded. If this page is in <code>Template</code> namespace, the prefix can be omitted. | * {{p|1}}: The page name of the stylesheet, which will be loaded. | ||
** If this page is in <code>Template</code> namespace, the prefix can be omitted. | |||
Revision as of 13:39, 15 January 2026
Documentation
This template loads template styles in pages.
---
Instead of the direct tag:
<templatestyles source="MyStyles.css" />
You can use the template:
{{TSLoader|MyStyles.css}}
Usage
{{TSLoader|stylesheet}}
|1=: The page name of the stylesheet, which will be loaded.- If this page is in
Templatenamespace, the prefix can be omitted.
- If this page is in