Difference between revisions of "Template:Fad Infobox"
From YTMND
(Spacer png) |
Roothorick (Talk | contribs) |
||
(31 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox" style="width: 210px;" | + | <includeonly>{| class="infobox" style="width: 210px; float: right;" |
! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}''' | ! style="text-align: center; background-color: #c7ddc8" | '''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
− | | style="text-align:center;" | [[Image:{{{ | + | | style="text-align:center;" | [[Image:{{{img|spacer200.gif}}}|200px|Preview image]] |
|- | |- | ||
− | ! style="text-align: center;" | + | {{if|{{{original|}}} |
− | |- | + | |then=! style="text-align: center;" {{!}} Original YTMND:<br />{{ytmnd|{{{original}}}|{{{originalTitle|}}} }} |
− | ! style="text-align: center;" | Worthy spinoffs: | + | |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: |
− | * | + | {{!}}- |
− | |}<noinclude> | + | {{!}} |
+ | *{{if|{{{title1|}}}|then={{ytmnd|{{{spinoff1}}}|{{{title1}}} }}|else={{ytmnd|{{{spinoff1}}}}} }} }}{{if|{{{spinoff2|}}}|then= | ||
+ | *{{if|{{{title2|}}}|then={{ytmnd|{{{spinoff2}}}|{{{title2}}} }}|else={{ytmnd|{{{spinoff2}}}}} }} }}{{if|{{{spinoff3|}}}|then= | ||
+ | *{{if|{{{title3|}}}|then={{ytmnd|{{{spinoff3}}}|{{{title3}}} }}|else={{ytmnd|{{{spinoff3}}}}} }} }}{{if|{{{spinoff4|}}}|then= | ||
+ | *{{if|{{{title4|}}}|then={{ytmnd|{{{spinoff4}}}|{{{title4}}} }}|else={{ytmnd|{{{spinoff4}}}}} }} }}{{if|{{{spinoff5|}}}|then= | ||
+ | *{{if|{{{title5|}}}|then={{ytmnd|{{{spinoff5}}}|{{{title5}}} }}|else={{ytmnd|{{{spinoff5}}}}} }} }}{{if|{{{ptkfgs|}}}|then= | ||
+ | {{!}}- | ||
+ | ! style="text-align: center;" {{!}} PTKFGS counterpart: | ||
+ | {{!}}- | ||
+ | {{!}} | ||
+ | *{{if|{{{ptktitle|}}}|then={{ytmnd|{{{ptkfgs}}}|{{{ptktitle}}} }}|else={{ytmnd|{{{ptkfgs}}}}} }} }}{{if|{{{music1|}}}|then= | ||
+ | {{!}}- | ||
+ | ! style="text-align: center;" {{!}} Used Music: | ||
+ | {{!}}- | ||
+ | {{!}} | ||
+ | * '''{{{band1|(Unknown artist)}}}''' - {{if|{{{m1md5|}}}|then={{YTMNDasset|{{{m1md5}}}|{{{music1}}} }}|else={{{music1}}} }} }}{{if|{{{music2|}}}|then= | ||
+ | * '''{{{band2|(Unknown artist)}}}''' - {{if|{{{m2md5|}}}|then={{YTMNDasset|{{{m2md5}}}|{{{music2}}} }}|else={{{music2}}} }} }}{{if|{{{music3|}}}|then= | ||
+ | * '''{{{band3|(Unknown artist)}}}''' - {{if|{{{m3md5|}}}|then={{YTMNDasset|{{{m3md5}}}|{{{music3}}} }}|else={{{music3}}} }} }}{{if|{{{music4|}}}|then= | ||
+ | * '''{{{band4|(Unknown artist)}}}''' - {{if|{{{m4md5|}}}|then={{YTMNDasset|{{{m4md5}}}|{{{music4}}} }}|else={{{music4}}} }} }}{{if|{{{music5|}}}|then= | ||
+ | * '''{{{band5|(Unknown artist)}}}''' - {{if|{{{m5md5|}}}|then={{YTMNDasset|{{{m5md5}}}|{{{music5}}} }}|else={{{music5}}} }} }} | ||
+ | |}</includeonly><noinclude> | ||
==Purpose== | ==Purpose== | ||
− | Info box about fads | + | 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== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Fad Infobox|name= | {{Fad Infobox|name= | ||
− | | | + | |img= |
− | |original= | + | |original= (OR |example=} |
+ | |originalTitle= (OR |exampleTitle=) | ||
+ | |orcreator= | ||
+ | |ordate= | ||
+ | |ordatecat= | ||
|spinoff1= | |spinoff1= | ||
+ | |title1= | ||
|spinoff2= | |spinoff2= | ||
+ | |title2= | ||
|spinoff3= | |spinoff3= | ||
+ | |title3= | ||
|spinoff4= | |spinoff4= | ||
+ | |title4= | ||
|spinoff5= | |spinoff5= | ||
+ | |title5= | ||
+ | |ptkfgs= | ||
+ | |ptktitle= | ||
+ | |music1= | ||
+ | |band1= | ||
+ | |m1md5= | ||
+ | |music2= | ||
+ | |band2= | ||
+ | |m2md5= | ||
+ | |music3= | ||
+ | |band3= | ||
+ | |m3md5= | ||
+ | |music4= | ||
+ | |band4= | ||
+ | |m4md5= | ||
+ | |music5= | ||
+ | |band5= | ||
+ | |m5md5= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
==Fields== | ==Fields== | ||
* '''name''' = Fad's name | * '''name''' = Fad's name | ||
− | * '''image''' = | + | * '''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 <nowiki>http://content.ytmnd.com/content/a/9/0/a904c9eb269376020c39f84340a45743.jpg</nowiki>) |
* '''original''' = Subdomain (the '''first part''') of the URL of the YTMND which started the fad (<nowiki>http://</nowiki>'''original'''.ytmnd.com) | * '''original''' = Subdomain (the '''first part''') of the URL of the YTMND which started the fad (<nowiki>http://</nowiki>'''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). | + | * '''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 | |
− | = | + | [[Category:Infoboxes]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</noinclude> | </noinclude> |
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