Editing Template:6s team roster collapsible

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
{| class="mw-collapsible {{#if:{{{collapsed|}}} || mw-collapsed}} wikitable infobox2" style="clear: none;"
+
{| class="mw-collapsible mw-collapsed wikitable infobox"
 
|-
 
|-
! colspan=2 | {{#if:{{{flag|}}}|{{flag|{{{flag}}}}}}}  {{#if:{{{teamname|}}}|[[{{{teamname}}}]]|Roster}}
+
! colspan=2 | {{flag|{{{flag}}}}}  [[{{{teamname}}}]]  
 
|-
 
|-
| width=40% | '''{{{scout1}}}'''  
+
| width=40% | '''[[{{{scout1}}}]]'''  
| width=60 |  [[File:Scouticon.png|20px]] [[Scout]]
+
| width=60 |  [[File:Scouticon.png]] [[Scout]]
 
|-  
 
|-  
| '''{{{scout2}}}'''
+
| '''[[{{{scout2}}}]]'''  
| [[File:Scouticon.png|20px]] [[Scout]]
+
| [[File:Scouticon.png]] [[Scout]]
|- style="background: silver"
 
{{#if:{{{scout1sub|}}}|{{!}} '''{{{scout1sub}}}'''
 
{{!}} [[File:Scouticon.png|20px]] [[Scout|Scout Sub]]|}}
 
|- style="background: silver"
 
{{#if:{{{scout2sub|}}}|{{!}} '''{{{scout2sub}}}'''
 
{{!}} [[File:Scouticon.png|20px]] [[Scout|Scout Sub]]|}}
 
 
|-
 
|-
| '''{{{roamer}}}'''  
+
{{#if:{{{scout1sub|}}}|{{!}} '''[[{{{scout1sub}}}]]'''
| [[File:Roamericon.png|20px]] [[Roamer|Roaming Soldier]]
+
{{!}} [[File:Scouticon.png]] [[Scout]]|}}
|- style="background: silver"
+
|-
{{#if:{{{roamersub|}}}|{{!}} '''{{{roamersub}}}'''
+
{{#if:{{{scout2sub|}}}|{{!}} '''[[{{{scout2sub}}}]]'''
{{!}} [[File:Roamericon.png|20px]] [[Roamer|Roaming Soldier Sub]]|}}
+
{{!}} [[File:Scouticon.png]] [[Scout]]|}}
 +
|-
 +
| '''[[{{{pocket}}}]]'''
 +
| [[File:Soldiericon.png]] [[Pocket|Pocket Soldier]]  
 +
|-
 +
{{#if:{{{pocketsub|}}}|{{!}} '''[[{{{pocketsub}}}]]'''
 +
{{!}} [[File:Soldiericon.png]] [[Pocket|Pocket Soldier]]|}}
 +
|-
 +
| '''[[{{{roamer}}}]]'''
 +
| [[File:Soldiericon.png]] [[Roamer|Roaming Soldier]]
 
|-  
 
|-  
| '''{{{pocket}}}'''
+
{{#if:{{{roamersub|}}}|{{!}} '''[[{{{roamersub}}}]]'''
| [[File:Soldiericon.png|20px]] [[Pocket|Pocket Soldier]]
+
{{!}} [[File:Soldiericon.png]] [[Roamer|Roaming Soldier]]|}}
|- style="background: silver"
 
{{#if:{{{pocketsub|}}}|{{!}} '''{{{pocketsub}}}'''
 
{{!}} [[File:Soldiericon.png|20px]] [[Pocket|Pocket Soldier Sub]]|}}
 
 
|-  
 
|-  
| '''{{{demoman}}}'''
+
| '''[[{{{demoman}}}]]'''  
| [[File:Demomanicon.png|20px]] [[Demoman]]
+
| [[File:Demomanicon.png]] [[Demoman]]
|- style="background: silver"
 
{{#if:{{{demomansub|}}}|{{!}} '''{{{demomansub}}}'''
 
{{!}} [[File:Demomanicon.png|20px]] [[Demoman|Demoman Sub]]|}}
 
 
|-  
 
|-  
| '''{{{medic}}}'''  
+
{{#if:{{{demomansub|}}}|{{!}} '''[[{{{demomansub}}}]]'''
| [[File:Medicicon.png|20px]] [[Medic]]
+
{{!}} [[File:Demomanicon.png]] [[Demoman]]|}}
|- style="background: silver"
+
|-
{{#if:{{{medicsub|}}}|{{!}} '''{{{medicsub}}}'''
+
| '''[[{{{medic}}}]]'''  
{{!}} [[File:Medicicon.png|20px]] [[Medic|Medic Sub]]|}}
+
| [[File:Medicicon.png]] [[Medic]]
 +
|-
 +
{{#if:{{{medicsub|}}}|{{!}} '''[[{{{medicsub}}}]]'''
 +
{{!}} [[File:Medicicon.png]] [[Medic]]|}}
 
|-  
 
|-  
 
|}
 
|}
 
<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 51: Line 54:
 
| pocketsub =
 
| pocketsub =
 
</pre>
 
</pre>
* '''If you desire for the roster to be collapsed, you may add a value to collapsed and it will be collapsed. Example:'''
 
<pre>
 
| collapsed = yes
 
</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 ===
Line 72: Line 69:
 
</pre>
 
</pre>
  
===Will yield===
+
===Will yeld===
 
{{6s team roster collapsible
 
{{6s team roster collapsible
 
| teamname = Classic Mixup
 
| teamname = Classic Mixup

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)