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)))
 
(47 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>
+
</noinclude>{{infobox/table|title={{{title|{{PAGENAME}}}}}|
<includeonly>
+
{{row|{{{logo|}}}|{{{logo}}}|cell=colspan="2" align="center"}}
<div class="infobox">{|align="right" border="1" cellspacing="0" cellpadding="5" width="300"
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
! Website
+
{{row/!|Link|[{{{link|{{{link-site}}}}}} Homepage]|cell=colspan="2" align="center"}}
|- style="max-width:300px"
+
{{row/!|Subsections|SubSections|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|{{{logo}}}
+
{{row|{{{link-forums}}}|'''Forums'''
|-
+
{{!}}{{{link-forums|No Forums}}}}}
|{{{name}}} {{{version}}}
+
{{row|{{{link-exchange}}}|'''Exchange'''
|-  
+
{{!}}{{{link-exchange|No Exchange}}}}}
! Parts
+
{{row|{{{link-knowledge|}}}|'''Knowledge Base'''
|-
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
|
+
{{row|{{{link-wiki|}}}|'''Wiki'''
*[{{{url}}}{{{forum}}} Forum]
+
{{!}}{{{link-wiki|No Wiki}}}}}
*[{{{url}}}{{{exchange}}} Exchange]
+
{{row|{{{link-chat|}}}|'''Chat'''
*[{{{url}}}{{{chat}}} Chat]
+
{{!}}[{{{link-chat}}} Chatroom]}}
*{{{other}}}
+
{{row|{{{link-gallery|}}}|'''Gallery'''
|-
+
{{!}}[{{{link-gallery}}} Gallery]}}
! Blurb
+
{{row|{{{link-cs|}}}|'''City Showcases'''
|-
+
{{!}}{{{link-cs|No City Showcases}}}}}
| {{{about}}}
+
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|-
+
{{row|{{{founded-date|}}}|'''Founding'''
! Staff Listing
+
{{!}}Founded on {{{founded-date}}}}}
|-
+
{{row|{{{version|}}}|'''Version Number'''
| Web Master: {{{webmaster}}}
+
{{!}}{{{version}}}}}
|-
+
{{row|{{{webmaster}}}|'''Webmaster'''
| {{{staff}}}
+
{{!}}{{{webmaster|None}}}}}
|}</div>
+
{{row|{{{admins}}}|'''Administrators'''
</includeonly>
+
{{!}}{{{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 13: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