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 |
||
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> |
Revision as of 19:44, 6 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.