Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (New page: <noinclude>This is the infobox to include on any website ==Syntax== <pre>{{infobox website | name = | version = | url = | forum = | exchange = | chat = | about = | logo = | other ...)
 
m (Protected "Template:Infobox website": Complex and high profile ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(63 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}}}}}|
{! Website
+
{{row|{{{logo|}}}|{{{logo}}}|cell=colspan="2" align="center"}}
|- |{{{logo}}}
+
{{row/!|Link|Link|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;" }}
|- |{{{name}}} {{{version}}}
+
{{row/!|Link|[{{{link|{{{link-site}}}}}} Homepage]|cell=colspan="2" align="center"}}
|- ! Parts
+
{{row/!|Subsections|SubSections|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
|-
+
{{row|{{{link-forums}}}|'''Forums'''
*{{{forum}}}
+
{{!}}{{{link-forums|No Forums}}}}}
*{{{exchange}}}
+
{{row|{{{link-exchange}}}|'''Exchange'''
*{{{chat}}}
+
{{!}}{{{link-exchange|No Exchange}}}}}
*{{{other}}}
+
{{row|{{{link-knowledge|}}}|'''Knowledge Base'''
|- ! Blurb
+
{{!}}{{{link-knowledge|No Knowledge Base}}}}}
|- | {{{about}}}
+
{{row|{{{link-wiki|}}}|'''Wiki'''
|- ! Staff Listing
+
{{!}}{{{link-wiki|No Wiki}}}}}
|- | {{{webmaster}}}
+
{{row|{{{link-chat|}}}|'''Chat'''
|- | {{{staff}}}
+
{{!}}[{{{link-chat}}} Chatroom]}}
|}
+
{{row|{{{link-gallery|}}}|'''Gallery'''
</div></includeonly>
+
{{!}}[{{{link-gallery}}} Gallery]}}
 +
{{row|{{{link-cs|}}}|'''City Showcases'''
 +
{{!}}{{{link-cs|No City Showcases}}}}}
 +
{{row/!|General|General Information|cell=colspan="2" style="background-color: #d0d0d0; text-align: center;"}}
 +
{{row|{{{founded-date|}}}|'''Founding'''
 +
{{!}}Founded on {{{founded-date}}}}}
 +
{{row|{{{version|}}}|'''Version Number'''
 +
{{!}}{{{version}}}}}
 +
{{row|{{{webmaster}}}|'''Webmaster'''
 +
{{!}}{{{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