Difference between revisions of "Template:6s team roster collapsible"
Jump to navigation
Jump to search
m (Fixed if:flag and added if:teamname) |
m (Added info about cleardiv.) |
||
Line 1: | Line 1: | ||
− | {| class="mw-collapsible {{#if:{{{collapsed|}}} || mw-collapsed}} wikitable infobox2" style="clear: none;" | + | <includeonly>{| class="mw-collapsible {{#if:{{{collapsed|}}} || mw-collapsed}} wikitable infobox2" style="clear: none;" |
|- | |- | ||
! colspan=2 | {{#if:{{{flag|}}}|{{flag|{{{flag}}}}}}} {{#if:{{{teamname|}}}|[[{{{teamname}}}]]|Roster}} | ! colspan=2 | {{#if:{{{flag|}}}|{{flag|{{{flag}}}}}}} {{#if:{{{teamname|}}}|[[{{{teamname}}}]]|Roster}} | ||
Line 40: | Line 40: | ||
|- | |- | ||
|} | |} | ||
+ | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | |||
− | |||
− | |||
==Usage== | ==Usage== | ||
*Just copy the code below to the page you want and edit the values after the "=" | *Just copy the code below to the page you want and edit the values after the "=" | ||
Line 58: | Line 56: | ||
| collapsed = yes | | collapsed = yes | ||
</pre> | </pre> | ||
+ | * '''You may need to add the following code after this template to allow you to write beneath it:''' | ||
+ | <pre> <div class="clearfix"></div> </pre> | ||
=== Example === | === Example === |
Revision as of 13:40, 26 July 2015
Usage
- Just copy the code below to the page you want and edit the values after the "="
- Important: If you don't know any value or don't have information to fill it just let it be with a null value (blank).
- Please input player names in full and type everything carefully as most things will be linked automatically and should be kept consistent across the wiki
- Use the description field to refer to when the roster in question was active and any notable accomplishments it had.
- You can also add sub players by adding the class name with sub after. Example:
| scout1sub = | pocketsub =
- If you desire for the roster to be collapsed, you may add a value to collapsed and it will be collapsed. Example:
| collapsed = yes
- You may need to add the following code after this template to allow you to write beneath it:
<div class="clearfix"></div>
Example
{{6s team roster collapsible | teamname = Classic Mixup | flag = usa | scout1 = Ruwin | scout2 = Yz50 | pocket = TLR | roamer = enigma | demoman = Platinum | medic = Harbleu }}
Will yeld
Classic Mixup | |
---|---|
Ruwin | Scout |
Yz50 | Scout |
TLR | Pocket Soldier |
enigma | Roaming Soldier |
Platinum | Demoman |
Harbleu | Medic |