Difference between revisions of "Template:Infobox CS"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>CasperVg
m (few fixes)
sc4e>CasperVg
m (fixed a small error)
Line 24: Line 24:
 
|award4 =  
 
|award4 =  
 
|award5 =  
 
|award5 =  
|award6 =
 
|award7 =
 
|award8 =
 
|award9 =
 
|award10 =
 
|award11 =
 
|award12 =
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 69: Line 62:
 
|-
 
|-
 
|- style="text-align: center;"
 
|- style="text-align: center;"
! colspan="2" text-align: center; font-weight: normal;" | [{{{link}}} {{#switch: {{{site}}}
+
! colspan="2" style="text-align: center; font-weight: normal;" | [{{{link}}} {{#switch: {{{site}}}
 
| sc4d = SimCity 4 Devotion
 
| sc4d = SimCity 4 Devotion
 
| st = Simtropolis
 
| st = Simtropolis
Line 80: Line 73:
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
! colspan="2" style="background-color: #d0d0d0; text-align: center;" | General Information
 
|-
 
|-
{{row|{{{author}}|'''Author'''
+
{{row|{{author}}|'''Author'''
 
{{!}}{{member|{{{author}}}}}}}
 
{{!}}{{member|{{{author}}}}}}}
{{row|{{site}}|'''Site'''
 
{{!}}{{#switch: {{{site}}}
 
| sc4d = SimCity 4 Devotion
 
| st = Simtropolis
 
| peg = SimPeg
 
| tpp = SimVision
 
| sv = SimVision
 
| tsc = Team SimCity
 
| {{{site}}}}}
 
 
{{row|{{status}}|'''Status'''
 
{{row|{{status}}|'''Status'''
{{!}}{{{status}}}}}
+
{{!}}{{{status}}}
 
{{row|{{tag1}}|'''Tags'''
 
{{row|{{tag1}}|'''Tags'''
 
{{!}} {{Template:Infobox MD/tags|{{{tag1|}}}|{{{tag2|}}}|{{{tag3|}}}|{{{tag4|}}}|{{{tag5|}}}|{{{tag6|}}}|{{{type}}}}}}}}}
 
{{!}} {{Template:Infobox MD/tags|{{{tag1|}}}|{{{tag2|}}}|{{{tag3|}}}|{{{tag4|}}}|{{{tag5|}}}|{{{tag6|}}}|{{{type}}}}}}}}}

Revision as of 08:07, 31 December 2008

Syntax

{{infobox MD
|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

{{{desc}}}

{{{type}}}

Wiki no image.png

Link
[{{{link}}} {{{site}}}]
General Information
Author [[People:{{{author}}}|{{{author}}}]]
Status {{{status}}}
Tags This {{{type}}} is not tagged
Awards This {{{type}}} has won no awards
Language English