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

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (added table end)
m (21 revisions imported)
 
(74 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 23: Line 25:
 
|award8 =  
 
|award8 =  
 
|award9 =  
 
|award9 =  
|award10 =
 
|award11 =
 
|award12 =
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 37: 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}}}| [[:Category:md-{{{tag1}}}|{{{tag1}}}]][[Category:md-{{{tag1}}}]] }}
+
|language = {{{language}}}
{{ #ifeq: {{{tag2|}}} |||<br />[[:Category:md-{{{tag2}}}|{{{tag2}}}]][[Category:md-{{{tag2}}}]] }}
+
|}}
{{ #ifeq: {{{tag3|}}} |||<br />[[:Category:md-{{{tag3}}}|{{{tag3}}}]][[Category:md-{{{tag3}}}]] }}
+
<includeonly>[[category:City Showcases]]</includeonly>
{{ #ifeq: {{{tag4|}}} |||<br />[[:Category:md-{{{tag4}}}|{{{tag4}}}]][[Category:md-{{{tag4}}}]] }}
 
{{ #ifeq: {{{tag5|}}} |||<br />[[:Category:md-{{{tag5}}}|{{{tag5}}}]][[Category:md-{{{tag5}}}]] }}
 
{{ #ifeq: {{{tag6|}}} |||<br />[[:Category:md-{{{tag6}}}|{{{tag6}}}]][[Category:md-{{{tag6}}}]] }}
 
|-
 
! '''Link'''
 
|-
 
| 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: {{{award2|}}} |||<br />[[:Category:md-{{{award2}}}|{{{award2}}}]][[Category:md-{{{award2}}}]] }}
 
{{ #ifeq: {{{award3|}}} |||<br />[[:Category:md-{{{award3}}}|{{{award3}}}]][[Category:md-{{{award3}}}]] }}
 
{{ #ifeq: {{{award4|}}} |||<br />[[:Category:md-{{{award4}}}|{{{award4}}}]][[Category:md-{{{award4}}}]] }}
 
{{ #ifeq: {{{award5|}}} |||<br />[[:Category:md-{{{award5}}}|{{{award5}}}]][[Category:md-{{{award5}}}]] }}
 
{{ #ifeq: {{{award6|}}} |||<br />[[:Category:md-{{{award6}}}|{{{award6}}}]][[Category:md-{{{award5}}}]] }}
 
{{ #ifeq: {{{award7|}}} |||<br />[[:Category:md-{{{award7}}}|{{{award7}}}]][[Category:md-{{{award7}}}]] }}
 
{{ #ifeq: {{{award8|}}} |||<br />[[:Category:md-{{{award8}}}|{{{award8}}}]][[Category:md-{{{award8}}}]] }}
 
{{ #ifeq: {{{award9|}}} |||<br />[[:Category:md-{{{award9}}}|{{{award9}}}]][[Category:md-{{{award9}}}]] }}
 
{{ #ifeq: {{{award10|}}} |||<br />[[:Category:md-{{{award10}}}|{{{award10}}}]][[Category:md-{{{award10}}}]] }}
 
|}
 
<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}}}