Difference between revisions of "Template:!mxt"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>AlanM1
(New template for red, monospaced examples)
 
imported>SMcCandlish
(+class)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:!mxt is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="bad-example-mono" style="font-family:monospace; color: #8B0000;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude>
+
{{#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 deprecated-content 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}}
+
{{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.-->
 +
[[Category:Programming typing-aid templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:01, 11 January 2018

Example text

Template documentation[create]