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

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (made cs'y)
m (21 revisions imported)
 
(44 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>==Syntax==
+
<noinclude>{{pp-template}}</noinclude><noinclude>{{mbox
 +
| type = content
 +
| 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
 
<pre>{{infobox MD/HoF
|type =
 
 
|author =
 
|author =
 
|tag1 =
 
|tag1 =
Line 14: Line 17:
 
|status =
 
|status =
 
|induct =
 
|induct =
|award1 =
 
 
|award2 =  
 
|award2 =  
 
|award3 =  
 
|award3 =  
Line 34: Line 36:
 
*'''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"  style="float: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|}}}
|[[SC4 Devotion]]
+
|tag1 = {{{tag1|}}}
|-
+
|tag2 = {{{tag2|}}}
! '''Tags'''
+
|tag3 = {{{tag3|}}}
|-
+
|tag4 = {{{tag4|}}}
| class="tags"|
+
|tag5 = {{{tag5|}}}
{{#ifeq: {{{tag1|}}} ||No tags have been defined for this {{{type}}}| {{tag|{{{tag1|}}}|cs}}}}{{#ifeq: {{{tag2|}}} |||&nbsp;· {{tag|{{{tag2|}}}|cs}}}}{{#ifeq: {{{tag3|}}} |||&nbsp;· {{tag|{{{tag3|}}}|cs}}}}{{#ifeq: {{{tag4|}}} |||&nbsp;· {{tag|{{{tag4|}}}|cs}}}}{{#ifeq: {{{tag5|}}} |||&nbsp;· {{tag|{{{tag5|}}}|cs}}}}{{#ifeq: {{{tag6|}}} |||&nbsp;· {{tag|{{{tag6|}}}|cs}}}}
+
|language = {{{language}}}
|-
+
|}}
! '''Link'''
+
<includeonly>[[category:City Showcases]]</includeonly>
|-
 
| class="link"|
 
[{{{link}}} {{{l-name}}}]
 
|-
 
! '''Status'''
 
|-
 
|
 
{{{status}}}
 
|-
 
! '''Awards'''
 
|-
 
|
 
[[:Category:md-Hall of Fame|Hall of Fame]][[Category:md-Hall of Fame]] (Inducted on {{{induct}}}){{#ifeq: {{{award1|}}} |||<br />{{tag|{{{award1|}}}|cs}}}}{{#ifeq: {{{award2|}}} |||<br />{{tag|{{{award2|}}}|cs}}}}{{#ifeq: {{{award3|}}} |||<br/>{{tag|{{{award3|}}}|cs}}}}{{#ifeq: {{{award4|}}} |||<br/>{{tag|{{{award4|}}}|cs}}}}{{#ifeq: {{{award5|}}} |||<br/>{{tag|{{{award5|}}}|cs}}}}{{#ifeq: {{{award6|}}} |||<br/>{{tag|{{{award6|}}}|cs}}}}{{#ifeq: {{{award7|}}} |||<br/>{{tag|{{{award7|}}}|cs}}}}{{#ifeq: {{{award8|}}} |||<br/>{{tag|{{{award8|}}}|cs}}}}{{#ifeq: {{{award9|}}} |||<br/>{{tag|{{{award9|}}}|cs}}}}
 
|}
 
<includeonly>[[category:Mayor Diaries]]</includeonly>
 

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}}}