Difference between revisions of "Template:Badgeicon-small"
Jump to navigation
Jump to search
m (Added automatic border) |
|||
Line 1: | Line 1: | ||
<includeonly>[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=20|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} icon.png|x18px{{#if: {{{1|}}}|{{!}}link=/{{{1}}}/]]|{{!}}link=]]}}</includeonly><noinclude>A template to include a smaller badge icon of a specified team. | <includeonly><span class="badgeicon-med-withborder">[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=20|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} icon.png|x18px{{#if: {{{1|}}}|{{!}}link=/{{{1}}}/]]|{{!}}link=]]}}</span></includeonly><noinclude>A template to include a smaller badge icon of a specified team. | ||
Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required. | Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required. | ||
== Example == | == Example == | ||
<nowiki>{{badgeicon-small| | <nowiki>{{badgeicon-small|sci}}</nowiki> produces - {{badgeicon-small|sci}} |