Difference between revisions of "Template:Infobox bot"

From StarCraft AI, the resource for custom StarCraft Brood War AIs
Jump to: navigation, search
Line 27: Line 27:
 
</div><!--
 
</div><!--
  
Name
+
Author(s)
  
-->{{#if:{{{name|}}}|
+
-->{{#if:{{{author|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Name:</div>
+
<div class="infobox-cell-2 infobox-description">Author(s):</div>
<div class="infobox-cell-2">{{{name}}}</div>
+
<div class="infobox-cell-2">{{{author}}}</div>
</div>
+
}}<!--
+
 
+
Romanized Name
+
 
+
-->{{#if:{{{romanized_name|}}}|
+
<div>
+
<div class="infobox-cell-2 infobox-description">Romanized Name:</div>
+
<div class="infobox-cell-2">{{{romanized_name}}}</div>
+
</div>
+
}}<!--
+
 
+
Programmer
+
 
+
-->{{#if:{{{programmer|}}}|
+
<div>
+
<div class="infobox-cell-2 infobox-description">Programmer:</div>
+
<div class="infobox-cell-2">{{{programmer}}}</div>
+
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 67: Line 49:
 
-->{{#if:{{{version|}}}|
 
-->{{#if:{{{version|}}}|
 
<div>
 
<div>
<div class="infobox-cell-2 infobox-description">Version:</div>
+
<div class="infobox-cell-2 infobox-description">BWAPI version:</div>
 
<div class="infobox-cell-2">{{{version}}}</div>
 
<div class="infobox-cell-2">{{{version}}}</div>
 
</div>
 
</div>
Line 115: Line 97:
 
   |#default =[[Category:InfoboxRaceError]]
 
   |#default =[[Category:InfoboxRaceError]]
 
}}</div>
 
}}</div>
</div>
 
}}<!--
 
 
Current Team
 
 
-->{{#if:{{{team|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Team:</div>
 
<div class="infobox-cell-2">[[{{{teamlink|{{{team}}}}}}|{{{team}}}]]</div>
 
</div>
 
}}<!--
 
 
Current Clan
 
 
-->{{#if:{{{clan|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Clan:</div>
 
<div class="infobox-cell-2">{{#ifexist:{{{clan}}}|[[{{{clan}}}]]|{{{clan}}}}}</div>
 
</div>
 
}}<!--
 
 
Sponsor
 
 
-->{{#if:{{{sponsor|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Sponsor:</div>
 
<div class="infobox-cell-2">{{{sponsor}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 151: Line 106:
 
<div class="infobox-cell-2 infobox-description">Alternate IDs:</div>
 
<div class="infobox-cell-2 infobox-description">Alternate IDs:</div>
 
<div class="infobox-cell-2">{{{ids}}}</div>
 
<div class="infobox-cell-2">{{{ids}}}</div>
</div>
 
}}<!--
 
 
Nicknames
 
 
-->{{#if:{{{nicknames|}}}|
 
<div>
 
<div class="infobox-cell-2 infobox-description">Nicknames:</div>
 
<div class="infobox-cell-2">{{{nicknames}}}</div>
 
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 202: Line 148:
 
<div>
 
<div>
 
<div class="infobox-center">{{{achievements}}}</div>
 
<div class="infobox-center">{{{achievements}}}</div>
</div>
 
}}<!--
 
 
History (Teams)
 
 
-->{{#if:{{{history|}}}|
 
<div>
 
<div class="infobox-header infobox-header-2">History</div>
 
</div>
 
<div>
 
<div class="infobox-center">{{{history}}}</div>
 
 
</div>
 
</div>
 
}}
 
}}

Revision as of 14:26, 8 July 2015

(view - edit) Documentation

[e][h]Picon.png Best Bot
Author(s):
Jung Yoon Jong
Country:
South Korea South Korea
Race:
BWAPI version:
?
Download:
Source code:
Github.png
Links

This template produces an Infobox on a player page.

Parameters

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.

Example

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

{{Infobox bot
|id=Best Bot
|author=Jung Yoon Jong
|race=P
|country=South Korea
|github=https://github.com/davechurchill/ualbertabot
|tlpdidkr=697
|fanclub=http://www.teamliquid.net/forum/viewmessage.php?topic_id=369927
|twitter=SKT1Rain
|achievements=
}}

Copy / Paste

{{Infobox bot
|id=
|author=
|affiliation=
|country=
|country2=
|race=
|elo=
|ladderID=
|version=
|type=
|internalDownload=
|externalDownload=
|language=
|sourceCode=
|github=
|bitbucket=
|googleCode=
|site=
|tlstream=
|twitch=
|own3d=
|stream=
|youtube=
|twitter=
|facebook=
|gplus=
|tlprofile=
|reddit=
|iccup=
|fanclub=
|achievements=
}}