Difference between revisions of "Template:Badgeicon"

From Rigged Wiki
Jump to navigation Jump to search
(Undo revision 186626 by NotAWikiAutist (talk))
Tag: Undo
Line 1: Line 1:
<includeonly><span class="badgeicon-med-withborder">[[File:{{#if: {{{1|}}}|{{#if: {{{File:{{{1}}} icon.png|}}}|{{{1}}}|TBD}}|TBD}} icon.png|25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}</span></includeonly><noinclude>A template to include a badge icon of a specified team.
<includeonly><span class="badgeicon-med-withborder">[[File:{{#if: {{{1|}}}|{{{1}}}|TBD}} icon.png|25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}</span></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.
Takes only one parameter, the short name of the board, as specified on 4chan. No slashes required.


== Example ==
== Example ==
<nowiki>{{badgeicon|sci}}</nowiki> produces - {{badgeicon|sci}}<br>
<nowiki>{{badgeicon|sci}}</nowiki> produces - {{badgeicon|sci}}
<nowiki>{{badgeicon|test}}</nowiki> produces - {{badgeicon|test}}

Revision as of 10:20, 26 April 2021

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.

Example

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