Difference between revisions of "Template:Infobox bot"

From StarCraft AI, the resource for custom StarCraft Brood War AIs
Jump to: navigation, search
Line 97: Line 97:
<div class="infobox-cell-2">{{#switch:{{lc:{{{race}}}}}
<div class="infobox-cell-2">{{#switch:{{lc:{{{race}}}}}
   |zerg = [[:Category:Zerg Players|Zerg]]
   |zerg = [[:Category:Zerg Bots|Zerg]][[Category:Zerg Bots]]
   |protoss = [[:Category:Protoss Players|Protoss]]
   |protoss = [[:Category:Protoss Bots|Protoss]][[Category:Protoss Bots]]
   |terran = [[:Category:Terran Players|Terran]][[Category:Terran Players]]
   |terran = [[:Category:Terran Bots|Terran]][[Category:Terran Bots]]
   |random = [[:Category:Random Players|Random]]
   |random = [[:Category:Random Bots|Random]][[Category:Random Bots|Random]]
   |pt = [[:Category:Protoss Players|Protoss]],&nbsp;[[:Category:Terran Players|Terran]]
   |pt = [[:Category:Protoss Bots|Protoss]],&nbsp;[[:Category:Terran Bots|Terran]] [[Category:Terran Bots]][[Category:Protoss Bots]]
   |tp = [[:Category:Terran Players|Terran]],&nbsp;[[:Category:Protoss Players|Protoss]]
   |tp = [[:Category:Terran Bots|Terran]],&nbsp;[[:Category:Protoss Bots|Protoss]] [[Category:Terran Bots]][[Category:Protoss Bots]]
   |pz = [[:Category:Protoss Players|Protoss]],&nbsp;[[:Category:Zerg Players|Zerg]]
   |pz = [[:Category:Protoss Bots|Protoss]],&nbsp;[[:Category:Zerg Bots|Zerg]] [[Category:Zerg Bots]][[Category:Protoss Bots]]
   |tz = [[:Category:Terran Players|Terran]],&nbsp;[[:Category:Zerg Players|Zerg]]
   |tz = [[:Category:Terran Bots|Terran]],&nbsp;[[:Category:Zerg Bots|Zerg]] [[Category:Zerg Bots]][[Category:Terran Bots]]
   |zp = [[:Category:Zerg Players|Zerg]],&nbsp;[[:Category:Protoss Players|Protoss]]
   |zp = [[:Category:Zerg Bots|Zerg]],&nbsp;[[:Category:Protoss Bots|Protoss]] [[Category:Zerg Bots]][[Category:Protoss Bots]]
   |zt = [[:Category:Zerg Players|Zerg]],&nbsp;[[:Category:Terran Players|Terran]]
   |zt = [[:Category:Zerg Bots|Zerg]],&nbsp;[[:Category:Terran Bots|Terran]] [[Category:Zerg Bots]][[Category:Terran Bots]]
   |all = [[:Category:Protoss Players|Protoss]],&nbsp;[[:Category:Zerg Players|Zerg]],&nbsp;[[:Category:Terran Players|Terran]]
   |all = [[:Category:Protoss Bots|Protoss]],&nbsp;[[:Category:Zerg Bots|Zerg]],&nbsp;[[:Category:Terran Bots|Terran]] [[Category:Zerg Bots]][[Category:Terran Bots]][[Category:Protoss Bots]]
   |#default =[[Category:InfoboxRaceError]]
   |#default =[[Category:InfoboxRaceError]]

Revision as of 14:35, 8 July 2015

(view - edit) Documentation

[e][h]Picon.png Best Bot
Jung Yoon Jong
South Korea South Korea
BWAPI version:
Source code:

This template produces an Infobox on a player page.


These are the variables in the Player template:

  • id = Main ID
  • author = Name of the author
  • affiliation = (optional) Affiliation of the programmer
  • country = (optional) Country
  • country2 = (optional) Second country (If needed)
  • race = (optional) Current Race. P, T, Z, R or All will suffice. Any two-race combination work too. Example: tz, pz, pt, etc.
  • elo = (optional) ELO peak in krasi0ladder
  • ladderID = (optional) ID at krasi0ladder
  • version = BWAPI version of the bot
  • type = (optional) bot type: DLL or Proxy
  • internalDownload = (optional) Binary version of the bot (hosted at starcraftai.com)
  • externalDownload = (optional) Binary version of the bot (hosted in another web)
  • language = (optional) Program language of the bot
  • sourceCode = (optional) Link to source code
  • github = (optional) Link to GitHub source code
  • bitbucket = (optional) Link to Bitbucket source code
  • googleCode = (optional) Link to Google Code source code
  • site = (optional) Bot's Homepage
  • tlstream = (optional) Stream Name on TeamLiquid.net
  • twitch = (optional) Username on Twitch
  • own3d = (optional) Username on own3D.tv
  • stream = (optional) Link to stream (if not on Twitch or Own3D.tv)
  • youtube = (optional) YouTube Channel Name
  • twitter = (optional) Username on Twitter
  • facebook =(optional) Username on Facebook
  • gplus = (optional)Username on Google Plus
  • tlprofile = (optional)Username on TeamLiquid.net
  • reddit = (optional) Username on Reddit.com
  • iccup = (optional)Username on ICCup
  • fanclub = (optional) TeamLiquid.net Fanclub
  • achievements = (optional) List of premier tournament wins or other achievements.


The following code was used to create the infobox on this page.

{{Infobox bot
|id=Best Bot
|author=Jung Yoon Jong
|country=South Korea

Copy / Paste

{{Infobox bot