Template:Syntax highlight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(this is definitely a better way of doing things) |
||
Line 1: | Line 1: | ||
{{doc}} | {{doc}} | ||
<onlyinclude><includeonly>{{#switch:{{{1}}} | <onlyinclude><includeonly>{{#switch:{{{1}}} | ||
|string| | |character|string=<span style="color: #BA2121;">{{{2}}}</span> | ||
|comment=<span style="color: #408080; font-style: italic;">{{{2|}}}</span> | |||
|control=<span style="color: #008000;font-weight: bold;">{{{2|}}}</span> | |||
|function=<span style="color: #0000FF;">{{{2|}}}</span> | |||
|label=<span style="color: #A0A000;">{{{2|}}}</span> | |||
|macro=<span style="color: #BC7A00;">{{{2|}}}</span> | |||
|number|operator=<span style="color: #666666;">{{{2|}}}</span> | |||
|register=<span style="color: #19177C;">{{{2|}}}</span> | |||
|regular expression=<span style="color: #BB6688;">{{{2|}}}</span> | |||
|type=<span style="color: #B00040;">{{{2|}}}</span> | |||
}} | }} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> |
Revision as of 13:00, 28 July 2023
The above documentation is transcluded from Template:Syntax highlight/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.