Template:Website infobox: Difference between revisions

From comp.tf
Jump to navigation Jump to search
Llamadillo (talk | contribs)
No edit summary
Llamadillo (talk | contribs)
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 36: Line 36:
}}<!--
}}<!--


Founded
Type of site


-->{{#if:{{{founded|}}}|
-->{{#if:{{{type|}}}|
<div>
<div>
<div class="infobox-cell-2 infobox-description">Founded:</div>
<div class="infobox-cell-2 infobox-description">Type of site:</div>
<div class="infobox-cell-2">{{{founded}}}</div>
<div class="infobox-cell-2">{{#switch:{{lc:{{{type|}}} }}
  | news = [[:Category:News Websites|News]]
  | casting = [[:Category:Casting Websites|Casting]]
  | charity = [[:Category:Charity Websites|Charity]]}}
</div>
</div>
</div>
}}<!--
}}<!--


Type of site
Icons


-->{{#if:{{{type|}}}|
-->{{#if:{{{website|}}} {{{website2|}}} {{{steam|}}} {{{twitter|}}} {{{facebook|}}} {{{snapchat|}}} {{{youtube|}}} {{{gplus|}}} {{{vk|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
<div>
<div>
<div class="infobox-cell-2 infobox-description">Type of site:</div>
<div class="infobox-header infobox-header-2">Links</div>
<div class="infobox-cell-2">{{#switch:{{lc:{{{type|}}} }}
  | news = [[:Category:News Websites|News]]
  | casting = [[:Category:Castings Websites|casting]]}}
</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>
</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 93: 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 105: 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

<htmlet>infobox</htmlet>