Difference between revisions of "Template:Infobox CS"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added notoc)
sc4e>CasperVg
m (preliminary save)
Line 4: Line 4:
 
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 
}}
 
}}
 +
 +
{{WIP|author=CasperVg}}
 
==Syntax==
 
==Syntax==
 
<pre>{{infobox CS
 
<pre>{{infobox CS
Line 58: Line 60:
 
|-
 
|-
 
|- style="text-align: center;"
 
|- style="text-align: center;"
! colspan="2" style="text-align: center; font-weight: normal;" | {{{links|[{{{link}}} {{#switch: {{{site}}}
+
! colspan="2" style="text-align: center; font-weight: normal;" | {{Template:Infobox MD/sites|{{{site|}}}|{{{site1|}}}|{{{site2|}}}|{{{site3|}}}|{{{site4|}}}|{{{site5|}}}|{{{type}}}}}
| sc4d = SimCity 4 Devotion
 
| st = Simtropolis
 
| peg = SimPeg
 
| tpp = SimVision
 
| sv = SimVision
 
| tsc = Team SimCity
 
| {{{site}}}}}] }}}
 
 
|- style="text-align: center;"
 
|- style="text-align: center;"
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information

Revision as of 23:45, 2 July 2009


Syntax

{{infobox CS
|type =
|image1 =
|image2 =
|author =
|desc =
|tag1 =
|tag2 = 
|tag3 = 
|tag4 = 
|tag5 = 
|tag6 = 
|link =
|status =
|award1 = 
|award2 = 
|award3 = 
|award4 = 
|award5 = 
}}
  • type - the type of showoff-thread it is (City Journal or Mayor Diary)
  • image1 - an example image.
  • image2 - another example image.
  • author - the author
  • Site : The site where the MD/CJ is based. Can be;
    • sc4d(SimCity 4 Devotion forums)
    • st (Simtropolis forums)
    • tpp (The Planning Pages forums)
    • peg (SimPeg)
  • desc - small description
  • tag# - word/phrase describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6) Warning: Do not include the "|tag5 = " code if that particular tag is not defined as it will mess up the template's appearance
  • link - link to the MD/CJ
  • status - status of the MD/CJ. Active, Inactive, Archived
  • award# - award that the MD/CJ has received. That included Of Special Interest This Month and Trixie's (related to CJs). (max. 12) Warning: Do not include the "|award11 = " code if that particular award is not defined as it will mess up the template's appearance

Example

{{{type}}}

Wiki no image.png

Link
Template:Infobox MD/sites
General Information
Author [[People:{{{author}}}|{{{author}}}]]
Status {{{status}}}
Tags This {{{type}}} is not tagged
Awards This {{{type}}} has won no awards
Language English