依賴
此模板使用{{Which volume}}與{{Which cover}}。另外不含本文件頁面,此模板被拆分為{{Qref}}與{{Qref/contents}}。
使用
一般的語法:
{{qref|name=|volume=|chapter=|chapter2=|episode=|episode2=|sbs=|coverstory=|coverstory2=|databook=|colorwalk=|page=|movie=|other=|text=}}
較短的變量:
{{qref|id= |vol= |chap= |chap2= |ep= |ep2= |sbs=|cover= |cover2= |data= |cw= |page=|movie=|other=|<text>}}
以下是先後順序:
- 漫畫章節或動畫集數 (Chapter & Episode)
- 扉頁故事 (Cover story & Episode)
- SBS
- 資料集 (Data Book)
- 原畫集 Color Walk
- 電影 (Movie)
- 其他 (Other)
- 純文字/自由來源 (Text only (free source))
也就是說如果沒有章節和集數,才會顯示SBS。
- "Volume" 是和章節一起的選填參數。若未填, 將使用{{which volume}}自動計算卷數。
- "Chapter2" 和"Episode2" 是允許注釋跨章節集數的選填參數。只有十分必要時才使用。
- "Cover2" 是允許用戶給予陸續兩個單行本的扉頁故事的選填參數。
- "Page" 是用於章節、SBS、資料集、和Color Walk的選填參數。
- "Name" 是能夠在以後重複指向同一個來源的選填參數。
資料書參數
以下是databook(資料書)參數能夠接受的數值:
{{qref|databook=red}}
為ONE PIECE RED 絕讚的人物特寫;{{qref|databook=blue}}
為ONE PIECE BLUE 絕讚的內幕集錦;{{qref|databook=yellow}}
為ONE PIECE YELLOW 絕讚的元素解析;{{qref|databook=green}}
為ONE PIECE GREEN 絕讚的秘密章節;{{qref|databook=blue deep}}
為ONE PIECE BLUE DEEP 絕讚的角色世界;{{qref|databook=dive}}
為ONE PIECE 15周年紀念冊 DIVE TO GRAND WORLD 特別小冊子。{{qref|databook=Vivre card}}
或{{qref|databook=vivrecard}}
為VIVRE CARD 〜ONE PIECE圖鑑〜。
其他的參數
以下是 other 參數能夠接受的數值:
{{qref|other=vol1000}}
為1000卷.{{qref|other=dive}}
為One Piece 15th Anniversary: Dive to Grand World special booklet.
例子
- 完整注脚
Shanks left Luffy his straw hat.{{qref|name=hat|chapter=1|episode=4|text=鲁夫的童年}}
- Shanks left Luffy his straw hat.[1]
- 只參考故事情節
Puzzle's crew believes that he will become the next Pirate King.{{qref|name=jiroutalk|episode=327|text=Jirou talks about Puzzle.}}
- Puzzle's crew believes that he will become the next Pirate King.[2]
- 只有章節的引用
Though not related by blood, Nojiko supports Nami like a real sister.{{qref|name=nojiko|chapter=70|text=Nojiko is introduced.}}
- Though not related by blood, Nojiko supports Nami like a real sister.[3]
- SBS 引用
Robin's height is 188 cm.{{qref|name=height|sbs=10|text=fan question: I wanna know the height of all 5.}}
- Robin's height is 188 cm.[4]
- 扉頁故事引用
Hatchan saves Keimi.{{qref|name=keimi|cover=208|text=Keimi is saved once again by Hatchan.}}
- Hatchan saves Keimi.[5]
- 引用兩個扉頁故事
Hatchan saves Keimi.{{qref|name=keimi2|cover=208|cover2=209|text=Keimi is saved once again by Hatchan.}}
- Hatchan saves Keimi.[6]
- 資料書引用
Some info in the red data book.{{qref|name=db|data=red|page=30|text=some text from the red data book.}}
- Some info in the red data book.[7]
- Color Walk 引用
Some info in the third color walk.{{qref|name=cw|cw=3|page=73|text=some text from the third color walk.}}
- Some info in the third color walk.[8]
- 劇場版引用
Some info in Movie 5.{{qref|name=mov|movie=5|text=Luffy does something.}}
- Some info in Movie 5.[9]
- Free 引用
Oda loves Dragonball.{{qref|name=dragonball|text=Link to some interview stating that Oda loves Dragonball.}}
- Oda loves Dragonball.[10]
你也可以匿名引用(if you do not intend to create multiple page references linked to the same source):
blablabla{{qref|chapter=177|episode=99|text=some text}}
- blablabla[11]
- 多個引用
When one wants to refer again to an already existing reference, the only necessary argument is the name :
Another reference to Luffy's hat{{qref|name=hat}}
- Another reference to Luffy's hat[1]
已知問題
- 在使用name參數時,會出現失敗訊息: Cite error: Invalid <ref> tag; name "hat" defined multiple times with different content。目前原因不明。
參考
- ↑ 1.0 1.1 ONE PIECE漫畫和動畫 — 1卷 1話和 4集,鲁夫的童年
- ↑ ONE PIECE動畫 — 327集,Jirou talks about Puzzle.
- ↑ ONE PIECE漫畫 — 8卷 70話,Nojiko is introduced.
- ↑ ONE PIECE漫畫SBS — 10卷SBS ,fan question: I wanna know the height of all 5.
- ↑ ONE PIECE漫畫 — 23卷 208話,刊頭連載:小八的海底散步 Vol.23,Keimi is saved once again by Hatchan.
- ↑ ONE PIECE漫畫 — 23卷 208 和209話,刊頭連載:小八的海底散步 Vol.23-24,Keimi is saved once again by Hatchan.
- ↑ ONE PIECE RED 絕讚的人物特寫 (p. 30) ,some text from the red data book.
- ↑ ONE PIECE畫集 3 Lion (p. 73) ,some text from the third color walk.
- ↑ 被詛咒的聖劍,Luffy does something.
- ↑ Link to some interview stating that Oda loves Dragonball.
- ↑ ONE PIECE漫畫和動畫 — 20卷 177話和 99集,some text