Difference between revisions of "Template:InfoBox Music"
From Detective Conan Wiki
m (Re-ordered) |
m (Added support for videos (thanks to a recently added add-on).) |
||
| Line 6: | Line 6: | ||
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}} | {{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}} | ||
|- | |- | ||
| + | {{#if:{{{video|}}}| | ||
| + | {{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" {{!}} '''Video''' | ||
| + | {{!}}- | ||
| + | {{!}} colspan="2" style="text-align:center;" {{!}} {{#ev:{{{video-host|youtube}}}|{{{video}}}|275}} | ||
| + | {{!}}- }} | ||
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''Information''' | | colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #E268EF;" | '''Information''' | ||
|- | |- | ||
| Line 52: | Line 57: | ||
| song = (Mainly used for enumeration. E.g. "Opening 3", "Closing 6", etc...) | | song = (Mainly used for enumeration. E.g. "Opening 3", "Closing 6", etc...) | ||
| image = | | image = | ||
| + | | video = (Optional. This is the video "key" in the URL. E.g. for Youtube, | ||
| + | it's what's after "watch?v=" and before the next "&" symbol if there's one) | ||
| + | | video-host = (Optional. Will default to "youtube". Other supported services are: | ||
| + | Dailymotion, FunnyOrDie, Google Video, sevenload, Revver) | ||
| title = | | title = | ||
| artist = | | artist = | ||
Revision as of 18:30, 17 November 2009
| {{{song}}} | |
| Information | |
| Title: | |
|---|---|
| Artist: | |
| List of songs | |
The following is a list of required or optional parameters for any of the songs:
{{InfoBox Music
| song = (Mainly used for enumeration. E.g. "Opening 3", "Closing 6", etc...)
| image =
| video = (Optional. This is the video "key" in the URL. E.g. for Youtube,
it's what's after "watch?v=" and before the next "&" symbol if there's one)
| video-host = (Optional. Will default to "youtube". Other supported services are:
Dailymotion, FunnyOrDie, Google Video, sevenload, Revver)
| title =
| artist =
| episodes = (Optional. E.g. [[Anime#Season_2_-_Episodes_29-54|35-65]])
| movie = (Optional. E.g. [[The Last Wizard of the Century|3]])
| release-date = (Optional)
| chart-peak = (Optional)
| prev-song = (Optional)
| next-song = (Optional)
| footnotes = (Optional: will not show the row if omitted)
}}