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

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m
m (21 revisions imported)
 
(59 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|}}}|md-}}}}{{#ifeq: {{{tag2|}}} |||&nbsp;· {{tag|{{{tag2|}}}|md-}}}}{{#ifeq: {{{tag3|}}} |||&nbsp;· {{tag|{{{tag3|}}}|md-}}}}{{#ifeq: {{{tag4|}}} |||&nbsp;· {{tag|{{{tag4|}}}|md-}}}}{{#ifeq: {{{tag5|}}} |||&nbsp;· {{tag|{{{tag5|}}}|md-}}}}{{#ifeq: {{{tag6|}}} |||&nbsp;· {{tag|{{{tag6|}}}|md-}}}}
+
|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|}}}|md-}}}}{{#ifeq: {{{award2|}}} |||<br />{{tag|{{{award2|}}}|md-}}}}{{#ifeq: {{{award3|}}} |||<br/>{{tag|{{{award3|}}}|md-}}}}{{#ifeq: {{{award4|}}} |||<br/>{{tag|{{{award4|}}}|md-}}}}{{#ifeq: {{{award5|}}} |||<br/>{{tag|{{{award5|}}}|md-}}}}{{#ifeq: {{{award6|}}} |||<br/>{{tag|{{{award6|}}}|md-}}}}{{#ifeq: {{{award7|}}} |||<br/>{{tag|{{{award7|}}}|md-}}}}{{#ifeq: {{{award8|}}} |||<br/>{{tag|{{{award8|}}}|md-}}}}{{#ifeq: {{{award9|}}} |||<br/>{{tag|{{{award9|}}}|md-}}}}
 
|}
 
<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}}}