Difference between revisions of "Template:Badgeicon"

From Rigged Wiki
Jump to navigation Jump to search
m (Added automatic border)
m (You are free to change it to whichever team exists that has a similar name to another team.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<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.
<includeonly><span class="badgeicon-med-withborder">[[File:{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{{1}}}|TBD}} {{{2|}}} icon.png|{{#if: {{{1|}}}|{{{1}}}|TBD}} icon.png}}|25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;{{#if: {{{2|}}}|&nbsp;{{{2|}}}|}}]]|{{!}}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. If the team has a similar name to an already established team, use a second parameter and include where it hails from between parenthesis, this parameter '''does need''' the slashes (if existent).


== Example ==
== Example ==
<nowiki>{{badgeicon|sci}}</nowiki> produces - {{badgeicon|sci}}
<nowiki>{{badgeicon|sci}}</nowiki> produces - {{badgeicon|sci}}</br>
<nowiki>{{badgeicon|sci|(/sci/ league)}}</nowiki> produces {{badgeicon|sci|(/sci/ league)}}

Latest revision as of 11:14, 8 February 2022

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. If the team has a similar name to an already established team, use a second parameter and include where it hails from between parenthesis, this parameter does need the slashes (if existent).

Example

{{badgeicon|sci}} produces - Sci icon.png
{{badgeicon|sci|(/sci/ league)}} produces File:Sci (/sci/ league) icon.png