Template:User Favorite Music: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (roundy) |
Andros 1337 (talk | contribs) (add new genre category field for color) |
||
Line 1: | Line 1: | ||
{| class="userboxitem" style="border: 1px solid #000; background: # | {|{| class="userboxitem" style="border: 1px solid #000; background: #{{#switch: {{{1|Rock}}}|Electronic|electronic=B8B8D0|Classical|classical=A65E9A|Country|country=BB9966|NewAge|newAge=ffffff|R&B|r&b=98D8D8|World|world=78C850|Pop|pop=FFD733|Jazz|jazz=ffc0cb|Metal|metal=111111|Rock|rock=F08030|HipHop|hipHop=FFAA00}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" cellspacing="0" cellpadding="0" | ||
! style="background: # | ! style="background: #{{#switch: {{{1|rock}}}|Electronic|electronic=999999||Classical|classical=800080|Country|country=964B00|NewAge|newAge=F1ECE9|R&B|r&b=1111FF|World|world=11BB11|Pop|pop=F8D030|Jazz|jazz=FF99BA|Metal|metal=000000|Rock|rock=FF1111 |HipHop|hipHop=FFCC33}}; {{#switch:{{{moz|yes}}}|yes={{roundy|60px}}|no=}}" | [[File:{{{2|DP Guitarist}}}.png|60px]] | ||
| style=" color: # | | style="color: #{{#switch: {{{1|electronic}}}|Electronic|electronic|Classical|classical|Country|country|NewAge|newAge|R&B|r&b|World|world|Pop|pop|Jazz|jazz|Rock|rock=000000|Metal|metal=ffffff|HipHop|hipHop}};" | <font size="4">☆</font> This user's favorite genre of music is '''[[wp:{{{3|Rock}}} {{{5|music}}}|{{{4|Rock & Roll}}}]]'''. <font size="4">☆</font> | ||
|}<noinclude> | |} | ||
Begin with <nowiki>{{User Favorite Music|</nowiki>. | |||
<noinclude>Begin with <nowiki>{{User Favorite Music|</nowiki>. | |||
For each of the other fields, put in information as follows in order: | For each of the other fields, put in information as follows in order: | ||
#The image you want to place as the picture. Include the filename extension. | #The image you want to place as the picture. Include the filename extension. | ||
#The categorization of the genre (determines color). | |||
#The name of your favorite genre of music. | #The name of your favorite genre of music. | ||
#The text you want to appear as the link. | #The text you want to appear as the link. | ||
#If the name of the genre on {{wp|Main Page|Wikipedia}} is a disambiguation page or a page unrelated to the genre in question, use this field to include additional information to lead to the correct Wikipedia page. | #If the name of the genre on {{wp|Main Page|Wikipedia}} is a disambiguation page or a page unrelated to the genre in question, use this field to include additional information to lead to the correct Wikipedia page. | ||
There are 11 preset genre categories: | |||
* Electronic | |||
* Classical | |||
* Country | |||
* NewAge | |||
* R&B | |||
* World | |||
* Pop | |||
* Jazz | |||
* Metal | |||
* Rock | |||
* HipHop | |||
For example, if you entered the following: | For example, if you entered the following: | ||
<nowiki>{{User Favorite Music|441 | <nowiki> {{Template:User Favorite Music|Classical|441|Classical|classical|music}} </nowiki> | ||
It should come out like this: | It should come out like this: | ||
{{User Favorite Music|441 | {{Template:User Favorite Music|Classical|441|Classical|classical|music}} | ||
[[Category:Favorite tags]]</noinclude> | [[Category:Favorite tags]]</noinclude> |
Revision as of 17:35, 27 April 2011
File:DP Guitarist.png | ☆ This user's favorite genre of music is Rock & Roll. ☆ |
---|
Begin with {{User Favorite Music|.
For each of the other fields, put in information as follows in order:
- The image you want to place as the picture. Include the filename extension.
- The categorization of the genre (determines color).
- The name of your favorite genre of music.
- The text you want to appear as the link.
- If the name of the genre on Wikipedia is a disambiguation page or a page unrelated to the genre in question, use this field to include additional information to lead to the correct Wikipedia page.
There are 11 preset genre categories:
- Electronic
- Classical
- Country
- NewAge
- R&B
- World
- Pop
- Jazz
- Metal
- Rock
- HipHop
For example, if you entered the following:
{{Template:User Favorite Music|Classical|441|Classical|classical|music}}
It should come out like this:
☆ This user's favorite genre of music is classical. ☆ |