Difference between revisions of "Template:Badge"

From Rigged Wiki
Jump to navigation Jump to search
m (Reverted edits by Fractalzoom (talk) to last revision by AmandaBynes)
(One last regex edit.)
Line 1: Line 1:
<includeonly>[[File:{{#if: {{{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}}}}}>=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.


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 21:46, 21 March 2015

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