Difference between revisions of "Template:Infobox website"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (made version optional)
sc4e>JoeST
m (added if to parts)
Line 24: Line 24:
 
! Parts
 
! Parts
 
|-
 
|-
|
+
|{#if:{{{forum|}}}|
*[{{{url}}}{{{forum}}} Forum]
+
*[{{{url}}}{{{forum}}} Forum]|}}}{#if:{{{exchange|}}}|
*[{{{url}}}{{{exchange}}} Exchange]{{#if:{{{chat|}}}|
+
*[{{{url}}}{{{exchange}}} Exchange]|}}}{#if:{{{chat|}}}|
*[{{{url}}}{{{chat}}} Chat]}}{{#if:{{{other|}}}|
+
*[{{{url}}}{{{chat}}} Chat]|}}}
 +
{{#if:{{{other|}}}|
 
*{{{other}}}}}
 
*{{{other}}}}}
 
|-  
 
|-  

Revision as of 02:28, 18 September 2008

This is the infobox to include on any website

Syntax

{{infobox website
| logo = 
| name = 
| version = 
| url = 
| forum = 
| exchange = 
| chat = 
| other = 
| webmaster = 
| staff = 
}}

Example

Website
{{{logo}}}
{{{name}}}
Parts
  • [{{{url}}}{{{forum}}} Forum]|}}}{#if:|
  • [{{{url}}}{{{exchange}}} Exchange]|}}}{#if:|
  • [{{{url}}}{{{chat}}} Chat]|}}}
Staff Listing
Web Master: {{{webmaster}}}

{{{staff}}}