Dota 2 Wiki
mNo edit summary
mNo edit summary
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox Main
+
<includeonly>{{#invoke:Infobox|main
| title = {{#if:{{{id|}}}|{{{id}}}|{{PAGENAME}}}}
+
| title = {{{id|{{PAGENAME}}}}}
 
| image = {{{image|}}}
 
| image = {{{image|}}}
 
| heading1 = Background Information
 
| heading1 = Background Information
Line 17: Line 17:
 
| heading7 = Links
 
| heading7 = Links
 
| trait7 = Website
 
| trait7 = Website
| value7 = [http://www.{{{site|}}} Link]
+
| value7 = {{#if:{{{site|}}}|[{{{site}}} Link]}}
 
| trait8 = Facebook
 
| trait8 = Facebook
 
| value8 = {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} {{{facebook}}}]}}
 
| value8 = {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} {{{facebook}}}]}}
Line 29: Line 29:
 
| value12 = {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} {{{twitch}}}]}}
 
| value12 = {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} {{{twitch}}}]}}
 
| trait13 = YouTube
 
| trait13 = YouTube
| value13 = {{#if:{{{youtube|}}}|[http://youtube.com/channel/{{{youtube}}} {{{youtube|}}}]}}
+
| value13 = {{#if:{{{youtube|}}}|[http://youtube.com/c/{{{youtube}}} {{{youtube|}}}]}}
 
}}<!--
 
}}<!--
   
Line 36: Line 36:
 
-->{{#switch:{{{structure|main}}}
 
-->{{#switch:{{{structure|main}}}
 
|main=
 
|main=
  +
{{DISPLAYTITLE:{{{id|}}}|noreplace}}
{{#declare:id=id
 
  +
{{#cargo_store:
| image=image
 
  +
_table = professional_commentators
| name=name
 
 
| image = {{{image|}}}
| romanized name=romanized name
 
  +
| id = {{{id|}}}
| birth date=birth date
 
 
| name = {{{name|}}}
| country=country
 
  +
| romanized_name = {{{romanized name|}}}
| language=lang
 
  +
| birth_date = {{{birth date|}}}
| organization=organization
 
 
| country = {{{country|}}}
| site=site
 
 
| language = {{{lang|}}}
|twitch=twitch
 
|facebook=facebook
 
|twitter=twitter
 
|vk=vk
 
|youtube=youtube
 
 
}}
 
}}
  +
[[Category:Professional commentators]]
{{#if:{{{id|}}}|{{DISPLAYTITLE:{{{id}}}|noreplace}}}}
 
[[Category:Casters]]
 
[[Category:Commentators]]
 
 
|hidden=
 
|hidden=
 
}}
 
}}
</includeonly><noinclude>{{Doc}} [[Category:Infobox templates]]</noinclude>
+
</includeonly><noinclude>
  +
{{#cargo_declare:
  +
_table = professional_commentators
  +
| image = File
  +
| id = String
  +
| name = String
  +
| romanized_name = String
  +
| birth_date = Date
  +
| country = String
  +
| language = String
  +
}}
  +
{{Doc}} [[Category:Infobox templates]] [[zh:Template:Commentator infobox]]</noinclude>

Revision as of 00:11, 10 October 2020

This template defines the table "professional_commentators". View table.

Documentation for Template:Commentator infobox [ Usage | View | Edit | Purge | Subpages ]

This template produces an Infobox on a player page.

Usage

{{Commentator infobox
| id = 
| image = 
| name = 
| romanized name = 
| birth date = YYYY-MM-DD
| country = 
| lang = 
| organization = 
| site = 
| twitch = 
| facebook = 
| twitter = 
| vk = 
| youtube = 
}}

Example

Unknown commentator
Unknown
Background Information
Name:Test Commentator
Birthdate:1999-12-12 (age 24)
Links