Difference between revisions of "Template:Website infobox"

From comp.tf
Jump to navigation Jump to search
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>
 +
}}<!--
 +
 
 +
Founded
 +
 
 +
-->{{#if:{{{founded|}}}|
 +
<div>
 +
<div class="infobox-cell-2 infobox-description">Founded:</div>
 +
<div class="infobox-cell-2">{{{founded}}}</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:Castings Websites|casting]]}}
 +
</div>
 +
</div>
 +
}}<!--
 +
 
 +
History
 +
 
 +
-->{{#if:{{{created|}}}{{{closed|}}}{{{trades|}}}|
 +
<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}}||
 +
[[Category:Website]]
 +
{{#if: {{{type|}}} |{{#switch:{{lc:{{{type|}}} }}
 +
  | news = [[:Category:News Websites|News]]
 +
  | casting = [[:Category:Castings Websites|casting]]}}
 +
}}
 +
<!--
 +
 
 +
SMW
 +
 
 +
-->{{#set:
 +
|has id={{{id|{{PAGENAME}}}}}
 +
 
 +
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
 +
}}

Revision as of 10:11, 11 June 2016


[e][h]Website infobox
Basic Information

Cannot find HTML file infobox.html

{{#ifeq:Template||