Template:Ic: Difference between revisions

From Join the Fediverse
(Created page with "<noinclude>Allows to display code in body text without {{ic|<nowiki><code></code></nowiki>}}. ==Usage== Insert the following at the position where code should be displayed {{ic|<nowiki>{{ic|my code}}</nowiki>}}, where "my code", then as {{ic|my code}} will be displayed.. ==Example== {{ic|my code}} Category:Template</noinclude><includeonly><code style="white-space:nowrap;">{{{1}}}</code><includeonly>")
 
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:


==Usage==
==Usage==
Insert the following at the position where code should be displayed {{ic|<nowiki>{{ic|my code}}</nowiki>}}, where "my code", then as  {{ic|my code}} will be displayed..
Insert the following at the position where code should be displayed {{ic|<nowiki>{{ic|my code}}</nowiki>}}, where "my code", then as  {{ic|my code}} will be displayed.


==Example==
==Example==
{{ic|my code}}
{{ic|my code}}


[[Category:Template]]</noinclude><includeonly><code style="white-space:nowrap;">{{{1}}}</code><includeonly>
{{category |category=Basic templates}}
</noinclude><includeonly><code style="white-space:nowrap;">{{{1}}}</code><includeonly>

Latest revision as of 17:22, 11 February 2024

Allows to display code in body text without <code></code>.

Usage

Insert the following at the position where code should be displayed {{ic|my code}}, where "my code", then as my code will be displayed.

Example

my code