Difference between revisions of "Template:BroadcasterCard/doc"

From CS Codex
Jump to: navigation, search
(Created page with "<includeonly>{{#invoke:BroadcasterCard|create}}</includeonly><noinclude>{{Documentation}}Category:Templates</noinclude>")
 
 
Line 1: Line 1:
<includeonly>{{#invoke:BroadcasterCard|create}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
+
This template creates a formatted list for talents at events. You should use one BroadcasterCard for each kind of position (host, commentator, etc.) at the event.
 +
 
 +
== Parameter ==
 +
;|lang=
 +
:The language of the broadcast team, only needs to be in the first card. Doesn't need to be used if there is only one broadcast team. ''[https://liquipedia.net/counterstrike/index.php?title=World_Electronic_Sports_Games/2016&diff=787172&oldid=755652 Example]''
 +
;|position=
 +
:The name of the position for this card, always singular. Most likely one of Host, Commentator, Remote commentator, Observer, Analyst, Remote analyst.
 +
;|bX=
 +
:The id of each talent for this position.
 +
;|bXflag=
 +
:The corresponding flag for each talent.
 +
;|bXlink=
 +
:The corresponding page on the wiki if different from the id. May be necessary if disambiguation is needed.
 +
;|bXname=
 +
:If the template cannot infer the name based on the id of the talent (if he doesn't have a page on the wiki), enter the talent's full name with that parameter.
 +
 
 +
== Example ==
 +
 
 +
The following wiki code:
 +
<pre>
 +
{{BroadcasterCard
 +
|position=Commentator
 +
|b1=Semmler
 +
|b2=Anders
 +
|b3=boq |b3name=Mark Wilson |b3flag=us
 +
|b4=adreN |b4link=adreN (American player)
 +
}}
 +
</pre>
 +
 
 +
will produce the following:
 +
{{BroadcasterCard
 +
|position=Commentator
 +
|b1=Semmler
 +
|b2=Anders
 +
|b3=boq |b3flag=us |b3name=Mark Wilson
 +
|b4=adreN |b4link=adreN (American player)
 +
}}
 +
 
 +
== Copy pastes ==
 +
=== Two commentators ===
 +
<pre class="selectall">
 +
{{BroadcasterCard
 +
|position=Commentator
 +
|b1= |b1name= |b1flag=
 +
|b2= |b2name= |b2flag=
 +
}}
 +
</pre>
 +
 
 +
=== Full event ===
 +
<pre class="selectall">
 +
{{box|start|padding=2em}}
 +
{{BroadcasterCard
 +
|position=Host
 +
|b1= |b1name= |b1flag=
 +
|b2= |b2name= |b2flag=
 +
}}
 +
{{box|break|padding=2em}}
 +
{{BroadcasterCard
 +
|position=Commentator
 +
|b1= |b1name= |b1flag=
 +
|b2= |b2name= |b2flag=
 +
|b3= |b3name= |b3flag=
 +
|b4= |b4name= |b4flag=
 +
}}
 +
{{box|break|padding=2em}}
 +
{{BroadcasterCard
 +
|position=Analyst
 +
|b1= |b1name= |b1flag=
 +
|b2= |b2name= |b2flag=
 +
|b3= |b3name= |b3flag=
 +
|b4= |b4name= |b4flag=
 +
}}
 +
{{box|break|padding=2em}}
 +
{{BroadcasterCard
 +
|position=Observer
 +
|b1= |b1name= |b1flag=
 +
|b2= |b2name= |b2flag=
 +
}}
 +
{{box|end}}
 +
</pre>

Latest revision as of 00:29, 8 August 2021

This template creates a formatted list for talents at events. You should use one BroadcasterCard for each kind of position (host, commentator, etc.) at the event.

Parameter

|lang=
The language of the broadcast team, only needs to be in the first card. Doesn't need to be used if there is only one broadcast team. Example
|position=
The name of the position for this card, always singular. Most likely one of Host, Commentator, Remote commentator, Observer, Analyst, Remote analyst.
|bX=
The id of each talent for this position.
|bXflag=
The corresponding flag for each talent.
|bXlink=
The corresponding page on the wiki if different from the id. May be necessary if disambiguation is needed.
|bXname=
If the template cannot infer the name based on the id of the talent (if he doesn't have a page on the wiki), enter the talent's full name with that parameter.

Example

The following wiki code:

{{BroadcasterCard
|position=Commentator
|b1=Semmler
|b2=Anders
|b3=boq |b3name=Mark Wilson |b3flag=us 
|b4=adreN |b4link=adreN (American player)
}}

will produce the following:

Copy pastes

Two commentators

{{BroadcasterCard
|position=Commentator
|b1= |b1name= |b1flag=
|b2= |b2name= |b2flag=
}}

Full event

{{box|start|padding=2em}}
{{BroadcasterCard
|position=Host
|b1= |b1name= |b1flag=
|b2= |b2name= |b2flag=
}}
{{box|break|padding=2em}}
{{BroadcasterCard
|position=Commentator
|b1= |b1name= |b1flag=
|b2= |b2name= |b2flag=
|b3= |b3name= |b3flag=
|b4= |b4name= |b4flag=
}}
{{box|break|padding=2em}}
{{BroadcasterCard
|position=Analyst
|b1= |b1name= |b1flag=
|b2= |b2name= |b2flag=
|b3= |b3name= |b3flag=
|b4= |b4name= |b4flag=
}}
{{box|break|padding=2em}}
{{BroadcasterCard
|position=Observer
|b1= |b1name= |b1flag=
|b2= |b2name= |b2flag=
}}
{{box|end}}