Difference between revisions of "Template:Infobox bot"
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | --><div class="fo-nttax-infobox-wrapper"> | + | -->__NOTOC__<div class="fo-nttax-infobox-wrapper"> |
<div class="fo-nttax-infobox"> | <div class="fo-nttax-infobox"> | ||
<div> | <div> | ||
Line 12: | Line 12: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Author(s):</div> | <div class="infobox-cell-2 infobox-description">Author(s):</div> | ||
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{author|?}}}</div>{{#set:Author={{{author|}}}}} |
</div> | </div> | ||
<!-- | <!-- | ||
Line 21: | Line 21: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Affiliation:</div> | <div class="infobox-cell-2 infobox-description">Affiliation:</div> | ||
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{affiliation}}}</div>{{#set:Affiliation={{{affiliation|}}}}} |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 30: | Line 30: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Country:</div> | <div class="infobox-cell-2 infobox-description">Country:</div> | ||
− | <div class="infobox-cell-2">{{flag|{{lc:{{{country}}}}}}} | + | <div class="infobox-cell-2">{{flag|{{lc:{{{country}}}}}}} {{{country}}} {{#set:Has country={{{country|}}}}} {{#if:{{{country2|}}}|<br>{{flag|{{lc:{{{country2}}}}}}} {{{country2}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 55: | Line 55: | ||
|zt = [[:Category:Zerg Bots|Zerg]], [[:Category:Terran Bots|Terran]] | |zt = [[:Category:Zerg Bots|Zerg]], [[:Category:Terran Bots|Terran]] | ||
|a | |a | ||
+ | |ptz | ||
+ | |pzt | ||
+ | |tpz | ||
+ | |tzp | ||
+ | |ztp | ||
+ | |zpt | ||
|all = [[:Category:Protoss Bots|Protoss]], [[:Category:Zerg Bots|Zerg]], [[:Category:Terran Bots|Terran]] | |all = [[:Category:Protoss Bots|Protoss]], [[:Category:Zerg Bots|Zerg]], [[:Category:Terran Bots|Terran]] | ||
}}</div> | }}</div> | ||
Line 65: | Line 71: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">ELO peak:</div> | <div class="infobox-cell-2 infobox-description">ELO peak:</div> | ||
− | <div class="infobox-cell-2">[http://bots-stats.krasi0.com/botDetails.php?id={{{ladderID}}} {{{elo}}}] {{#set:ELO peak={{{elo}}}}}</div> | + | <div class="infobox-cell-2">[http://bots-stats.krasi0.com/botDetails.php?id={{{ladderID}}} {{{elo}}}] {{#set:ELO peak={{{elo}}}|ladder ID={{{ladderID}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 83: | Line 89: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Type:</div> | <div class="infobox-cell-2 infobox-description">Type:</div> | ||
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{type}}}</div>{{#set:Bot Type={{{type|}}}}} |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 93: | Line 99: | ||
<div class="infobox-cell-2 infobox-description">Download:</div> | <div class="infobox-cell-2 infobox-description">Download:</div> | ||
<div class="infobox-cell-2"><!-- | <div class="infobox-cell-2"><!-- | ||
− | -->{{#if:{{{internalDownload|}}}| [[Bot Binary internal::{{{internalDownload|}}}|DLL]] | + | -->{{#if:{{{internalDownload|}}}| [[Bot Binary internal::{{{internalDownload|}}}|DLL]] }} <!-- |
− | -->{{#if:{{{externalDownload|}}}| [{{{externalDownload|}}} | + | -->{{#if:{{{externalDownload|}}}| [{{{externalDownload|}}} DLL] {{#set:Bot Binary external={{{externalDownload|}}}}} }} |
− | </div> | + | </div></div> |
<!-- | <!-- | ||
Line 103: | Line 109: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Language:</div> | <div class="infobox-cell-2 infobox-description">Language:</div> | ||
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{language}}}</div>{{#set:Bot programmed in={{{language|}}}}} |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 109: | Line 115: | ||
Source code | Source code | ||
− | -->{{#if:{{{sourceCode|}}}| | + | -->{{#if:{{{sourceCode|}}} {{{github|}}} {{{bitbucket|}}} {{{googleCode|}}} | |
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Source code:</div> | <div class="infobox-cell-2 infobox-description">Source code:</div> | ||
− | <div class="infobox-cell-2">[[Bot Source Code::{{{ | + | <div class="infobox-cell-2"><!-- |
+ | -->{{#if:{{{sourceCode|}}}| [[File:Dropbox black.png|24px|link={{{sourceCode|}}}]] {{#set:Bot Source Code={{{sourceCode|}}}}} }} <!-- | ||
+ | -->{{#if:{{{bitbucket|}}}| [[File:Bitbucket black.png|24px|link={{{bitbucket|}}}]] {{#set:Bot bitbucket={{{bitbucket|}}}}} }} <!-- | ||
+ | -->{{#if:{{{googleCode|}}}| [[File:Google black.png|24px|link={{{googleCode|}}}]] {{#set:Bot Google Code={{{googleCode|}}}}} }} <!-- | ||
+ | -->{{#if:{{{github|}}}| [[File:Github.png|24px|link={{{github|}}}]] {{#set:Bot github={{{github|}}}}} }} | ||
+ | </div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 158: | Line 169: | ||
}} | }} | ||
− | </div><!-- | + | </div></div><!-- |
Categories | Categories |
Latest revision as of 21:42, 16 July 2015
(view - edit) Documentation
Author(s):
Jung Yoon Jong
Country:
South Korea
Race:
BWAPI version:
?
Download:
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= }}