Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
(Changed title style and darkened section headers slightly)
m (Protected "Template:Infobox website": Complex and high profile ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(27 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
<pre>{{infobox website
 
<pre>{{infobox website
 
| title =
 
| title =
| logo =  
+
| logo = this should be a filename for an image uploaded at the SC4 Encyclopaedia
 
| link-site =  
 
| link-site =  
 
| link-forums =  
 
| link-forums =  
 
| link-exchange =  
 
| link-exchange =  
 
| link-knowledge =  
 
| link-knowledge =  
 +
| link-wiki =
 
| link-chat =  
 
| link-chat =  
 
| link-cs =  
 
| link-cs =  
 
| name-cs =
 
| name-cs =
| founded-date =
 
 
| webmaster =
 
| webmaster =
 
| admins =  
 
| admins =  
Line 20: Line 20:
 
| languages =
 
| languages =
 
| alexa =  
 
| alexa =  
 +
| founded-date =
 +
| version =
 
}}</pre>
 
}}</pre>
 
==Example==
 
==Example==
</noinclude>{| align=right
+
</noinclude>{{infobox/table|title={{{title|{{PAGENAME}}}}}|
|-
+
{{row|{{{logo|}}}|{{{logo}}}|cell=colspan="2" align="center"}}
|
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0 0 1em 1em; border-collapse: collapse; font-size: 95%;"
+
{{row/!|Link|[{{{link|{{{link-site}}}}}} Homepage]|cell=colspan="2" align="center"}}
|-
+
{{row/!|Subsections|SubSections|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
! style="background-color:#c0c0c0; font-size: larger; margin-left: inherit;" colspan="2" | <big><big>'''{{{title}}}'''</big></big>
+
{{row|{{{link-forums}}}|'''Forums'''
|-
+
{{!}}{{{link-forums|No Forums}}}}}
| colspan="2" align="center" |
+
{{row|{{{link-exchange}}}|'''Exchange'''
 
+
{{!}}{{{link-exchange|No Exchange}}}}}
{{{logo}}}
+
{{row|{{{link-knowledge|}}}|'''Knowledge Base'''
|-
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
|-
+
{{row|{{{link-wiki|}}}|'''Wiki'''
|- style="text-align: center;"
+
{{!}}{{{link-wiki|No Wiki}}}}}
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Link
+
{{row|{{{link-chat|}}}|'''Chat'''
|-
+
{{!}}[{{{link-chat}}} Chatroom]}}
|-
+
{{row|{{{link-gallery|}}}|'''Gallery'''
|- style="text-align: center;"
+
{{!}}[{{{link-gallery}}} Gallery]}}
! colspan="2" text-align: center;" | [{{{link-site}}} Homepage]
+
{{row|{{{link-cs|}}}|'''City Showcases'''
|-
+
{{!}}{{{link-cs|No City Showcases}}}}}
|- style="text-align: center;"
+
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | Subsections
+
{{row|{{{founded-date|}}}|'''Founding'''
|-
+
{{!}}Founded on {{{founded-date}}}}}
|-
+
{{row|{{{version|}}}|'''Version Number'''
|'''Forums'''
+
{{!}}{{{version}}}}}
| [{{{link-forums|No}}} Forums]
+
{{row|{{{webmaster}}}|'''Webmaster'''
|-
+
{{!}}{{{webmaster|None}}}}}
|'''Exchange'''
+
{{row|{{{admins}}}|'''Administrators'''
| [{{{link-exchange|No}}} Exchange]
+
{{!}}{{{admins|None}}}}}
|-
+
{{row|{{{globalmods|}}}|'''Global Mods'''
|'''Knowledge Base'''
+
{{!}}{{{globalmods}}}}}
| [{{{link-knowledge|No}}} Knowledge Base]
+
{{row|{{{mods|}}}|'''Moderators'''
|-
+
{{!}}{{{mods}}}}}
|-
+
{{row|{{{languages}}}|'''Languages'''
|'''Chat'''
+
{{!}}{{{languages|English}}}}}
| [{{{link-chat|No}}} Chatroom]
+
{{row|{{{alexa|}}}|'''Alexa Ranking'''
|-
+
{{!}}{{{alexa}}}}}
|-
+
}}<includeonly>
|'''City Showcases'''
+
[[Category:Fansite{{#if:{{{subsite|}}}|&nbsp;{{{subsite}}}}}]]</includeonly>
| [{{{link-cs|No}}} {{{name-cs|City Showcases}}}]
 
|-
 
|- style="text-align: center;"
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
|-
 
|'''Founding'''
 
| Founded on {{{founded-date|Unknown}}}
 
|-
 
| '''Webmaster'''
 
| {{member|{{{webmaster}}}}}
 
|-
 
|'''Administrators'''
 
| {{{admins|None}}}
 
|-
 
| '''Global Mods'''
 
| {{{globalmods|None}}}
 
|-
 
 
 
|-
 
| '''Languages'''
 
| {{{languages|English}}}
 
|-
 
|-
 
| '''Alexa'''
 
| {{{alexa|Unknown}}}
 
|-
 
|}
 
|}
 
[[category:Fansite{{#if:{{{subsite|}}}|/{{{subsite}}}}}]]
 

Latest revision as of 12:03, 16 August 2019

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-wiki = 
| link-chat = 
| link-cs = 
| name-cs =
| webmaster =
| admins = 
| globalmods =
| languages =
| alexa = 
| founded-date = 
| version = 
}}

Example

Infobox website
Link
[{{{link-site}}} Homepage]
SubSections
Forums No Forums
Exchange No Exchange
General Information
Webmaster None
Administrators None
Languages English