Difference between revisions of "Template:Badge"

From Rigged Wiki
Jump to navigation Jump to search
(One last regex edit.)
Line 1: Line 1:
<includeonly>[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=3|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} logo.png|x75px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}</includeonly><noinclude>A template to include a badge icon of a specified team.
<includeonly>[[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=9|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} logo.png|x75px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}</includeonly><noinclude>A template to include a badge icon of a specified team.


Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required. (120px)
Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required. (120px)

Revision as of 13:47, 4 June 2017

A template to include a badge icon of a specified team.

Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required. (120px)

Example

{{badge|sp}} produces - Sp logo.png