Difference between revisions of "Template:C"
Jump to navigation
Jump to search
(Created page with "<includeonly><span style="font-family: 'this-font-does-not-exist', monospace, sans-serif; font-size: 1em;">{{{1}}}</span></includeonly><noinclude> == Purpose == Shortcut to in...") |
m (avoid repetition) |
||
Line 3: | Line 3: | ||
Shortcut to include monospaced text which will be inlined in a paragraph or sentence. | Shortcut to include monospaced text which will be inlined in a paragraph or sentence. | ||
− | This is useful | + | This is useful for names of functions or variables inside source code, as well as files, chunks, formatting codes, etc. For example: |
:<nowiki>The {{c|$oMania $iTech$m Wiki$z}} covers ''tech''nical information and ''tech''nology.</nowiki> | :<nowiki>The {{c|$oMania $iTech$m Wiki$z}} covers ''tech''nical information and ''tech''nology.</nowiki> |
Latest revision as of 12:04, 5 June 2017
Purpose
Shortcut to include monospaced text which will be inlined in a paragraph or sentence.
This is useful for names of functions or variables inside source code, as well as files, chunks, formatting codes, etc. For example:
- The {{c|$oMania $iTech$m Wiki$z}} covers ''tech''nical information and ''tech''nology.
renders as:
- The $oMania $iTech$m Wiki$z covers technical information and technology.
Source
This template is adapted from DoomWiki.org.