Difference between revisions of "Template:NewInfobox User"

From comp.tf
Jump to navigation Jump to search
m
m
Line 115: Line 115:
 
   | #default = {{{role}}} }}<!--
 
   | #default = {{{role}}} }}<!--
 
-->{{#if:{{{role2|}}}|/{{#switch:{{lc: {{{role2|}}} }}
 
-->{{#if:{{{role2|}}}|/{{#switch:{{lc: {{{role2|}}} }}
   {{!}} scout = [[:Category:Scouts|Scout]]
+
   | scout = [[:Category:Scouts|Scout]]
   {{!}} soldier = [[:Category:Soldiers|Soldier]]
+
   | soldier = [[:Category:Soldiers|Soldier]]
   {{!}} pyro
+
   | pyro
   {{!}} pyromaniac = [[:Category:Pyros|Pyro]]
+
   | pyromaniac = [[:Category:Pyros|Pyro]]
   {{!}} demo
+
   | demo
   {{!}} demoman
+
   | demoman
   {{!}} demonstrations man = [[:Category:Demomen|Demoman]]
+
   | demonstrations man = [[:Category:Demomen|Demoman]]
   {{!}} heavy
+
   | heavy
   {{!}} heavyweapons = [[:Category:Heavies|Heavy]]
+
   | heavyweapons = [[:Category:Heavies|Heavy]]
   {{!}} engi
+
   | engi
   {{!}} engineer = [[:Category:Engineers|Engineer]]
+
   | engineer = [[:Category:Engineers|Engineer]]
   {{!}} medic = [[:Category:Medics|Medic]]
+
   | medic = [[:Category:Medics|Medic]]
   {{!}} sniper = [[:Category:Snipers|Sniper]]
+
   | sniper = [[:Category:Snipers|Sniper]]
   {{!}} spy = [[:Category:Spies|Spy]]
+
   | spy = [[:Category:Spies|Spy]]
   {{!}} caster = [[:Category:Casters|Caster]]
+
   | caster = [[:Category:Casters|Caster]]
   {{!}} cameraman = [[:Category:Cameramen|Cameraman]]
+
   | cameraman = [[:Category:Cameramen|Cameraman]]
   {{!}} producer = [[:Category:Production Crew|Producer]]}}
+
   | producer = [[:Category:Production Crew|Producer]]}}
   {{!}} #default = {{{role}}} |}}</div>
+
   | #default = {{{role}}} }} |}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 140: Line 140:
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Team:</div>
 
<div class="infobox-cell-2 infobox-description">Team:</div>
<div class="infobox-cell-2">{{#if: {{{teamlink|}}}|[[{{{team}}}|{{{teamlink}}}]]|{{{team}}} }}</div>
+
<div class="infobox-cell-2">{{#if: {{{teamlink|}}}|[{{{teamlink}}} {{{team}}}]|{{{team}}} }}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--

Revision as of 20:21, 27 August 2015

(view - edit) Documentation

[e][h]User
Error creating thumbnail: Unable to save thumbnail to destination
User information
Name:
John Doe
Gender:
Male
Country:
Error creating thumbnail: Unable to save thumbnail to destination
Italy
Languages:
English, German
Alternate IDs:
Fat Kid
Role(s):
}}
Team:
Favorite players:
Favorite teams:
Favorite teams
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Links
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination


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 =
}}