For faster navigation, this Iframe is preloading the Wikiwand page for Template:Allmusic.

Template:Allmusic

AllmusicAllmusic上的頁面

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

完整模板
((Allmusic
| class      =
| id         =
| tab        =
| pure_url   =
| label      =
| author     =
| accessdate =
))
簡易模板
((Allmusic| <class> | <id> | <label> ))

參數說明

  • class:類型,如:artist、album、song、work、explore,為「www.allmusic.com/」後面接的字串,如未填寫預設為 artist。
  • id(必填):代碼,如「http://www.allmusic.com/artist/led-zeppelin-mn0000139026」的代碼即為後面的 mn0000139026。
  • tab:頁籤,使用方法請參考以下範例。
  • label:顯示名稱。
  • author:文章的作者。
  • pure_url:若此項為 yes,模板只輸出網址字串,此時僅 class、id、tab 三項參數有效,使用方法請參考以下範例。
  • accessdate:檢查日期。

使用範例

簡易模板
((Allmusic|song|mn0000139026|齊柏林飛船))
輸出:
齊柏林飛船Allmusic上的頁面
基本使用
((Allmusic| class = artist | id = mn0000139026 | label = 齊柏林飛船))
輸出:
齊柏林飛船Allmusic上的頁面
使用 tab 參數
((Allmusic| class = artist | id = mn0000139026 | label = 齊柏林飛船獲得獎項 | tab = awards ))
輸出:
齊柏林飛船獲得獎項Allmusic上的頁面
使用 tab 參數(另一個範例)
((Allmusic| class = video | id = mn0000139026 | label = 齊柏林飛船的所有歌曲 | tab = songs/all ))
輸出:
齊柏林飛船的所有歌曲Allmusic上的頁面
id 使用頁籤
((Allmusic| class = video | id = mn0000139026/songs/all | label = 齊柏林飛船的所有歌曲 ))
輸出:
齊柏林飛船的所有歌曲Allmusic上的頁面
使用 pure_url 參數
((Allmusic| pure_url = yes | class = artist | id = mn0000139026 | tab = awards))
輸出字串:http://www.allmusic.com/artist/mn0000139026/awards
使用 authoraccessdate 參數
((Allmusic| class = artist | id = mn0000139026 | label = 齊柏林飛船 | tab = awards | author = Stephen Thomas Erlewine | accessdate = 2013-02-01 ))
輸出:
齊柏林飛船Allmusic上的頁面. [2013-02-01].

參見

{{bottomLinkPreText}} {{bottomLinkText}}
Template:Allmusic
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?