mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|winner=Integer | |winner=Integer | ||
|p1picks=List (,) of String | |p1picks=List (,) of String | ||
|p1players=List (,) of Page | |||
|p2picks=List (,) of String | |p2picks=List (,) of String | ||
|p2players=List (,) of Page | |||
|p1bans=List (,) of String | |p1bans=List (,) of String | ||
|p2bans=List (,) of String | |p2bans=List (,) of String | ||
|duration=String | |duration=String | ||
|p1kills=Integer | |||
|p2kills=Integer | |||
|yt=String | |yt=String | ||
|vod=String | |vod=String | ||
}}</noinclude><includeonly>{{#invoke:Json|fromArgs}}</includeonly> | }}{{Documentation}}</noinclude><includeonly>{{#invoke:Json|fromArgs}}</includeonly> |
Latest revision as of 12:09, 29 April 2024
This template defines the table "Maps_Dota". View table.
Documentation (view - edit)
To be used inside a Template:Match call under a map+number parameter, like |map1={{Map/Dota}}
You can use API:MapData to generate all of this for you once the match has ended if you have the API id.
Parameters:
Parameter | Description |
---|---|
id | If the match has an API id |
winner | Either number 1 or 2, depending on if p1 or p2 was the winner |
dire | Either number 1 or 2, depending on if p1 or p2 played on the Dire side |
fp | Either number 1 or 2, depending on if p1 or p2 had first pick in the draft |
p1picks | Comma-separated list of the heroes picked by p1 in the order they happened in the draft |
p2picks | Comma-separated list of the heroes picked by p2 in the order they happened in the draft |
p1bans | Comma-separated list of the heroes banned by p1 in the order they happened in the draft |
p2picks | Comma-separated list of the heroes banned by p2 in the order they happened in the draft |
p1players | Comma-separated list of the pagenames of the players in the same order as the picks, to correlate them |
p2players | Comma-separated list of the pagenames of the players in the same order |
p1kills | Amount of kills p1 got |
p2kills | Amount of kills p2 got |
duration | mm:ss format of how long the map lasted |
yt | Youtube VOD id |
vod | Link to VOD |
Example
{{Map/Dota |id=7391149823 |winner=2 |dire=1 |fp=1 |p1picks=Spirit Breaker,Ancient Apparition,Hoodwink,Faceless Void,Viper |p1players=People/Collapse,People/Miposhka,People/Mira,People/Yatoro,People/Larl |p2picks=Bristleback,Grimstroke,Pugna,Spectre,Lina |p2players=People/Noticed,People/Fng,People/sayuw,People/Kiritych~,People/squad1x |p1bans=Templar Assassin,Shadow Demon,Chaos Knight,Dark Willow,Dazzle,Puck,Earthshaker |p2bans=Primal Beast,Enchantress,Kunkka,Phoenix,Invoker,Pangolier,Earth Spirit |p1kills=10 |p2kills=32 |duration=33:25 |yt=kCqyOes7f7w}}
Will look something like this: