Difference between revisions of "Template:NewInfobox User"
Jump to navigation
Jump to search
(Created page with "<includeonly><!-- --><div class="fo-nttax-infobox-wrapper"> <div class="fo-nttax-infobox"> <div> <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>...") |
|||
(11 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§ion=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template: | + | <div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit§ion=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:{{{ | + | -->{{#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">{{{ | + | <div class="infobox-cell-2">{{{birthday}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 68: | Line 68: | ||
<div> | <div> | ||
<div class="infobox-cell-2 infobox-description">Country:</div> | <div class="infobox-cell-2 infobox-description">Country:</div> | ||
− | <div class="infobox-cell-2">{{flag | + | <div class="infobox-cell-2">{{flag|{{lc:{{{country}}}}}}} [[:Category:{{{country}}}{{!}}{{{country}}}]]{{#if:{{{country2|}}}|<br>{{flag|{{lc:{{{country2}}}}}}} [[:Category:{{{country2}}}{{!}}{{{country2}}}]]}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
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:{{lc: {{{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 = {{{role2}}} }} |}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | Current Team | ||
+ | |||
+ | -->{{#if:{{{team|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Team:</div> | ||
+ | <div class="infobox-cell-2">{{#if: {{{teamlink|}}}|[{{{teamlink}}} {{{team}}}]|{{{team}}} }}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 146: | Line 200: | ||
Icons | Icons | ||
− | -->{{#if:{{{site|}}} {{{twitch|}}} {{{steam|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook | + | -->{{#if:{{{site|}}} {{{twitch|}}} {{{steam|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{fanclub|}}} {{{playlist|}}}| |
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Links</div> | <div class="infobox-header infobox-header-2">Links</div> | ||
Line 153: | 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= | + | --> {{#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}}}]]}}<!-- | ||
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!-- | --> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!-- | ||
− | --> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon | + | --> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!-- |
--> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!-- | --> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!-- | ||
--> {{#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> | ||
</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | </includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> |
Latest revision as of 19:23, 5 March 2017
(view - edit) Documentation
User
User information
Name:
John Doe
Gender:
Male
Birth:
January 1, 1970
Country:
Languages:
English, German
Alternate IDs:
Fat Kid
Role(s):
Scout/TF2 Enthusiast
Team:
Favorite players:
Favorite teams:
Favorite teams
Links
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 = }}