Difference between revisions of "Template:Inline"

From Curious Expedition 2 Wiki
m
m
Line 1: Line 1:
<includeonly>{{{2{{{2|}}}|{{{2}}} }}}[[File:{{{1}}}|frameless|x{{{4|18}}}px|link={{{3|{{{2}}}}}}]]<nowiki/></includeonly>
+
<includeonly>{{{2{{{2|}}}|{{{2}}} }}}[[File:{{{1}}}|frameless|{{{4|18}}}px|link={{{3|{{{2}}}}}}]]<nowiki/></includeonly><noinclude>
 
<!-- See https://meta.wikimedia.org/wiki/Help:Advanced_templates#Branching_techniques_without_ParserFunctions -->
 
<!-- See https://meta.wikimedia.org/wiki/Help:Advanced_templates#Branching_techniques_without_ParserFunctions -->
<noinclude>
+
 
 
An inline icon meant to be embedded in text.
 
An inline icon meant to be embedded in text.
 +
 +
Note that we use a fixed ''width'' instead of height in order to avoid wider icons like {{Inline|Days|Days}} becoming too large.
 +
 
== Usage ==
 
== Usage ==
 
{|
 
{|

Revision as of 00:54, 9 January 2021


An inline icon meant to be embedded in text.

Note that we use a fixed width instead of height in order to avoid wider icons like Days Inline07.png becoming too large.

Usage

{{Inline|Inline17.png|}} Inline17.png
{{Inline|Inline17.png||Sanity}} Inline17.png
{{Inline|Inline17.png|Sanity}} Sanity Inline17.png
{{Inline|Inline17.png|Sanity|Custom Link}} Sanity Inline17.png

References