Difference between revisions of "Template:Infobox MD/HoF"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added inducted on field)
m (21 revisions imported)
 
(94 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>==Syntax==
+
<noinclude>{{pp-template}}</noinclude><noinclude>{{mbox
<pre>{{infobox MD
+
| type = content
|type =
+
| text = <span style="color:#f28500;">'''This template includes some very complex use of parser functions. Please make sure you are familiar with these functions before editing this template.'''</span>
 +
}}
 +
==Syntax==
 +
<pre>{{infobox MD/HoF
 
|author =
 
|author =
 
|tag1 =
 
|tag1 =
Line 10: Line 13:
 
|tag6 =  
 
|tag6 =  
 
|link =
 
|link =
 +
|l-name =
 +
|site =
 
|status =
 
|status =
 
|induct =
 
|induct =
|award1 =
 
 
|award2 =  
 
|award2 =  
 
|award3 =  
 
|award3 =  
Line 21: Line 25:
 
|award8 =  
 
|award8 =  
 
|award9 =  
 
|award9 =  
|award10 =
 
|award11 =
 
|award12 =
 
 
}}
 
}}
 
</pre>
 
</pre>
 
*'''type''' - the type of showoff-thread it is (City Journal or Mayor Diary)
 
*'''type''' - the type of showoff-thread it is (City Journal or Mayor Diary)
 
*'''author''' - the author
 
*'''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)
 
 
*'''tag#''' - word/phrase describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6) <span style="color:#f00;">'''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'''</span>
 
*'''tag#''' - word/phrase describing the MD/CJ. (exempli gratia: Historical, Re-creation) (max. 6) <span style="color:#f00;">'''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'''</span>
*'''link''' - link to the MD/CJ
+
*'''link''' - link to the MD/CJ with '''l-name''' as the nice name for the link
 
*'''status''' - status of the MD/CJ. Active, Inactive, Archived
 
*'''status''' - status of the MD/CJ. Active, Inactive, Archived
 +
*'''site''' - the site the HoF'ed MD is on
 
*'''induct''' - The date it was inducted on.
 
*'''induct''' - The date it was inducted on.
 
*'''award#''' - award that the MD/CJ has received. That included [[Of Special Interest This Month]] and [[Trixie]]'s (related to CJs). (max. 12) <span style="color:#f00;">'''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'''</span>
 
*'''award#''' - award that the MD/CJ has received. That included [[Of Special Interest This Month]] and [[Trixie]]'s (related to CJs). (max. 12) <span style="color:#f00;">'''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'''</span>
 
==Example==
 
==Example==
</noinclude>{| id="mdtable" width="250px" cellspacing="0" cellpadding="5px" align="{{{align|right}}}"
+
</noinclude>{{infobox CS
! align=center style="font-size:16pt;"| {{{type}}}
+
|type = Mayor Diary
|-
+
|image1 = [[Image:HOF-Medal.png|150px]]
|[[Image:HOF-Medal.png|150px]]
+
|link = {{{link}}}
|-
+
|site = SimCity 4 Devotion
!'''Author'''
+
|author = {{{author}}}
|-
+
|status = Active
| class="author"|
+
|award1 = Hall of Fame
[[People:{{{author}}}|{{{author}}}]]
+
|award2 = {{{award1|}}}
|-
+
|award3 = {{{award2|}}}
! '''Site'''
+
|award4 = {{{award3|}}}
|-
+
|award5 = {{{award4|}}}
| {{#switch: {{{site}}}
+
|tag1 = {{{tag1|}}}
| sc4d = SimCity 4 Devotion
+
|tag2 = {{{tag2|}}}
| st = Simtropolis
+
|tag3 = {{{tag3|}}}
| peg = SimPeg
+
|tag4 = {{{tag4|}}}
| tpp = The Planning Pages
+
|tag5 = {{{tag5|}}}
| {{{site}}}}}
+
|language = {{{language}}}
|-
+
|}}
! '''Tags'''
+
<includeonly>[[category:City Showcases]]</includeonly>
|-
 
| class="tags"|
 
{{ #ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| [[:Category:md-{{{tag1}}}|{{{tag1}}}]][[Category:md-{{{tag1}}}]] }}{{ #ifeq: {{{tag2|}}} |||&nbsp;· [[:Category:md-{{{tag2}}}|{{{tag2}}}]][[Category:md-{{{tag2}}}]] }}{{ #ifeq: {{{tag3|}}} |||&nbsp;· [[:Category:md-{{{tag3}}}|{{{tag3}}}]][[Category:md-{{{tag3}}}]] }}{{ #ifeq: {{{tag4|}}} |||&nbsp;· [[:Category:md-{{{tag4}}}|{{{tag4}}}]][[Category:md-{{{tag4}}}]] }}{{ #ifeq: {{{tag5|}}} |||&nbsp;· [[:Category:md-{{{tag5}}}|{{{tag5}}}]][[Category:md-{{{tag5}}}]] }}{{ #ifeq: {{{tag6|}}} |||&nbsp;· [[:Category:md-{{{tag6}}}|{{{tag6}}}]][[Category:md-{{{tag6}}}]] }}
 
|-
 
! '''Link'''
 
|-
 
| class="link"|
 
{{{link}}}
 
|-
 
! '''Status'''
 
|-
 
|
 
{{{status}}}
 
|-
 
! '''Inducted On'''
 
|-
 
|
 
{{{induct}}}
 
|-
 
! '''Awards'''
 
|-
 
|
 
{{ #ifeq: {{{award1|}}} ||This {{{type}}} has won no awards| [[:Category:md-{{{award1}}}|{{{award1}}}]][[Category:md-{{{award1}}}]] }}{{ #ifeq: {{{award2|}}} |||&nbsp;· [[:Category:md-{{{award2}}}|{{{award2}}}]][[Category:md-{{{award2}}}]] }}{{ #ifeq: {{{award3|}}} |||&nbsp;· [[:Category:md-{{{award3}}}|{{{award3}}}]][[Category:md-{{{award3}}}]] }}{{ #ifeq: {{{award4|}}} |||&nbsp;· [[:Category:md-{{{award4}}}|{{{award4}}}]][[Category:md-{{{award4}}}]] }}{{ #ifeq: {{{award5|}}} ||| [[:Category:md-{{{award5}}}]][[Category:md-{{{award5}}}]] }}{{ #ifeq: {{{award6|}}} |||&nbsp;· [[:Category:md-{{{award6}}}|{{{award6}}}]][[Category:md-{{{award5}}}]] }}{{ #ifeq: {{{award7|}}} |||&nbsp;· [[:Category:md-{{{award7}}}|{{{award7}}}]][[Category:md-{{{award7}}}]] }}{{ #ifeq: {{{award8|}}} |||&nbsp;· [[:Category:md-{{{award8}}}|{{{award8}}}]][[Category:md-{{{award8}}}]] }}{{ #ifeq: {{{award9|}}} ||| [[:Category:md-{{{award9}}}|{{{award9}}}]][[Category:md-{{{award9}}}]] }}{{ #ifeq: {{{award10|}}} |||&nbsp;· [[:Category:md-{{{award10}}}|{{{award10}}}]][[Category:md-{{{award10}}}]] }}
 
[[category:Mayor Diaries]]
 

Latest revision as of 15:35, 7 August 2019

Syntax

{{infobox MD/HoF
|author =
|tag1 =
|tag2 = 
|tag3 = 
|tag4 = 
|tag5 = 
|tag6 = 
|link =
|l-name =
|site =
|status =
|induct =
|award2 = 
|award3 = 
|award4 = 
|award5 = 
|award6 = 
|award7 = 
|award8 = 
|award9 = 
}}
  • type - the type of showoff-thread it is (City Journal or Mayor Diary)
  • author - the author
  • 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 with l-name as the nice name for the link
  • status - status of the MD/CJ. Active, Inactive, Archived
  • site - the site the HoF'ed MD is on
  • induct - The date it was inducted on.
  • 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

Mayor Diary

150px

Link
[{{{link}}} SimCity 4 Devotion]
General Information
Author [[People:{{{author}}}|{{{author}}}]]
Status Active
Tags This Mayor Diary is not tagged
Awards Hall of Fame
Language {{{language}}}