Difference between revisions of "Template:Fad Infobox"

From YTMND
Jump to: navigation, search
(oops. revert.)
Line 2: Line 2:
 
! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}'''
 
! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
| style="text-align:center;" | {{{image|}}}[[Image:{{{img|spacer200.gif}}}|200px|Preview image]]
+
| style="text-align:center;" | {{{if|{{{image|}}}
 +
|{{{image|}}}
 +
|
 +
}}{{if|{{{img|}}}
 +
|[[Image:{{{img}}}|200px|Preview image]]
 +
|
 +
}}
 
|-  
 
|-  
 
! style="text-align: center;" | Original YTMND:<br /><span class="plainlinks">[http://{{{original}}}.ytmnd.com {{{originalTitle|{{{original}}}}}}]</span>
 
! style="text-align: center;" | Original YTMND:<br /><span class="plainlinks">[http://{{{original}}}.ytmnd.com {{{originalTitle|{{{original}}}}}}]</span>
Line 10: Line 16:
 
|  
 
|  
 
*<span class="plainlinks">[http://{{{spinoff1}}}.ytmnd.com {{{title1|{{{spinoff1}}}}}}]</span>
 
*<span class="plainlinks">[http://{{{spinoff1}}}.ytmnd.com {{{title1|{{{spinoff1}}}}}}]</span>
*<span class="plainlinks">[http://{{{spinoff2}}}.ytmnd.com {{{title2|{{{spinoff2}}}}}}]</span>
+
{{if|{{{spinoff2|}}}
*<span class="plainlinks">[http://{{{spinoff3}}}.ytmnd.com {{{title3|{{{spinoff3}}}}}}]</span>
+
|*<span class="plainlinks">[http://{{{spinoff2}}}.ytmnd.com {{{title2|{{{spinoff2}}}}}}]</span>
*<span class="plainlinks">[http://{{{spinoff4}}}.ytmnd.com {{{title4|{{{spinoff4}}}}}}]</span>
+
|
*<span class="plainlinks">[http://{{{spinoff5}}}.ytmnd.com {{{title5|{{{spinoff5}}}}}}]</span>
+
}}
 +
{{if|{{{spinoff3|}}}
 +
|*<span class="plainlinks">[http://{{{spinoff3}}}.ytmnd.com {{{title3|{{{spinoff3}}}}}}]</span>
 +
|
 +
}}
 +
{{if|{{{spinoff4|}}}
 +
|*<span class="plainlinks">[http://{{{spinoff4}}}.ytmnd.com {{{title4|{{{spinoff4}}}}}}]</span>
 +
|
 +
}}
 +
{{if|{{{spinoff5|}}}
 +
|*<span class="plainlinks">[http://{{{spinoff5}}}.ytmnd.com {{{title5|{{{spinoff5}}}}}}]</span>
 +
|
 +
}}
 +
|-
 +
! style="text-align: center;" | {{{if|{{{music|}}}
 +
|then=Music:
 +
|<span class="plainlinks">{{{music}}}</span class>
 +
|else=
 +
}}
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 07:06, October 21, 2006

Fad Infobox
{


Original YTMND:
{{{original}}}
Worthy spinoffs:





{

Purpose

Info box about fads. This one differs from the original Fad infobox that it uses a 200px uploaded image instead of an external link. (you can choose to upload the background image or the preview), as well as captions.

Code

{{Fad Infobox|name=
|img=
|original=
|originalTitle=
|spinoff1=
|title1=
|spinoff2=
|title2=
|spinoff3=
|title3=
|spinoff4=
|title4=
|spinoff5=
|title5=
}}

Fields

  • name = Fad's name
  • img/image = The image. If you type img, it should be filename of an uploaded image (Image:file.jpg) (no other formatting, it will automatically render 200px wide). If you type image, it should be the preview of the image (for example http://content.ytmnd.com/content/a/9/0/a904c9eb269376020c39f84340a45743.jpg)
  • original = Subdomain (the first part) of the URL of the YTMND which started the fad (http://original.ytmnd.com)
  • spinoff1 - spinoff5 = Subdomain of the five high-rated spinoffs of this fad. (Please list ones with at least **** and 10,000 views if possible).
  • title1 - title5 = Names of the spinoffs