Template:Mxt: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AlanM1
New template for green, monospaced examples
 
Ookami (talk | contribs)
m 13 revisions imported
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|{{tl|Mxt}} is only for examples of style and formatting. Do not use it in actual articles.}}|<span class="example-mono" style="font-family:monospace; color: #006400;" {{#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 monospaced example-mono" style="font-family: monospace, monospace; color: #006400;" {{#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 01:00, 3 September 2020

Example text