Difference between revisions of "Template:Inline"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==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.
+
Cause content (such an icon or symbol image) to be formatted inline such that it sits 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.
 
The only parameter is the content to inline.

Revision as of 09:19, 19 April 2020

Usage

Cause content (such an icon or symbol image) to be formatted inline such that it sits 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:

Not inlined Vigilance-b.pngFlying-b.pngToken-b.png Not inlined

Inlined Vigilance-b.pngFlying-b.pngToken-b.png Inlined