Template:Uses TemplateStyles/doc: Difference between revisions

No edit summary
No edit summary
Line 17: Line 17:
Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is <code>Template:Foo/styles.css</code>, then the sandbox version should be <code>Template:Foo/sandbox/styles.css</code>
Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is <code>Template:Foo/styles.css</code>, then the sandbox version should be <code>Template:Foo/sandbox/styles.css</code>


 
== Examples ==
===One style page===
{{tlx|Uses TemplateStyles|Template:Arrowlist/styles.css}}
<!--{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|nocat=true}}-->
{{clear}}
===Multiple style pages===
{{tlx|Uses TemplateStyles|Template:Arrowlist/styles.css|Template:Routemap/styles.css}}
<!--{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|Template:Routemap/styles.css|nocat=true}}-->
{{clear}}
===Sandbox version of style page exists===
{{tlx|Uses TemplateStyles|Template:Uses TemplateStyles/example.css}}
<!--{{Uses TemplateStyles{{\sandbox}}|Template:Uses TemplateStyles/example.css|nocat=true}}-->
{{clear}}
===No style pages specified===
{{tlx|Uses TemplateStyles}}
<!--{{Uses TemplateStyles{{\sandbox}}|nocat=true}}-->
{{clear}}


== Categories ==
== Categories ==