Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m
m (Protected "Template:Infobox website": Complex and high profile ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(61 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>This is the infobox to include on any website
+
<noinclude>{{pp-template}}
 +
 
 +
This is the infobox to include on any website
  
 
==Syntax==
 
==Syntax==
 
<pre>{{infobox website
 
<pre>{{infobox website
| name =  
+
| 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 =  
 
| version =  
| url =
 
| forum =
 
| exchange =
 
| chat =
 
| about =
 
| logo =
 
| other =
 
| staff =
 
| webmaster =
 
 
}}</pre>
 
}}</pre>
 
==Example==
 
==Example==
{{infobox website}}</noinclude><includeonly><div float="right">
+
</noinclude>{{infobox/table|title={{{title|{{PAGENAME}}}}}|
{|
+
{{row|{{{logo|}}}|{{{logo}}}|cell=colspan="2" align="center"}}
! Website
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
|-
+
{{row/!|Link|[{{{link|{{{link-site}}}}}} Homepage]|cell=colspan="2" align="center"}}
|{{{logo}}}
+
{{row/!|Subsections|SubSections|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|-
+
{{row|{{{link-forums}}}|'''Forums'''
|{{{name}}} {{{version}}}
+
{{!}}{{{link-forums|No Forums}}}}}
|-  
+
{{row|{{{link-exchange}}}|'''Exchange'''
! Parts
+
{{!}}{{{link-exchange|No Exchange}}}}}
|-
+
{{row|{{{link-knowledge|}}}|'''Knowledge Base'''
*{{{forum}}}
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
*{{{exchange}}}
+
{{row|{{{link-wiki|}}}|'''Wiki'''
*{{{chat}}}
+
{{!}}{{{link-wiki|No Wiki}}}}}
*{{{other}}}
+
{{row|{{{link-chat|}}}|'''Chat'''
|-  
+
{{!}}[{{{link-chat}}} Chatroom]}}
! Blurb
+
{{row|{{{link-gallery|}}}|'''Gallery'''
|-  
+
{{!}}[{{{link-gallery}}} Gallery]}}
| {{{about}}}
+
{{row|{{{link-cs|}}}|'''City Showcases'''
|-
+
{{!}}{{{link-cs|No City Showcases}}}}}
! Staff Listing
+
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|-
+
{{row|{{{founded-date|}}}|'''Founding'''
| {{{webmaster}}}
+
{{!}}Founded on {{{founded-date}}}}}
|-
+
{{row|{{{version|}}}|'''Version Number'''
| {{{staff}}}
+
{{!}}{{{version}}}}}
|}
+
{{row|{{{webmaster}}}|'''Webmaster'''
</div></includeonly>
+
{{!}}{{{webmaster|None}}}}}
 +
{{row|{{{admins}}}|'''Administrators'''
 +
{{!}}{{{admins|None}}}}}
 +
{{row|{{{globalmods|}}}|'''Global Mods'''
 +
{{!}}{{{globalmods}}}}}
 +
{{row|{{{mods|}}}|'''Moderators'''
 +
{{!}}{{{mods}}}}}
 +
{{row|{{{languages}}}|'''Languages'''
 +
{{!}}{{{languages|English}}}}}
 +
{{row|{{{alexa|}}}|'''Alexa Ranking'''
 +
{{!}}{{{alexa}}}}}
 +
}}<includeonly>
 +
[[Category:Fansite{{#if:{{{subsite|}}}|&nbsp;{{{subsite}}}}}]]</includeonly>

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