Difference between revisions of "Template:NewInfobox User"

From comp.tf
Jump to navigation Jump to search
m
m (Added role and Current Team)
Line 87: Line 87:
 
<div class="infobox-cell-2 infobox-description">Alternate IDs:</div>
 
<div class="infobox-cell-2 infobox-description">Alternate IDs:</div>
 
<div class="infobox-cell-2">{{{ids}}}</div>
 
<div class="infobox-cell-2">{{{ids}}}</div>
 +
</div>
 +
}}<!--
 +
 +
Main Class
 +
 +
-->{{#if:{{{role|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Role(s):</div>
 +
<div class="infobox-cell-2">{{#switch:{{lc:{{{role|}}} }}
 +
  | scout = [[:Category:Scouts|Scout]]
 +
  | soldier = [[:Category:Soldiers|Soldier]]
 +
  | pyro
 +
  | pyromaniac = [[:Category:Pyros|Pyro]]
 +
  | demo
 +
  | demoman
 +
  | demonstrations man = [[:Category:Demomen|Demoman]]
 +
  | heavy
 +
  | heavyweapons = [[:Category:Heavies|Heavy]]
 +
  | engi
 +
  | engineer = [[:Category:Engineers|Engineer]]
 +
  | medic = [[:Category:Medics|Medic]]
 +
  | sniper = [[:Category:Snipers|Sniper]]
 +
  | spy = [[:Category:Spies|Spy]]
 +
  | caster = [[:Category:Casters|Caster]]
 +
  | cameraman = [[:Category:Cameramen|Cameraman]]
 +
  | producer = [[:Category:Production Crew|Producer]]
 +
  | #default = {{{role}}} }}<!--
 +
-->{{#if:{{{role2|}}}|/{{#switch:{{{role2|}}}
 +
  | scout = [[:Category:Scouts|Scout]]
 +
  | soldier = [[:Category:Soldiers|Soldier]]
 +
  | pyro
 +
  | pyromaniac = [[:Category:Pyros|Pyro]]
 +
  | demo
 +
  | demoman
 +
  | demonstrations man = [[:Category:Demomen|Demoman]]
 +
  | heavy
 +
  | heavyweapons = [[:Category:Heavies|Heavy]]
 +
  | engi
 +
  | engineer = [[:Category:Engineers|Engineer]]
 +
  | medic = [[:Category:Medics|Medic]]
 +
  | sniper = [[:Category:Snipers|Sniper]]
 +
  | spy = [[:Category:Spies|Spy]]
 +
  | caster = [[:Category:Casters|Caster]]
 +
  | cameraman = [[:Category:Cameramen|Cameraman]]
 +
  | producer = [[:Category:Production Crew|Producer]]}}
 +
  | #default = {{{role}}} |}}</div>
 +
</div>
 +
}}<!--
 +
Current Team
 +
 +
-->{{#if:{{{team|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Team:</div>
 +
<div class="infobox-cell-2">{{#if: {{{teamlink|}}}|[[{{{team}}}|{{{teamlink}}}]]|{{{team}}} }}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 161: Line 215:
 
--> {{#if:{{{fanclub|}}}|[[Image:InfoboxIcon TLFanClub.png|Fanclub|32px|link={{{fanclub}}}]]}}<!--
 
--> {{#if:{{{fanclub|}}}|[[Image:InfoboxIcon TLFanClub.png|Fanclub|32px|link={{{fanclub}}}]]}}<!--
 
--> {{#if:{{{playlist|}}}|[[Image:InfoboxIcon Music.png|Playlist|32px|link={{{playlist}}}]]}}<!--
 
--> {{#if:{{{playlist|}}}|[[Image:InfoboxIcon Music.png|Playlist|32px|link={{{playlist}}}]]}}<!--
-->}}</div>
+
--> </div>
</div></div></div>
+
</div>
 +
}}
 +
</div></div>
 
</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
 
</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>

Revision as of 20:16, 27 August 2015

(view - edit) Documentation

[e][h]User
LEGO.png
User information
Name:
John Doe
Gender:
Male
Country:
Languages:
English, German
Alternate IDs:
Fat Kid
Role(s):
Favorite players:
Favorite teams:
Favorite teams
woodpig Froyotech icon.png Reason Gaming Icon.png Ascent Nerdrage Icon.png The Last Resort Icon.png Danger Dogs Icon.png
Links
Website Steam Profile Twitch Stream YouTube Channel Twitter Facebook


Credit to Liquipedia for the template.

{{NewInfobox User
|id =
|image =

|name =
|romanized_name =
|gender =
|birthday =
|country =
|languages =
|ids =
|role =
|role2 =
|team = |teamlink=
|fav-teams =
|fav-players =

|fav-team-1 =
|fav-team-2 =
|fav-team-3 =
...

|site =
|twitch =
|steam =
|stream =
|youtube =
|twitter =
|facebook =

|footnotes =
}}