Difference between revisions of "Template:Inline"
(Created page with "<noinclude> ==Usage== When surrounding content (such an icon or symbol image), cause that content to be formatted inline such that it sits on aligned with the baseline of any...") |
|||
Line 10: | Line 10: | ||
<pre><nowiki> | <pre><nowiki> | ||
Not inlined [[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]] Not inlined | Not inlined [[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]] Not inlined | ||
+ | |||
Inlined {{Inline|[[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]]}} Inlined | Inlined {{Inline|[[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]]}} Inlined | ||
</nowiki></pre> | </nowiki></pre> |
Revision as of 08:39, 19 April 2020
Usage
When surrounding content (such an icon or symbol image), cause that content to be formatted inline such that it sits on aligned with the baseline of any surrounding normally formatted text, as opposed to being aligned with the descender.
The only parameter is the content to inline.
Example
This mark-up:
Not inlined [[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]] Not inlined Inlined {{Inline|[[File:Vigilance-b.png|x13px]][[File:Flying-b.png|x13px]][[File:Token-b.png|x13px]]}} Inlined
Produces: