Difference between revisions of "Template:Infobox CS"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
(Corrected some slight formatting problems arising from CSS changes)
sc4e>Freedo50
Line 1: Line 1:
<noinclude>
 
 
==Syntax==
 
==Syntax==
*'''Site :''' The site where the MD/CJ is based. Can be;
+
<pre>{{infobox MD
**sc4d(SimCity 4 Devotion forums)
+
|type =
**st (Simtropolis forums)
+
|image1 =
**tpp (The Planning Pages forums)
+
|image2 =
**peg (SimPeg)
+
|author =
 +
|desc =
 +
|tag =
 +
|link =
 +
|status =
 +
|awards =
 +
}}
 +
</pre>
 +
*'''type''' - the type of showoff-thread it is (City Journal or Mayor Diary)
 +
*'''image1''' - an example image.
 +
*'''image2''' - another example image.
 +
*'''author''' - the author
 +
*'''desc''' - small description
 +
*'''tag''' - words describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6)
 +
*'''link''' - link to the MD/CJ
 +
*'''status''' - status of the MD/CJ. Active, Inactive, Archived
 +
*'''awards''' - awards that the MD/CJ has received. That included [[Of Special Interest This Month]] and [[Trixie]]'s (related to CJs)
 
==Example==
 
==Example==
 
</noinclude>{| id="mdtable" width="600px" cellspacing="0" cellpadding="5px" align="{{{align|left}}}"
 
</noinclude>{| id="mdtable" width="600px" cellspacing="0" cellpadding="5px" align="{{{align|left}}}"
! colspan="2" align=center style="font-size:16pt; border-bottom:1px #fff solid;"| {{{type}}}
+
! colspan="2" align=center style="font-size:16pt;"| {{{type}}}
 
|-
 
|-
 
! colspan="2"| '''Images'''
 
! colspan="2"| '''Images'''
 
|-
 
|-
| class="collapse"| {{{image1|[[Image:Wiki_no_image.png|300px]]}}}
+
| class="noright"| {{{image1|[[Image:Wiki_no_image.png|300px]]}}}
| class="collapse"| {{{image2|[[Image:Wiki_no_image.png|300px]]}}}
+
| {{{image2|[[Image:Wiki_no_image.png|300px]]}}}
 
|-
 
|-
 
! colspan="2"| '''Author'''
 
! colspan="2"| '''Author'''
 
|-
 
|-
 
| colspan="2" class="author"|
 
| colspan="2" class="author"|
[[People:{{{author}}}|{{{author}}}]]
+
{{{author}}}
|-
 
! colspan="2"| '''Site'''
 
|-
 
| colspan="2"| {{#switch: {{{site}}}
 
| sc4d = SimCity 4 Devotion
 
| st = Simtropolis
 
| peg = SimPeg
 
| tpp = The Planning Pages
 
| {{{site}}}}}
 
 
|-
 
|-
 
! colspan="2"| '''Description'''
 
! colspan="2"| '''Description'''
Line 53: Line 59:
 
| colspan="2"|
 
| colspan="2"|
 
{{{awards}}}
 
{{{awards}}}
 
<includeonly>[[Category:Mayor_Diaries]]</includeonly>
 

Revision as of 05:16, 29 August 2008

Syntax

{{infobox MD
|type =
|image1 =
|image2 =
|author =
|desc =
|tag =
|link =
|status =
|awards = 
}}
  • type - the type of showoff-thread it is (City Journal or Mayor Diary)
  • image1 - an example image.
  • image2 - another example image.
  • author - the author
  • desc - small description
  • tag - words describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6)
  • link - link to the MD/CJ
  • status - status of the MD/CJ. Active, Inactive, Archived
  • awards - awards that the MD/CJ has received. That included Of Special Interest This Month and Trixie's (related to CJs)

Example

{{{type}}}
Images
Wiki no image.png Wiki no image.png
Author

{{{author}}}

Description

{{{desc}}}

Tags

{{{tag}}}

Link
Status

{{{status}}}

Awards

{{{awards}}}