Difference between revisions of "Template:Website infobox"

From comp.tf
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 43: Line 43:
 
<div class="infobox-cell-2">{{#switch:{{lc:{{{type|}}} }}
 
<div class="infobox-cell-2">{{#switch:{{lc:{{{type|}}} }}
 
   | news = [[:Category:News Websites|News]]
 
   | news = [[:Category:News Websites|News]]
   | casting = [[:Category:Castings Websites|casting]]}}
+
   | casting = [[:Category:Casting Websites|Casting]]
 +
  | charity = [[:Category:Charity Websites|Charity]]}}
 
</div>
 
</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
  
Website
+
Icons
  
-->{{#if:{{{website|}}}|
+
-->{{#if:{{{website|}}} {{{website2|}}} {{{steam|}}} {{{twitter|}}} {{{facebook|}}} {{{snapchat|}}} {{{youtube|}}} {{{gplus|}}} {{{vk|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
 
<div>
 
<div>
<div class="infobox-center">{{{website}}}</div>
+
<div class="infobox-header infobox-header-2">Links</div>
 
</div>
 
</div>
 +
<!--
 +
-->{{#if:{{{website|}}} {{{website2|}}} {{{twitter|}}} {{{steam|}}} {{{facebook|}}} {{{vk|}}} {{{youtube|}}} {{{gplus|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
 +
<div>
 +
<div class="infobox-center infobox-icons"><!--
 +
--> {{#if:{{{website|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website|link={{{website}}}]]}}<!--
 +
--> {{#if:{{{website2|}}}|[[Image:InfoboxIcon Homepage.png|32px|Website 2|link={{{website2}}}]]}}<!--
 +
--> {{#if:{{{steam|}}}|[[Image:InfoboxIcon Steam.png|32px|Steam Group|link=http://steamcommunity.com/groups/{{{steam}}}]]}}<!--
 +
--> {{#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:{{{snapchat|}}}|[[Image:InfoboxIcon Snapchat.png|32px|Snapchat:{{{snapchat}}}]]}}<!--
 +
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
 +
--> {{#if:{{{gplus|}}}|[[Image:InfoboxIcon GooglePlus.png|32px|Google&#43;|link=http://plus.google.com/{{{gplus}}}]]}}<!--
 +
--> {{#if:{{{vk|}}}|[[Image:InfoboxIcon VK.png|32px|VKontakte|link=http://www.vk.com/{{{vk}}}]]}}<!--
 +
--> {{#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:{{{fanclub|}}}|[[Image:InfoboxIcon TLFanClub.png|32px|Fanclub|link={{{fanclub}}}]]}}<!--
 +
--></div>
 +
</div>
 +
}}
 
}}<!--
 
}}<!--
  
 
History
 
History
  
-->{{#if:{{{created|}}}{{{closed|}}}{{{trades|}}}|
+
-->{{#if:{{{created|}}}{{{closed|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">History</div>
 
<div class="infobox-header infobox-header-2">History</div>
Line 92: Line 112:
 
Categories
 
Categories
  
-->{{#ifeq:{{NAMESPACE}}||
+
-->{{#ifeq:{{NAMESPACE}}|0|[[Category:Website]]}}
[[Category:Website]]
 
 
{{#if: {{{type|}}} |{{#switch:{{lc:{{{type|}}} }}
 
{{#if: {{{type|}}} |{{#switch:{{lc:{{{type|}}} }}
   | news = [[:Category:News Websites|News]]
+
   | news = [[Category:News Websites]]
   | casting = [[:Category:Castings Websites|casting]]}}
+
   | casting = [[Category:Casting Websites]]
 +
  | charity = [[Category:Charity Websites]]}}
 
}}
 
}}
 
<!--
 
<!--
Line 104: Line 124:
 
-->{{#set:
 
-->{{#set:
 
|has id={{{id|{{PAGENAME}}}}}
 
|has id={{{id|{{PAGENAME}}}}}
 
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 
}}
 
}}

Latest revision as of 10:43, 11 June 2016


[e][h]Website infobox
Basic Information

Cannot find HTML file infobox.html