Difference between revisions of "Template:Fad Infobox"

From YTMND
Jump to: navigation, search
m (oops)
(adding in alignment param)
Line 1: Line 1:
{| class="infobox" style="width: 210px;"
+
{| class="infobox" style="width: 210px; float: {{{alignment|right}}};"
 
! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}'''
 
! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
Line 35: Line 35:
 
|spinoff5=
 
|spinoff5=
 
|title5=
 
|title5=
 +
|alignment=
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 43: Line 44:
 
* '''spinoff1''' - '''spinoff5''' = Subdomain of the five high-rated spinoffs of this fad. (Please list ones with at least {{****}} and 10,000 views if possible).
 
* '''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
 
* '''title1''' - '''title5''' = Names of the spinoffs
 +
* '''alignment''' - the positioning of the template&mdash;right or left (default value right).
 
</noinclude>
 
</noinclude>

Revision as of 01:56, July 2, 2006

Fad Infobox
Preview image
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=
|alignment=
}}

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
  • alignment - the positioning of the template—right or left (default value right).