Template:TSLoader: Difference between revisions
Created page with "<includeonly>{{ #invoke: TSLoader | main }}</includeonly><noinclude> === Documentation === {{shortcut|tsl|tsloader}} This template loads template styles in pages. Instead of the direct tag: <syntaxhighlight lang="wikitext" style="max-width:300px"><templatestyles source="MyStyles.css" /></syntaxhighlight> You can use the template: <syntaxhighlight lang="wikitext" style="max-width:300px">{{TSLoader|MyStyles.css}}</syntaxhighlight> == Usage == {{tcode|TSLoader|stylesheet..." |
No edit summary |
||
| Line 5: | Line 5: | ||
Instead of the direct tag: | Instead of the direct tag: | ||
<syntaxhighlight lang="wikitext" style="max-width: | <syntaxhighlight lang="wikitext" style="max-width:400px"><templatestyles source="MyStyles.css" /></syntaxhighlight> | ||
You can use the template: | You can use the template: | ||
<syntaxhighlight lang="wikitext" style="max-width: | <syntaxhighlight lang="wikitext" style="max-width:400px">{{TSLoader|MyStyles.css}}</syntaxhighlight> | ||
== Usage == | == Usage == | ||