Template:Uses TemplateStyles: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Module:Variable arguments/styles.css" /><div class="sidebox">
<includeonly>{{sidebox
{|
| image = Farm-Fresh_css_add.svg
|-
| image size = 32px
| <span class="sidebox-image">[[File:Farm-Fresh_css_add.svg|32px]]</span> || <span class="sidebox-text">This {{lc:{{ARTICLESPACE}}}} uses [[mw:extension:TemplateStyles|TemplateStyles]]:
| text = This {{lc:{{ARTICLESPACE}}}} uses [[mw:extension:TemplateStyles|TemplateStyles]]:
* [[{{{1|{{ARTICLEROOTPAGENAME}}}}}/styles.css|{{{1|{{ARTICLEROOTPAGENAME}}}}}/&ZeroWidthSpace;styles.css]]</span>
* [[{{{1|{{ARTICLEROOTPAGENAME}}}}}/styles.css|{{{1|{{ARTICLEROOTPAGENAME|wbr=1}}}}}&ZeroWidthSpace;&#47;styles.css]]
|}
}}</includeonly>{{#ifeq: {{NAMESPACE}}|Template|{{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}}|doc||{{#ifeq: {{lc:{{FULLPAGENAME}}}}|template:uses templatestyles||[[Category:Templates using TemplateStyles]]}}}}|}}<noinclude>
</div></includeonly>{{#ifeq: {{NAMESPACE}}|Template|{{#ifeq: {{#titleparts: {{FULLPAGENAME}}||-1}}|doc||[[Category:Templates using TemplateStyles]]}}|}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 17:57, 1 July 2025

Template documentation[view] [edit] [history] [purge]
This template should not be substituted.
English Wikipedia has an article on:

This template is used to show that templates have been converted to use TemplateStyles. It is placed at the top of the template's /doc page. It automatically adds the template to Category:Templates using TemplateStyles.

The syntax for actually doing a TemplateStyles is, of course: <templatestyles src="" /> (with the page name in the quotation marks).