Difference between revisions of "Template:Badgeicon-small"

From Rigged Wiki
Jump to navigation Jump to search
m (Updated with regex code.)
(TIME TO DO THIS)
Line 1: Line 1:
<includeonly>[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=3|{{#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>[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=3|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} icon.png|x25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}</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.

Revision as of 11:25, 14 August 2015

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|sp}} produces - Sp icon.png