Template:!mxt: Difference between revisions
Jump to navigation
Jump to search
w:en>Primefac m (Protected "Template:!mxt": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefini...) |
w:en>SMcCandlish (better to do this in example-* form so they group together in a class list; fix redundant class) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example bad | {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|[[:{{#invoke:TEMPLATENAME|main}}]] is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example example-bad monospaced example-mono" style="font-family: monospace, monospace; color: #8B0000;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<!--"monospace, monospace" needed per Wikipedia:Typography#The_monospace_'bug'--><noinclude> | ||
{{Documentation|Template:Xt/doc}} | {{Documentation|Template:Xt/doc}} | ||
<!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.--> | <!--This category has to be done on a per-template basis, not in the shared docs, since it only apply to four templates in the family.--> | ||
[[Category:Programming typing-aid templates]] | [[Category:Programming typing-aid templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:52, 11 January 2018
Example text {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}