Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (greyspace)
m (Protected "Template:Infobox website": Complex and high profile ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(18 intermediate revisions by 4 users not shown)
Line 11: Line 11:
 
| link-exchange =  
 
| link-exchange =  
 
| link-knowledge =  
 
| link-knowledge =  
 +
| link-wiki =
 
| link-chat =  
 
| link-chat =  
 
| link-cs =  
 
| link-cs =  
Line 23: Line 24:
 
}}</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>
 
|-
 
| colspan="2" 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}}}}}
{{row|{{link-exchange}}|'''Exchange'''
+
{{row|{{{link-exchange}}}|'''Exchange'''
{{!}}[{{{link-exchange|No}}} Exchange]}}
+
{{!}}{{{link-exchange|No Exchange}}}}}
{{row|{{{link-knowledge|}}}|'''Knowledge-Base'''
+
{{row|{{{link-knowledge|}}}|'''Knowledge Base'''
{{!}}[{{{link-knowledge}}} Knowledge Base]}}
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
 +
{{row|{{{link-wiki|}}}|'''Wiki'''
 +
{{!}}{{{link-wiki|No Wiki}}}}}
 
{{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|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;" | General Information
 
|-
 
 
{{row|{{{founded-date|}}}|'''Founding'''
 
{{row|{{{founded-date|}}}|'''Founding'''
 
{{!}}Founded on {{{founded-date}}}}}
 
{{!}}Founded on {{{founded-date}}}}}
 
{{row|{{{version|}}}|'''Version Number'''
 
{{row|{{{version|}}}|'''Version Number'''
 
{{!}}{{{version}}}}}
 
{{!}}{{{version}}}}}
{{row|{{{webmaster}}|'''Webmaster'''
+
{{row|{{{webmaster}}}|'''Webmaster'''
{{!}}{{member|{{{webmaster}}}}}}}
+
{{!}}{{{webmaster|None}}}}}
 
{{row|{{{admins}}}|'''Administrators'''
 
{{row|{{{admins}}}|'''Administrators'''
 
{{!}}{{{admins|None}}}}}
 
{{!}}{{{admins|None}}}}}
 
{{row|{{{globalmods|}}}|'''Global Mods'''
 
{{row|{{{globalmods|}}}|'''Global Mods'''
 
{{!}}{{{globalmods}}}}}
 
{{!}}{{{globalmods}}}}}
 +
{{row|{{{mods|}}}|'''Moderators'''
 +
{{!}}{{{mods}}}}}
 
{{row|{{{languages}}}|'''Languages'''
 
{{row|{{{languages}}}|'''Languages'''
 
{{!}}{{{languages|English}}}}}
 
{{!}}{{{languages|English}}}}}
{{row|{{{alexia|}}}|'''Alexia Rating'''
+
{{row|{{{alexa|}}}|'''Alexa Ranking'''
{{!}}{{{alexia}}}}}
+
{{!}}{{{alexa}}}}}
|-
+
}}<includeonly>
|}
+
[[Category:Fansite{{#if:{{{subsite|}}}|&nbsp;{{{subsite}}}}}]]</includeonly>
|}
 
[[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