Difference between revisions of "Template:Infobox CS"
Jump to navigation
Jump to search
sc4e>JoeST m |
sc4e>Freedo50 (Added awards category linkage) |
||
Line 14: | Line 14: | ||
|link = | |link = | ||
|status = | |status = | ||
− | | | + | |award1 = |
+ | |award2 = | ||
+ | |award3 = | ||
+ | |award4 = | ||
+ | |award5 = | ||
+ | |award6 = | ||
+ | |award7 = | ||
+ | |award8 = | ||
+ | |award9 = | ||
+ | |award10 = | ||
+ | |award11 = | ||
+ | |award12 = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 27: | Line 38: | ||
**peg (SimPeg) | **peg (SimPeg) | ||
*'''desc''' - small description | *'''desc''' - small description | ||
− | *'''tag#''' - word/phrase describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6) | + | *'''tag#''' - word/phrase describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6) '''Warning: Do not include the <nowiki>"|tag5 = "</nowiki> code if that particular tag is not defined as it will mess up the template's appearance''' |
*'''link''' - link to the MD/CJ | *'''link''' - link to the MD/CJ | ||
*'''status''' - status of the MD/CJ. Active, Inactive, Archived | *'''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 <nowiki>"|award11 = "</nowiki> code if that particular award is not defined as it will mess up the template's appearance''' |
==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}}}" | ||
Line 77: | Line 88: | ||
|- | |- | ||
| colspan="2"| | | colspan="2"| | ||
− | {{{ | + | {{ #ifeq: {{{award1|}}} ||| [[: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}}}]] }} |
[[category:Mayor Diaries]] | [[category:Mayor Diaries]] |
Revision as of 06:11, 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 | |
Author | |
{{{author}}} | |
Site | |
{{{site}}} | |
Description | |
{{{desc}}} | |
Tags | |
Link | |
{{{link}}} | |
Status | |
{{{status}}} | |
Awards | |