Template:Code: Difference between revisions
Jump to navigation
Jump to search
Philosopher (talk | contribs) (Created page with "<tt>{{{1|No code provided!}}}</tt><noinclude>{{Informative template|1= __NOTOC__ == Goal == Provide a unified way to embed code inline into a paragraph and investigate possibl...") |
Philosopher (talk | contribs) m (example) |
||
Line 1: | Line 1: | ||
<tt>{{{1 | <tt>{{{1}}}</tt><noinclude>{{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
== Goal == | == Goal == | ||
Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
<nowiki>{{</nowiki>'''code'''<nowiki>|</nowiki>SHORT CODE EXPR<nowiki>}}</nowiki> | <nowiki>{{</nowiki>'''code'''<nowiki>|</nowiki>SHORT CODE EXPR<nowiki>}}</nowiki> | ||
== Example == | |||
* <tt><nowiki>{{code|"a" + "b"}}</nowiki></tt><br/>{{code|"a" + "b"}} | |||
<!-- | <!-- |
Latest revision as of 20:03, 27 May 2014
{{{1}}}
The following template description is not displayed when the template is inserted in an article.
Goal
Provide a unified way to embed code inline into a paragraph and investigate possible styling.
Usage
{{code|SHORT CODE EXPR}}
Example
- {{code|"a" + "b"}}
"a" + "b"