Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added pagename)
sc4e>JoeST
m (moved all to {{row}})
Line 27: Line 27:
 
|
 
|
 
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
 
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
|-
+
{{row/!|Title|cell=style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" |<big><big>'''{{{title|{{PAGENAME}}}}}'''</big></big>}}
! style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" | <big><big>'''{{{title|{{PAGENAME}}}}}'''</big></big>
+
{{row|pic|{{{logo}}}|cell=colspan="2" align="center"}}
|-
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
| colspan="2" align="center" |
+
{{row/!|Link|[{{{link|{{{link-site}}}}}} Homepage]|cell=colspan="2" align="center"}}
 
+
{{row/!|Subsections|SubSections|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" |row=style="text-align: center;"}}
{{{logo}}}
 
|-
 
|-
 
|- style="text-align: center;"
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Link
 
|-
 
|-
 
|- style="text-align: center;"
 
! colspan="2" text-align: center;" | [{{{link-site}}} Homepage]
 
|-
 
|- style="text-align: center;"
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Subsections
 
|-
 
 
{{row|{{{link-forums}}}|'''Forums'''
 
{{row|{{{link-forums}}}|'''Forums'''
 
{{!}}{{{link-forums|No Forums}}}}}
 
{{!}}{{{link-forums|No Forums}}}}}
Line 53: Line 40:
 
{{row|{{{link-chat|}}}|'''Chat'''
 
{{row|{{{link-chat|}}}|'''Chat'''
 
{{!}}[{{{link-chat}}} Chatroom]}}
 
{{!}}[{{{link-chat}}} Chatroom]}}
 +
{{row|{{{link-gallery|}}}|'''Gallery'''
 +
{{!}}[{{{link-gallery}}} Gallery]}}
 
{{row|{{{link-cs|}}}|'''City Showcases'''
 
{{row|{{{link-cs|}}}|'''City Showcases'''
 
{{!}}[{{{link-cs}}} {{{name-cs|City Showcases}}}]}}
 
{{!}}[{{{link-cs}}} {{{name-cs|City Showcases}}}]}}
|- style="text-align: center;"
+
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" |row=style="text-align: center;"}}
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
|-
 
 
{{row|{{{founded-date|}}}|'''Founding'''
 
{{row|{{{founded-date|}}}|'''Founding'''
 
{{!}}Founded on {{{founded-date}}}}}
 
{{!}}Founded on {{{founded-date}}}}}
Line 72: Line 59:
 
{{row|{{{alexia|}}}|'''Alexia Rating'''
 
{{row|{{{alexia|}}}|'''Alexia Rating'''
 
{{!}}{{{alexia}}}}}
 
{{!}}{{{alexia}}}}}
|-
 
 
|}
 
|}
 
|}
 
|}
 
[[category:Fansite{{#if:{{{subsite|}}}|/{{{subsite}}}}}]]
 
[[category:Fansite{{#if:{{{subsite|}}}|/{{{subsite}}}}}]]

Revision as of 11:32, 8 January 2009

This is the infobox to include on any website

Syntax

{{infobox website
| title =
| logo = this should be a filename for an image uploaded at the SC4 Encyclopaedia
| link-site = 
| link-forums = 
| link-exchange = 
| link-knowledge = 
| link-chat = 
| link-cs = 
| name-cs =
| webmaster =
| admins = 
| globalmods =
| languages =
| alexa = 
| founded-date = 
| version = 
}}

Example

style="text-align: center;" style="text-align: center;"
Infobox website
{{{logo}}}
Link
[{{{link-site}}} Homepage]
SubSections
Forums No Forums
Exchange No exchange
General Information
Webmaster [[People:{{{webmaster}}}|{{{webmaster}}}]]
Administrators None
Languages English