Difference between revisions of "Template:Infobox CS"
Jump to navigation
Jump to search
sc4e>CasperVg (fixing an issue that has been appearing with the template) |
sc4e>CasperVg (made titles align in the center again) |
||
| Line 47: | Line 47: | ||
! colspan="2" align=center style="font-size:16pt;"| {{{type}}} | ! colspan="2" align=center style="font-size:16pt;"| {{{type}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Images''' | + | ! colspan="2" align=center| '''Images''' |
|- | |- | ||
| class="noright"| {{{image1|[[Image:Wiki_no_image.png|300px]]}}} | | class="noright"| {{{image1|[[Image:Wiki_no_image.png|300px]]}}} | ||
| {{{image2|[[Image:Wiki_no_image.png|300px]]}}} | | {{{image2|[[Image:Wiki_no_image.png|300px]]}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Author''' | + | ! colspan="2" align=center| '''Author''' |
|- | |- | ||
| colspan="2" class="author"| | | colspan="2" class="author"| | ||
[[People:{{{author}}}|{{{author}}}]] | [[People:{{{author}}}|{{{author}}}]] | ||
|- | |- | ||
| − | ! colspan="2"| '''Site''' | + | ! colspan="2" align=center| '''Site''' |
|- | |- | ||
| colspan="2"| {{#switch: {{{site}}} | | colspan="2"| {{#switch: {{{site}}} | ||
| Line 63: | Line 63: | ||
| st = Simtropolis | | st = Simtropolis | ||
| peg = SimPeg | | peg = SimPeg | ||
| − | | tpp = | + | | tpp = SimVision |
| + | | sv = SimVision | ||
| + | | tsc = Team SimCity | ||
| {{{site}}}}} | | {{{site}}}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Description''' | + | ! colspan="2" align=center| '''Description''' |
|- | |- | ||
| colspan="2" class="desc"| | | colspan="2" class="desc"| | ||
{{{desc|No description given.}}} | {{{desc|No description given.}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Tags''' | + | ! colspan="2" align=center| '''Tags''' |
|- | |- | ||
| colspan="2" class="tags"| | | colspan="2" class="tags"| | ||
{{#ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| {{tag|{{{tag1|}}}|cs}}}}{{#ifeq: {{{tag2|}}} ||| · {{tag|{{{tag2|}}}|cs}}}}{{#ifeq: {{{tag3|}}} ||| · {{tag|{{{tag3|}}}|cs}}}}{{#ifeq: {{{tag4|}}} ||| · {{tag|{{{tag4|}}}|cs}}}}{{#ifeq: {{{tag5|}}} ||| · {{tag|{{{tag5|}}}|cs}}}}{{#ifeq: {{{tag6|}}} ||| · {{tag|{{{tag6|}}}|cs}}}} | {{#ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| {{tag|{{{tag1|}}}|cs}}}}{{#ifeq: {{{tag2|}}} ||| · {{tag|{{{tag2|}}}|cs}}}}{{#ifeq: {{{tag3|}}} ||| · {{tag|{{{tag3|}}}|cs}}}}{{#ifeq: {{{tag4|}}} ||| · {{tag|{{{tag4|}}}|cs}}}}{{#ifeq: {{{tag5|}}} ||| · {{tag|{{{tag5|}}}|cs}}}}{{#ifeq: {{{tag6|}}} ||| · {{tag|{{{tag6|}}}|cs}}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Link''' | + | ! colspan="2" align=center| '''Link''' |
|- | |- | ||
| colspan="2" class="link"| | | colspan="2" class="link"| | ||
{{{link}}} | {{{link}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Status''' | + | ! colspan="2" align=center| '''Status''' |
|- | |- | ||
| colspan="2"| | | colspan="2"| | ||
{{{status}}} | {{{status}}} | ||
|- | |- | ||
| − | ! colspan="2"| '''Awards''' | + | ! colspan="2"| align=center| '''Awards''' |
|- | |- | ||
| colspan="2"| | | colspan="2"| | ||
Revision as of 00:48, 26 October 2008
This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.
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