Difference between revisions of "Template:Fad Infobox"
From YTMND
Roothorick (Talk | contribs) (New, be-all end-all fad infobox. Fully compatible with the old one. Please study http://wiki.ytmnd.com/index.php?title=Template:Sandbox2&action=history before trying to tweak this.) |
Roothorick (Talk | contribs) |
||
(2 intermediate revisions by one user not shown) | |||
Line 6: | Line 6: | ||
{{if|{{{original|}}} | {{if|{{{original|}}} | ||
|then=! style="text-align: center;" {{!}} Original YTMND:<br />{{ytmnd|{{{original}}}|{{{originalTitle|}}} }} | |then=! style="text-align: center;" {{!}} Original YTMND:<br />{{ytmnd|{{{original}}}|{{{originalTitle|}}} }} | ||
− | |else=! style="text-align: center;" {{!}} Example:<br />{{ytmnd|{{{example}}}|{{{exampleTitle|}}} }} }}{{if|{{{spinoff1|}}}|then= | + | |else=! style="text-align: center;" {{!}} Example:<br />{{ytmnd|{{{example}}}|{{{exampleTitle|}}} }} }}{{if|{{{orcreator|}}}|then= |
+ | {{!}}- | ||
+ | {{!}} style="text-align: center;" {{!}}by {{ytmnduser|{{{orcreator}}}}} }}{{if|{{{ordate|}}}|then= | ||
+ | {{!}}- | ||
+ | {{!}} style="text-align: center;" {{!}}{{date|{{{ordatecat}}}|{{{ordate}}} }} }}{{if|{{{spinoff1|}}}|then= | ||
{{!}}- | {{!}}- | ||
! style="text-align: center;" {{!}} Worthy spinoffs: | ! style="text-align: center;" {{!}} Worthy spinoffs: | ||
Line 33: | Line 37: | ||
==Purpose== | ==Purpose== | ||
− | Info box about fads. This | + | Info box about fads. This new improved model incorporates all the fields of the old Ibs system and at the same time is fully backwards compatible with template that it directly replaced. Looks the same too. |
==Code== | ==Code== | ||
Line 39: | Line 43: | ||
{{Fad Infobox|name= | {{Fad Infobox|name= | ||
|img= | |img= | ||
− | |original= | + | |original= (OR |example=} |
− | |originalTitle= | + | |originalTitle= (OR |exampleTitle=) |
+ | |orcreator= | ||
+ | |ordate= | ||
+ | |ordatecat= | ||
|spinoff1= | |spinoff1= | ||
|title1= | |title1= | ||
Line 51: | Line 58: | ||
|spinoff5= | |spinoff5= | ||
|title5= | |title5= | ||
+ | |ptkfgs= | ||
+ | |ptktitle= | ||
+ | |music1= | ||
+ | |band1= | ||
+ | |m1md5= | ||
+ | |music2= | ||
+ | |band2= | ||
+ | |m2md5= | ||
+ | |music3= | ||
+ | |band3= | ||
+ | |m3md5= | ||
+ | |music4= | ||
+ | |band4= | ||
+ | |m4md5= | ||
+ | |music5= | ||
+ | |band5= | ||
+ | |m5md5= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Latest revision as of 20:40, February 1, 2009
Purpose
Info box about fads. This new improved model incorporates all the fields of the old Ibs system and at the same time is fully backwards compatible with template that it directly replaced. Looks the same too.
Code
{{Fad Infobox|name= |img= |original= (OR |example=} |originalTitle= (OR |exampleTitle=) |orcreator= |ordate= |ordatecat= |spinoff1= |title1= |spinoff2= |title2= |spinoff3= |title3= |spinoff4= |title4= |spinoff5= |title5= |ptkfgs= |ptktitle= |music1= |band1= |m1md5= |music2= |band2= |m2md5= |music3= |band3= |m3md5= |music4= |band4= |m4md5= |music5= |band5= |m5md5= }}
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. And no, you can't post a 6th spinoff. (Please list ones with at least and 10,000 views if possible).
- title1 - title5 = Names of the spinoffs