The Aether Project Wiki has officially launched! With your help, this wiki can be made a comprehensive source of information about the Aether Project.

Template:TSLoader

From Aether Project Wiki
Jump to navigation Jump to search
Ambox information purple.png
This page is copied from another wiki, and thus may need to be kept up to date. [links]
Source: "Minecraft wiki at https://minecraft.wiki/w/Template:TSLoader"
[view | edit | history | purge]Documentation
Lua.svg
This template uses Module:TSLoader, a script written in Lua.
Shortcuts

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 in Template 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.

[view | edit | history | purge]The above documentation is transcluded from Template:TSLoader/doc.