Template:Inline code
From Vintage Story Wiki
(Redirected from Template:Ic)
[view | edit | history | purge this page]Documentation
This is a formatting template that displays in-line code. It takes an optional parameter to disable wikitext formatting.
Usage
{{ic|Text here|nowiki=}}or
{{Inline code|Text here|nowiki=}}
The "text here" must be included. If it is omitted, nothing will be displayed. The order of the nowiki
parameter is not important.
Template parameters
Parameter | Description | Type | Optionality | |
---|---|---|---|---|
1 | 1 |
String to display as inline code. | String | required |
nowiki | nowiki |
Takes any argument. If true , strips wikitext formatting from the string. |
Any | optional |
Example
{{ic|''foo bar''}}
foo bar
{{ic|''foo bar''|nowiki=yes}}
''foo bar''
[view | edit | history | purge this page]The above documentation is transcluded from Template:Inline code/doc.