求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

模板:Allmusic檢視原始碼檢視歷史

事實揭露 揭密真相
前往: 導覽搜尋

AllmusicAllmusic上的頁面

Template documentation[view] [edit] [history] [purge]

用法

完整模板
{{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].

參見