Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
m (Protected "Template:Infobox website": Complex and high profile ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(54 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
| logo =  
+
| title =
| name =  
+
| 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 =
 
| other =
 
| webmaster =
 
| staff =
 
 
}}</pre>
 
}}</pre>
 
==Example==
 
==Example==
{{infobox website}}</noinclude><includeonly>
+
</noinclude>{{infobox/table|title={{{title|{{PAGENAME}}}}}|
{|align="right" border="1" cellspacing="0" cellpadding="5"
+
{{row|{{{logo|}}}|{{{logo}}}|cell=colspan="2" align="center"}}
! Website
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
|- style="max-width:300px"
+
{{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'''
|
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
*[{{{url}}}{{{forum}}} Forum]
+
{{row|{{{link-wiki|}}}|'''Wiki'''
*[{{{url}}}{{{exchange}}} Exchange]
+
{{!}}{{{link-wiki|No Wiki}}}}}
*[{{{url}}}{{{chat}}} Chat]
+
{{row|{{{link-chat|}}}|'''Chat'''
*{{{other}}}
+
{{!}}[{{{link-chat}}} Chatroom]}}
|-
+
{{row|{{{link-gallery|}}}|'''Gallery'''
! Blurb
+
{{!}}[{{{link-gallery}}} Gallery]}}
|-
+
{{row|{{{link-cs|}}}|'''City Showcases'''
| {{{about}}}
+
{{!}}{{{link-cs|No City Showcases}}}}}
|-
+
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
! Staff Listing
+
{{row|{{{founded-date|}}}|'''Founding'''
|-
+
{{!}}Founded on {{{founded-date}}}}}
| Web Master: {{{webmaster}}}
+
{{row|{{{version|}}}|'''Version Number'''
|-
+
{{!}}{{{version}}}}}
| {{{staff}}}
+
{{row|{{{webmaster}}}|'''Webmaster'''
|}
+
{{!}}{{{webmaster|None}}}}}
</includeonly>
+
{{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