Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added colon)
sc4e>CasperVg
m (new layout)
Line 1: Line 1:
 +
{{pp-vandalism}}
 +
 
<noinclude>This is the infobox to include on any website
 
<noinclude>This is the infobox to include on any website
  
 
==Syntax==
 
==Syntax==
 
<pre>{{infobox website
 
<pre>{{infobox website
 +
| title =
 
| logo =  
 
| logo =  
| name =  
+
| link-site =  
| version =  
+
| link-forums =  
| url =  
+
| link-exchange =
| forum =  
+
| link-knowledge =
| exchange =  
+
| link-chat =  
| chat =  
+
| link-cs =  
| other =  
+
| founded-date =  
| webmaster =  
+
| admins =  
| staff =  
+
| globalmods =
 +
| languages =
 +
| alexa =  
 
}}</pre>
 
}}</pre>
 
==Example==
 
==Example==
</noinclude>{|id="temptable" align="right" cellspacing="0" cellpadding="5" width="300"
+
</noinclude>{| align=right
! style="font-size:160%;"| Website
+
|-
|- style="max-width:300px"
+
|
|{{{logo}}}
+
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
 +
|-
 +
|+ style="font-size: larger; margin-left: inherit;" | <big><big>'''{{{title}}}'''</big></big>
 +
|-
 +
| colspan="2" align="center" |
 +
 
 +
{{{logo}}}
 +
|-
 +
|-
 +
|- style="text-align: center;"
 +
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Link
 +
|-
 +
|-
 +
|- style="text-align: center;"
 +
! colspan="2" text-align: center;" | [{{{link-site}}} Homepage]
 
|-
 
|-
| {{{name}}} {{{version|}}}
+
|- style="text-align: center;"
 +
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Subsections
 +
|-
 +
|-
 +
|'''Forums'''
 +
| [{{{link-forums|No}}} Forums]
 +
|-
 +
|'''Exchange'''
 +
| [{{{link-exchange|No}}} Exchange]
 +
|-
 +
|'''Knowledge Base'''
 +
| [{{{link-knowledge|No}}} Knowledge Base]
 +
|-
 +
|-
 +
|'''Chat'''
 +
| [{{{link-chat|No}}} Chatroom]
 +
|-
 +
|-
 +
|'''City Showcases'''
 +
| [{{{link-cs|No}}} {{{name-cs|City Showcases}}}]
 +
|-
 +
|- style="text-align: center;"
 +
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | General Information
 +
|-
 +
|'''Founding'''
 +
| Founded on {{{founded-date|Unknown}}}
 +
|-
 +
| '''Webmaster'''
 +
| {{member|{{{webmaster}}}}}
 +
|-
 +
|'''Administrators'''
 +
| {{{admins|None}}}
 
|-  
 
|-  
! Parts
+
| '''Global Mods'''
 +
| {{{globalmods|None}}}
 
|-
 
|-
|{{#if:{{{forum|}}}|
+
 
*[{{{url|}}}{{{forum}}} Forum]|}}{{#if:{{{exchange|}}}|
 
*[{{{url|}}}{{{exchange}}} Exchange]|}}{{#if:{{{chat|}}}|
 
*[{{{url|}}}{{{chat}}} Chat]|}}
 
{{#if:{{{other|}}}|
 
*{{{other}}}}}
 
 
|-  
 
|-  
! Staff Listing
+
| '''Languages'''
 +
| {{{languages|English}}}
 +
|-
 
|-  
 
|-  
| style="border-bottom:none;"| '''Web Master:''' {{{webmaster}}}
+
| '''Alexa'''
|-  
+
| {{{alexa|Unknown}}}
|
+
|-
{{{staff}}}
+
|}
|}[[category:Fansite{{#if:{{{subsite|}}}|/{{{subsite}}}}}]]
+
|}
 +
[[category:Fansite{{#if:{{{subsite|}}}|/{{{subsite}}}}}]]

Revision as of 02:30, 29 December 2008

Template:Pp-vandalism

This is the infobox to include on any website

Syntax

{{infobox website
| title =
| logo = 
| link-site = 
| link-forums = 
| link-exchange = 
| link-knowledge = 
| link-chat = 
| link-cs = 
| founded-date = 
| admins = 
| globalmods =
| languages =
| alexa = 
}}

Example

{{{title}}}

{{{logo}}}

Link
[{{{link-site}}} Homepage]
Subsections
Forums [No Forums]
Exchange [No Exchange]
Knowledge Base [No Knowledge Base]
Chat [No Chatroom]
City Showcases [No City Showcases]
General Information
Founding Founded on Unknown
Webmaster [[People:{{{webmaster}}}|{{{webmaster}}}]]
Administrators None
Global Mods None
Languages English
Alexa Unknown