Difference between revisions of "Template:Infobox CS"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Freedo50
(Oops, spelt color the CORRECT way lol)
sc4e>JoeST
m (added md- prefix to awards and tags)
Line 73: Line 73:
 
|-
 
|-
 
| colspan="2" class="tags"|
 
| colspan="2" class="tags"|
{{ #ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| [[:Category:{{{tag1}}}|{{{tag1}}}]] }}{{ #ifeq: {{{tag2|}}} ||| · [[:Category:{{{tag2}}}|{{{tag2}}}]] }}{{ #ifeq: {{{tag3|}}} ||| · [[:Category:{{{tag3}}}|{{{tag3}}}]] }}{{ #ifeq: {{{tag4|}}} ||| · [[:Category:{{{tag4}}}|{{{tag4}}}]] }}{{ #ifeq: {{{tag5|}}} ||| · [[:Category:{{{tag5}}}|{{{tag5}}}]] }}{{ #ifeq: {{{tag6|}}} ||| · [[:Category:{{{tag6}}}|{{{tag6}}}]] }}  
+
{{ #ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| [[:Category:md-{{{tag1}}}|{{{tag1}}}]] }}{{ #ifeq: {{{tag2|}}} ||| · [[:Category:md-{{{tag2}}}|{{{tag2}}}]] }}{{ #ifeq: {{{tag3|}}} ||| · [[:Category:md-{{{tag3}}}|{{{tag3}}}]] }}{{ #ifeq: {{{tag4|}}} ||| · [[:Category:md-{{{tag4}}}|{{{tag4}}}]] }}{{ #ifeq: {{{tag5|}}} ||| · [[:Category:md-{{{tag5}}}|{{{tag5}}}]] }}{{ #ifeq: {{{tag6|}}} ||| · [[:Category:md-{{{tag6}}}|{{{tag6}}}]] }}  
 
|-
 
|-
 
! colspan="2"| '''Link'''
 
! colspan="2"| '''Link'''
Line 88: Line 88:
 
|-
 
|-
 
| colspan="2"|
 
| colspan="2"|
{{ #ifeq: {{{award1|}}} ||This {{{type}}} has won no awards| [[:Category:{{{award1}}}]] }}{{ #ifeq: {{{award2|}}} ||| · [[:Category:{{{award2}}}]] }}{{ #ifeq: {{{award3|}}} ||| · [[:Category:{{{award3}}}]] }}{{ #ifeq: {{{award4|}}} ||| · [[:Category:{{{award4}}}]] }}{{ #ifeq: {{{award5|}}} ||| [[:Category:{{{award5}}}]] }}{{ #ifeq: {{{award6|}}} ||| · [[:Category:{{{award6}}}]] }}{{ #ifeq: {{{award7|}}} ||| · [[:Category:{{{award7}}}]] }}{{ #ifeq: {{{award8|}}} ||| · [[:Category:{{{award8}}}]] }}{{ #ifeq: {{{award9|}}} ||| [[:Category:{{{award9}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:{{{award10}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:{{{award10}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:{{{award10}}}]] }}
+
{{ #ifeq: {{{award1|}}} ||This {{{type}}} has won no awards| [[:Category:md-{{{award1}}}|{{{award1}}}]] }}{{ #ifeq: {{{award2|}}} ||| · [[:Category:md-{{{award2}}}|{{{award2}}}]] }}{{ #ifeq: {{{award3|}}} ||| · [[:Category:md-{{{award3}}}|{{{award3}}}]] }}{{ #ifeq: {{{award4|}}} ||| · [[:Category:md-{{{award4}}}|{{{award4}}}]] }}{{ #ifeq: {{{award5|}}} ||| [[:Category:md-{{{award5}}}]] }}{{ #ifeq: {{{award6|}}} ||| · [[:Category:md-{{{award6}}}|{{{award6}}}]] }}{{ #ifeq: {{{award7|}}} ||| · [[:Category:md-{{{award7}}}|{{{award7}}}]] }}{{ #ifeq: {{{award8|}}} ||| · [[:Category:md-{{{award8}}}|{{{award8}}}]] }}{{ #ifeq: {{{award9|}}} ||| [[:Category:md-{{{award9}}}|{{{award9}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:md-{{{award10}}}|{{{award10}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:md-{{{award10}}}|{{{award10}}}]] }}{{ #ifeq: {{{award10|}}} ||| · [[:Category:md-{{{award10}}}|{{{award10}}}]] }}
 
[[category:Mayor Diaries]]
 
[[category:Mayor Diaries]]

Revision as of 06:35, 29 August 2008

Syntax

{{infobox MD
|type =
|image1 =
|image2 =
|author =
|desc =
|tag1 =
|tag2 = 
|tag3 = 
|tag4 = 
|tag5 = 
|tag6 = 
|link =
|status =
|award1 = 
|award2 = 
|award3 = 
|award4 = 
|award5 = 
|award6 = 
|award7 = 
|award8 = 
|award9 = 
|award10 = 
|award11 = 
|award12 = 
}}
  • 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}}}
Images
Wiki no image.png Wiki no image.png
Author

{{{author}}}

Site
{{{site}}}
Description

{{{desc}}}

Tags

No tags have been defined for this {{{type}}}

Link
Status

{{{status}}}

Awards

This {{{type}}} has won no awards