Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (bracket on wrong side)
sc4e>JoeST
m (removed pointless bits)
Line 46: Line 46:
 
|-
 
|-
 
{{row|{{{link-forums}}}|'''Forums'''
 
{{row|{{{link-forums}}}|'''Forums'''
{{!}}{{#if:[{{{link-forums|}}}|[{{{link-forums}}} Forum]|No Forums}}}}
+
{{!}}{{{link-forums|No Forums}}}}}
 
{{row|{{{link-exchange}}}|'''Exchange'''
 
{{row|{{{link-exchange}}}|'''Exchange'''
{{!}}{{#if:[{{{link-exchange|}}}|[{{{link-exchange}}} Exchange]|No exchange}}}}
+
{{!}}{{{link-exchange|No exchange}}}}}
 
{{row|{{{link-knowledge|}}}|'''Knowledge-Base'''
 
{{row|{{{link-knowledge|}}}|'''Knowledge-Base'''
 
{{!}}[{{{link-knowledge}}} Knowledge Base]}}
 
{{!}}[{{{link-knowledge}}} Knowledge Base]}}

Revision as of 13:16, 31 December 2008

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

{{{title}}}

{{{logo}}}

Link
[{{{link-site}}} Homepage]
Subsections
Forums No Forums
Exchange No exchange
General Information
Webmaster [[People:{{{webmaster}}}|{{{webmaster}}}]]
Administrators None
Languages English