Template:!mxt: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>AlanM1
(Get name of template dynamically in error message)
w:en>SMcCandlish
(match CSS of <code> element)
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="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="bad-example-mono" style="font-family:monospace,Courier; color: #8B0000;" {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1|Example text}}}</span>}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:55, 19 October 2014

Example text {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}