Template:TSLoader/doc
[refresh]
This is the documentation page. It should be transcluded into Template:TSLoader. See Template:Documentation for more information.This template loads template styles in pages.
Although TemplateStyles have its built-in deduplicator, but multiple reference towards the same stylesheet still remains, will extend the length of the page, might cause performance issues.
This template avoids this, makes sure that only one reference remains in the page.
Usage
{{TSLoader|stylesheet}}
|1=
: The page name of the stylesheet, which will be loaded. If this page is inTemplate
namespace, the prefix can be omitted.
Effect
If the parameter is empty, or the stylesheet is successfully loaded, it will display nothing.
If the parameter points a page that not exist, it will display an error.