Difference between revisions of "Template:Inline"
From Curious Expedition 2 Wiki
(Created page with "{{{2|}}} [[File:Inline{{{1}}}.png|frameless|x{{{4|18}}}px|link={{{3|{{{2|}}}}}}]]<nowiki/> <noinclude> See [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Images#Inli...") |
m |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{{2|}}} [[File: | + | <includeonly>{{if|{{{2|}}}|[[{{{3|{{{2}}}}}}{{!}}{{{2}}}]] }}[[File:{{{1}}}|frameless|18x18px|link={{{3|{{{2|{{{1}}}}}}}}}]]<nowiki/></includeonly><noinclude> |
− | < | + | An inline icon (size: 18x18 px) meant to be embedded in text. |
− | + | ||
+ | == Usage == | ||
+ | <nowiki>{{Inline|file_name|text_link(default:blank)|link_target(default:text_link*)}}</nowiki> | ||
+ | <nowiki>*</nowiki> or <code>file_name</code> if <code>text_link</code> is missing/blank | ||
+ | |||
+ | {{examples| | ||
+ | {{example2|Inline|Inline17.png}} | ||
+ | {{example4|Inline|Inline17.png||Custom Link}} | ||
+ | {{example3|Inline|Inline17.png|Sanity}} | ||
+ | {{example4|Inline|Inline17.png|Sanity|Custom Link}} | ||
+ | }} | ||
+ | |||
+ | == References == | ||
+ | * [https://www.mediawiki.org/wiki/Help:Images MediaWiki Help - Images] | ||
+ | * [https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Images#Inline_images Wikipedia Manual of Style - Inline images] | ||
+ | |||
[[Category:Inline icon templates|*]] | [[Category:Inline icon templates|*]] | ||
− |
Latest revision as of 06:17, 25 February 2021
An inline icon (size: 18x18 px) meant to be embedded in text.
Usage[edit]
{{Inline|file_name|text_link(default:blank)|link_target(default:text_link*)}}
* or file_name
if text_link
is missing/blank
Examples
You type | You get |
---|---|
|
|
|
|
|
|
|