Template:InlineIcon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
<pre>Get the '''{{InlineIcon|Mushroom}}''' from the block.</pre> | <pre>Get the '''{{InlineIcon|Mushroom}}''' from the block.</pre> | ||
Get the '''{{InlineIcon|Mushroom}}''' from the block. | Get the '''{{InlineIcon|Mushroom}}''' from the block. | ||
If the file name and text need to be different, name the two parameters '''image=''' and '''text='''. | |||
<pre>{{InlineIcon|image=Power Rush JP.png|text=Power Rush}} | |||
{{InlineIcon|image=Fright Mask.png|text=6 Fright Masks}}</pre> | |||
{{InlineIcon|image=Power Rush JP.png|text=Power Rush}} | |||
{{InlineIcon|image=Fright Mask.png|text=6 Fright Masks}} | |||
</noinclude><includeonly>[[File:{{{image|{{{1}}}.png}}}|x16px|link=]] {{{text|{{{1}}}}}}</includeonly> | </noinclude><includeonly>[[File:{{{image|{{{1}}}.png}}}|x16px|link=]] {{{text|{{{1}}}}}}</includeonly> | ||
Revision as of 21:23, 11 November 2026
This is a template for adding an inline icon to route pages. If used with a single parameter, it will try to use the input for the displayed text, as well as the file name.
Get the '''{{InlineIcon|Mushroom}}''' from the block.
Get the
Mushroom from the block.
If the file name and text need to be different, name the two parameters image= and text=.
{{InlineIcon|image=Power Rush JP.png|text=Power Rush}}
{{InlineIcon|image=Fright Mask.png|text=6 Fright Masks}}
Power Rush
6 Fright Masks