@DeletedUser41170185 (talk | contribs) (Added #declare) |
mNo edit summary |
||
(25 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{| |
+ | <includeonly>{{#invoke:Infobox|main |
+ | | title = {{{id|{{PAGENAME}}}}} |
||
− | |- |
||
⚫ | |||
− | | colspan="2" style="text-align:center; font-size: large; ;color:white; background-color:#b44335" | <!--'''{{{id|}}}'''--> {{PAGENAME}} |
||
+ | | heading1 = Background Information |
||
− | |- |
||
+ | | trait1 = Name |
||
− | | colspan="2" style="text-align:center;"| {{#if:{{{image|}}}|[[image:{{{image}}}|center|256px]]|}} |
||
⚫ | |||
− | |- |
||
⚫ | |||
− | | colspan="2" style="text-align:center; font-size: 120%; ;color:white; background-color:#b44335" | '''Background Information''' |
||
⚫ | |||
− | {{!}}-valign="top" |
||
+ | | trait3 = Birthdate |
||
− | {{#if:{{{name|}}}| |
||
⚫ | |||
− | {{!}}- |
||
⚫ | |||
− | ! valign="top"{{!}} Name: |
||
+ | | value4 = {{#if:{{{country|}}}|{{Flag|{{{country}}}}} {{{country}}}}} |
||
⚫ | |||
+ | | trait5 = Language |
||
− | {{!}}-valign="top"}} |
||
+ | | value5 = {{#if:{{{lang|}}}|{{Flag|{{{lang}}}}} {{{lang}}}}} |
||
− | {{#if:{{{romanized name|}}}| |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | | heading7 = Links |
||
− | {{!}}-valign="top"}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | ! Date of birth: |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | {{!}}-valign="top"}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | | trait10 = Weibo |
||
− | {{!}}{{{country|}}} |
||
+ | | value10 = {{#if:{{{weibo|}}}|[http://weibo.com/{{{weibo}}} {{{weibo}}}]}} |
||
− | {{!}}-valign="top"}} |
||
+ | | trait11 = VK |
||
⚫ | |||
⚫ | |||
− | ! Commentating language: |
||
+ | | trait12 = Twitch |
||
− | {{!}}{{{lang|}}} |
||
⚫ | |||
− | {{!}}-valign="top"}} |
||
+ | | trait13 = YouTube |
||
− | {{#if:{{{organization|}}}| |
||
⚫ | |||
⚫ | |||
+ | }}<!-- |
||
⚫ | |||
+ | |||
− | {{!}}-valign="top"}} |
||
+ | Semantic Mediawiki code follows. |
||
− | | colspan="2" style="text-align:center; font-size: 120%; ;color:white; background-color:#b44335" | '''Links''' |
||
+ | |||
− | {{!}}-valign="top" |
||
− | {{# |
+ | -->{{#switch:{{{structure|main}}} |
⚫ | |||
⚫ | |||
− | {{!}}-valign="top"}} |
||
− | {{#if:{{{twitch|}}}| |
||
− | ! Twitch: |
||
⚫ | |||
− | {{!}}-valign="top"}} |
||
− | {{#if:{{{facebook|}}}| |
||
⚫ | |||
⚫ | |||
− | {{!}}-valign="top"}} |
||
− | {{#if:{{{twitter|}}}| |
||
⚫ | |||
⚫ | |||
− | {{!}}-valign="top"}} |
||
− | {{#if:{{{vk|}}}| |
||
− | ! VK: |
||
⚫ | |||
− | {{!}}-valign="top"}} |
||
− | {{#if:{{{youtube|}}}| |
||
− | ! YouTube: |
||
⚫ | |||
⚫ | |||
− | {{#switch:{{{structure|main}}} |
||
|main= |
|main= |
||
+ | {{DISPLAYTITLE:{{{id|}}}|noreplace}} |
||
− | {{#declare:id=id |
||
+ | {{#cargo_store: |
||
⚫ | |||
+ | _table = professional_commentators |
||
⚫ | |||
+ | | image = {{{image|}}} |
||
− | | romanized name=romanized name |
||
+ | | id = {{{id|}}} |
||
− | | birth date=birth date |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | | organization=organization |
||
⚫ | |||
− | | site=site |
||
⚫ | |||
− | |twitch=twitch |
||
− | |facebook=facebook |
||
− | |twitter=twitter |
||
− | |vk=vk |
||
− | |youtube=youtube |
||
}} |
}} |
||
− | [[Category: |
+ | [[Category:Professional commentators]] |
− | [[Category:Commentators]] |
||
|hidden= |
|hidden= |
||
}} |
}} |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
+ | {{#cargo_declare: |
||
− | {{Doc}} |
||
+ | _table = professional_commentators |
||
− | [[Category:Infobox templates]] |
||
+ | | image = File |
||
− | </noinclude> |
||
+ | | id = String |
||
+ | | name = String |
||
+ | | romanized_name = String |
||
+ | | birth_date = Date |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | {{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.
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 | |
---|---|
Background Information | |
Name: | Test Commentator |
Birthdate: | 1999-12-12 |
Links |