Difference between revisions of "Template:Website infobox"

From comp.tf
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox"
+
{{DISPLAYTITLE:{{{name|{{PAGENAME}}}}}}}
|-
 
! colspan=2 | {{{websitename}}}
 
|-
 
| colspan=2 class="centered" | [[File:{{{image}}}|{{{imagesize|150px}}}]]
 
|-
 
! colspan=2 | Basic Information
 
|-
 
| '''Founded'''
 
| {{{Founded}}}
 
|-
 
| '''Founder'''
 
| {{{Founder}}}
 
|-
 
{{#if:{{{Type of site|}}} |
 
{{!}} '''Type of site'''
 
{{!}} {{{Type of site}}} | }}
 
|-
 
| colspan=2 class="centered" | [{{{website}}} Website]
 
|}
 
  
<noinclude>[[Category:Infoboxes]]</noinclude>
+
<div class="fo-nttax-infobox-wrapper">
 +
<div class="fo-nttax-infobox">
 +
<div>
 +
<div class="infobox-header"><span class="infobox-buttons"><nowiki>[</nowiki>[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit&section=0}} e]<nowiki>]</nowiki><nowiki>[</nowiki>[[Template:Website infobox|h]]<nowiki>]</nowiki></span>{{{name|{{PAGENAME}}}}}</div>
 +
</div><!--
 +
 
 +
Image
 +
 
 +
-->{{#if:{{{image|}}}|
 +
<div>
 +
<div class="infobox-image">[[Image:{{{image}}}|center|294px]]</div>
 +
</div>
 +
}}<!--
 +
 
 +
Caption
 +
 
 +
-->{{#if:{{{caption|}}}|
 +
<div>
 +
<div class="infobox-center"><small>{{{caption}}}</small></div>
 +
</div>
 +
}}<!--
 +
 
 +
--><div>
 +
<div class="infobox-header infobox-header-2">Basic Information</div>
 +
</div><!--
 +
 
 +
Founder
 +
 
 +
-->{{#if:{{{founder|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Founder:</div>
 +
<div class="infobox-cell-2">{{{founder}}}</div>
 +
</div>
 +
}}<!--
 +
 
 +
Type of site
 +
 
 +
-->{{#if:{{{type|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Type of site:</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>
 +
}}<!--
 +
 
 +
Icons
 +
 
 +
-->{{#if:{{{website|}}} {{{website2|}}} {{{steam|}}} {{{twitter|}}} {{{facebook|}}} {{{snapchat|}}} {{{youtube|}}} {{{gplus|}}} {{{vk|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
 +
<div>
 +
<div class="infobox-header infobox-header-2">Links</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
 +
 
 +
-->{{#if:{{{created|}}}{{{closed|}}}|
 +
<div>
 +
<div class="infobox-header infobox-header-2">History</div>
 +
</div><!--
 +
-->{{#if:{{{created|}}}|
 +
<div>
 +
<div class="infobox-cell-2">Created:</div>
 +
<div class="infobox-cell-2">{{{created|}}}</div>
 +
</div>
 +
}}<!--
 +
-->{{#if:{{{closed|}}}|
 +
<div>
 +
<div class="infobox-cell-2">Closed:</div>
 +
<div class="infobox-cell-2">{{{closed|}}}</div>
 +
</div>
 +
}}
 +
}}<!--
 +
 
 +
Footnotes
 +
 
 +
-->{{#if:{{{footnotes|}}}|
 +
<div>
 +
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 +
</div>
 +
}}<!--
 +
 
 +
Adbox
 +
 
 +
--></div>
 +
<htmlet>infobox</htmlet>
 +
</div><!--
 +
 
 +
Categories
 +
 
 +
-->{{#ifeq:{{NAMESPACE}}|0|[[Category:Website]]}}
 +
{{#if: {{{type|}}} |{{#switch:{{lc:{{{type|}}} }}
 +
  | news = [[Category:News Websites]]
 +
  | casting = [[Category:Casting Websites]]
 +
  | charity = [[Category:Charity Websites]]}}
 +
}}
 +
<!--
 +
 
 +
SMW
 +
 
 +
-->{{#set:
 +
|has id={{{id|{{PAGENAME}}}}}
 +
|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