Difference between revisions of "Template:Ic"

From ArchWiki
Jump to: navigation, search
(undo)
(consistency)
Line 3: Line 3:
 
'''Inline code.'''
 
'''Inline code.'''
  
See [[Template:bc]] for block code.
+
* Use [[Template:bc]] for block code without header.
{{Note|This template is in development, please do not use it in the wiki at the moment. Instead, share your thoughts in [[User_talk:Pointone/Code_Formatting_Templates]].}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="display: inline-block; padding: 0.2em; margin: 0; border: none;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>
+
* Use [[Template:hc]] for block code with header.
 +
 
 +
==Usage==
 +
 
 +
{{bc|<nowiki>{{ic|code}}</nowiki>}}
 +
 
 +
==Example==
 +
 
 +
{{ic|code}}
 +
 
 +
{{Note|This template is under development; please do not use it in the wiki at the moment. Instead, share your thoughts in [[Template talk:Ic]].}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="display: inline-block; padding: 0.2em; margin: 0; border: none;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>

Revision as of 17:55, 27 September 2011

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Inline code.

Usage

{{ic|code}}

Example

code

Note: This template is under development; please do not use it in the wiki at the moment. Instead, share your thoughts in Template talk:Ic.