Template:Squared icon: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="height:{{{size|32px}}};overflow:hidden;display:inline-block;vertical-align:middle">[[File:{{{1|{{{image|}}}}}}|{{#if:{{{link|}}}|link={{{link}}}|}}|{{{image-size|{{{size|32px}}}}}}]]</div></includeonly><noinclude>
<includeonly><span style="height:{{{size|32px}}};overflow:hidden;display:inline-block;vertical-align:middle">[[File:{{{1|{{{image|}}}}}}|{{#if:{{{link|}}}|link={{{link}}}|}}|{{{image-size|{{{size|32px}}}}}}]]</span></includeonly><noinclude>
==Usage==
==Usage==
<code><nowiki>{{squared icon|SMB Super Mario Sprite.png}}</nowiki></code> makes: {{squared icon|SMB Super Mario Sprite.png}}
<code><nowiki>{{squared icon|SMB Super Mario Sprite.png}}</nowiki></code> makes: {{squared icon|SMB Super Mario Sprite.png}}

Revision as of 06:59, August 14, 2024

Usage

{{squared icon|SMB Super Mario Sprite.png}} makes: Super Mario's sprite from Super Mario Bros.

There are a few available parameters:

  • image(same as blank parameter)
  • size (32px by default)
  • link (no link by default)
  • image-size (same as size parameter by default, can be different from size if desired)