Difference between revisions of "Template:Code/doc"
Jump to navigation
Jump to search
NeueDarshan (talk | contribs) (Created page with "{{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ Print inline code, but wrapping it in a template makes changing e...") |
NeueDarshan (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
Print inline code, but wrapping it in a template makes changing easier. | Print inline code, but wrapping it in a template makes changing easier. | ||
<nowiki>{{code|stuff}}</nowiki> | <nowiki>{{code|stuff}}</nowiki> | ||
Line 10: | Line 9: | ||
or fall back on the {{code|<code>...</code>}} tags. | or fall back on the {{code|<code>...</code>}} tags. | ||
− | |||
<!-- | <!-- | ||
===See also=== | ===See also=== | ||
--> | --> |
Latest revision as of 19:51, 11 February 2020
This is a documentation subpage for Template:Code. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Print inline code, but wrapping it in a template makes changing easier.
{{code|stuff}}
If the code contains any equal sign at all, use this idiom:
{{code|1=location=stuff}}
or fall back on the <code>...</code>
tags.