Difference between revisions of "Template:Badgeicon"

From Rigged Wiki
Jump to navigation Jump to search
m (Added a second parameter that should allow for identical named teams to be separated.)
m (You are free to change it to whichever team exists that has a similar name to another team.)
 
Line 1: Line 1:
<includeonly><span class="badgeicon-med-withborder">[[File:{{#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.
<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. 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).
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).

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