Difference between revisions of "Template:Badgeicon-small"

From Rigged Wiki
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=&#x2F;{{{1}}}&#x2F;]]|{{!}}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=&#x2F;{{{1}}}&#x2F;]]|{{!}}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|sp}}</nowiki> produces - {{badgeicon-small|sp}}
<nowiki>{{badgeicon-small|sci}}</nowiki> produces - {{badgeicon-small|sci}}

Latest revision as of 15:48, 25 April 2018

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.

Example

{{badgeicon-small|sci}} produces - Sci icon.png