Dota 2 Wiki
m (Reverted edits by 185.65.134.173 (talk) to last revision by Elite stay)
Tag: Rollback
Line 1: Line 1:
  +
== Example ==
<div style="position:fixed;height:100%;width:100%;background-color:red;color:black;font-size:2em;">Edit made by Tom Rosbotham
 
  +
* For an example, see e.g. [[Skeleton King#Bio]].
discord 3mptylord#0462 league wiki is better
 
   
  +
== Notes ==
  +
* Automatically finds hero icon and response link based on page title.
  +
* This template is to be used on hero main pages. For lore subpages, use {{tl|Hero bio box}}.
   
  +
== TemplateData ==
rat dota rat dota
 
  +
<templatedata>
rat dota rat dota
 
  +
{
rat dota rat dota
 
  +
"params": {
rat dota rat dota
 
  +
"name": {
rat dota rat dota
 
  +
"label": "Name",
rat dota rat dota
 
  +
"description": "The hero's in-game name.",
rat dota rat dota
 
  +
"example": "Pudge",
rat dota rat dota
 
  +
"type": "string",
rat dota rat dota
 
  +
"required": true
rat dota rat dota
 
  +
},
rat dota rat dota
 
  +
"title": {
rat dota rat dota
 
  +
"label": "Title",
rat dota rat dota
 
  +
"description": "The heroes title.",
rat dota rat dota
 
  +
"example": "the Butcher",
rat dota rat dota
 
  +
"type": "string",
rat dota rat dota
 
  +
"suggested": true
rat dota rat dota
 
  +
},
rat dota rat dota
 
  +
"soundclip": {
rat dota rat dota
 
  +
"label": "Quote Audio",
rat dota rat dota
 
  +
"description": "An audiofile of the hero response.",
rat dota rat dota
 
  +
"example": "pud rare 02.mp3",
rat dota rat dota
 
  +
"type": "wiki-file-name",
rat dota rat dota
 
  +
"required": true
rat dota rat dota
 
  +
},
rat dota rat dota
 
  +
"quote": {
rat dota rat dota
 
  +
"label": "Quote",
rat dota rat dota
 
  +
"description": "A recognizable response.",
rat dota rat dota
 
  +
"example": "When I'm through with these vermin, they'll be fit for a pie!",
rat dota rat dota
 
  +
"type": "string",
rat dota rat dota
 
  +
"required": true
rat dota rat dota
 
  +
},
rat dota rat dota
 
  +
"lore": {
rat dota rat dota
 
  +
"label": "Lore",
rat dota rat dota
 
  +
"description": "The hero's lore.",
rat dota rat dota
 
  +
"example": "In the Fields of Endless Carnage, …",
rat dota rat dota
 
  +
"suggested": true
rat dota rat dota
 
  +
},
rat dota rat dota
 
  +
"voice": {
rat dota rat dota
 
  +
"label": "Voice Actor",
rat dota rat dota
 
  +
"description": "The hero's voice actor.",
rat dota rat dota
 
  +
"example": "John Patrick Lowrie",
rat dota rat dota
 
  +
"type": "string",
rat dota rat dota
 
  +
"suggested": true
</div>
 
  +
}
  +
},
  +
"paramOrder": [
  +
"name",
  +
"title",
  +
"quote",
  +
"soundclip",
  +
"voice",
  +
"lore"
  +
],
  +
"format": "block",
  +
"description": "Used to display some general information about the hero. Only works on the actual hero page."
  +
}
  +
</templatedata>
  +
  +
<noinclude>[[Category:Template documentation]] [[zh:Template:Hero bio/doc]]</noinclude>

Revision as of 01:06, 21 May 2020

Example

Notes

  • Automatically finds hero icon and response link based on page title.
  • This template is to be used on hero main pages. For lore subpages, use {{Hero bio box}}.

TemplateData

Used to display some general information about the hero. Only works on the actual hero page.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The hero's in-game name.

Example
Pudge
Stringrequired
Titletitle

The heroes title.

Example
the Butcher
Stringsuggested
Quotequote

A recognizable response.

Example
When I'm through with these vermin, they'll be fit for a pie!
Stringrequired
Quote Audiosoundclip

An audiofile of the hero response.

Example
pud rare 02.mp3
Filerequired
Voice Actorvoice

The hero's voice actor.

Example
John Patrick Lowrie
Stringsuggested
Lorelore

The hero's lore.

Example
In the Fields of Endless Carnage, …
Unknownsuggested