Difference between revisions of "Template:Inline"
From Curious Expedition 2 Wiki
m (Linking caption)  | 
				m  | 
				||
| Line 1: | Line 1: | ||
| − | <includeonly>{{if|{{{2|}}}|[[{{{2}}}]] }}[[File:{{{1}}}|frameless|  | + | <includeonly>{{if|{{{2|}}}|[[{{{3|{{{2}}}}}}{{!}}{{{2}}}]] }}[[File:{{{1}}}|frameless|18x18px|link={{{3|{{{2|{{{1}}}}}}}}}]]<nowiki/></includeonly><noinclude>  | 
| − | An inline icon meant to be embedded in text.  | + | 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|  | {{examples|  | ||
| Line 7: | Line 11: | ||
{{example3|Inline|Inline17.png|Sanity}}  | {{example3|Inline|Inline17.png|Sanity}}  | ||
{{example4|Inline|Inline17.png|Sanity|Custom Link}}  | {{example4|Inline|Inline17.png|Sanity|Custom Link}}  | ||
| − | |||
}}  | }}  | ||
Latest revision as of 05: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 | 
|---|---|
| 
 
  | 
|
| 
 
  | 
|
| 
 
  | 
|
| 
 
  |