Difference between revisions of "Template:NewInfobox User"

From comp.tf
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<div class="fo-nttax-infobox">
 
<div class="fo-nttax-infobox">
 
<div>
 
<div>
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox_user|h]]<nowiki>]</nowiki></span>{{{id|{{PAGENAME}}}}}</div>
+
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:NewInfobox_User|h]]<nowiki>]</nowiki></span>{{{id|{{PAGENAME}}}}}</div>
 
</div><!--
 
</div><!--
  
Line 56: Line 56:
 
Birthday
 
Birthday
  
-->{{#if:{{{birth_date|}}}|
+
-->{{#if:{{{birthday|}}}|
 
<div>
 
<div>
 
<div class="infobox-cell-2 infobox-description">Birth:</div>
 
<div class="infobox-cell-2 infobox-description">Birth:</div>
<div class="infobox-cell-2">{{{birth_date}}}</div>
+
<div class="infobox-cell-2">{{{birthday}}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
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 = {{{role2}}} }} |}}</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>
 
}}<!--
 
}}<!--
Line 207: Line 207:
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
 
--> {{#if:{{{site|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|link={{{site}}}]]}}<!--
 
--> {{#if:{{{site|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|link={{{site}}}]]}}<!--
--> {{#if:{{{steam|}}}|[[Image:InfoboxIcon Steam.png|32px|Steam Profile|link=http://steamcommunity.com/profiles/{{{steam}}}]]}}<!--
+
--> {{#if:{{{steam|}}}|[[Image:InfoboxIcon Steam.png|32px|Steam Profile|link={{{steam}}}]]}}<!--
 
--> {{#if:{{{twitch|}}}|[[Image:InfoboxIcon Twitch.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
 
--> {{#if:{{{twitch|}}}|[[Image:InfoboxIcon Twitch.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
 
--> {{#if:{{{stream|}}}|[[Image:InfoboxIcon Stream.png|32px|Stream|link={{{stream}}}]]}}<!--
 
--> {{#if:{{{stream|}}}|[[Image:InfoboxIcon Stream.png|32px|Stream|link={{{stream}}}]]}}<!--

Latest revision as of 19:23, 5 March 2017

(view - edit) Documentation

[e][h]User
Error creating thumbnail: Unable to save thumbnail to destination
User information
Name:
John Doe
Gender:
Male
Birth:
January 1, 1970 (1970-01-01) (age 56)
Country:
Error creating thumbnail: Unable to save thumbnail to destination
Italy
Languages:
English, German
Alternate IDs:
Fat Kid
Role(s):
Scout/TF2 Enthusiast
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 =
}}