模板:Quotes

出自Don't Starve Wiki
跳至導覽 跳至搜尋
Wilson Portrait.png
"Wilson's English quote."
Wilson 的台詞

威爾森,於某時某刻

Willow Portrait.png
"Willow's English quote."
Willow 的台詞

薇洛,於某時某刻

Wolfgang Portrait.png
"Wolfgang's English quote."
Wolfgang 的台詞

沃爾夫岡,於某時某刻

Wendy Portrait.png
"Wendy's English quote."
Wendy 的台詞

溫蒂,於某時某刻

WX-78 Portrait.png
"WX-78's English quote."
WX-78的台詞

WX-78,於某時某刻

Wickerbottom Portrait.png
"Wickerbottom's English quote."
Wickerbottom 的台詞

薇克伯頓,於某時某刻

Woodie Portrait.png
"Woodie's English quote."
Woodie 的台詞

伍迪,於某時某刻

Waxwell Portrait.png
"Maxwell's English quote."
Maxwell 的台詞

麥斯威爾,於某時某刻

Wagstaff Portrait.png
"Wagstaff's English quote."
Wagstaff 的台詞

瓦格斯塔夫,於某時某刻

Wigfrid Portrait.png
"Wigfrid's English quote."
Wigfrid 的台詞

薇格弗德,於某時某刻

Webber Portrait.png
"Webber's English quote."
Webber 的台詞

韋伯,於某時某刻

Walani Portrait.png
"Walani's English quote."
Walani 的台詞

瓦拉尼,於某時某刻

Warly Portrait.png
"Warly's English quote."
Warly 的台詞

沃利,於某時某刻

Woodlegs portrait.png
"Woodlegs's English quote."
Woodlegs 的台詞

伍德萊格,於某時某刻

Wilba Portrait.png
"Wilba's English quote."
Wilba 的台詞

薇爾芭,於某時某刻

Wormwood Portrait.png
"wormwood's English quote."
Wormwood 的台詞

沃姆伍德,於某時某刻

Wheeler Portrait.png
"wheeler's English quote."
Wheeler 的台詞

薇勒爾,於某時某刻

Winona Portrait.png
"Winona's English quote."
Winona 的台詞

薇諾娜,於某時某刻

Wortox Portrait.png
"Wortox's English quote."
Wortox 的台詞

沃拓克斯,於某時某刻

Wurt Portrait.png
"wurt's English quote."
wurt 的台詞

沃特,於某時某刻

Walter Portrait.png
"walter's English quote."
walter 的台詞

沃爾特,於某時某刻

Wanda Portrait.png
"wanda's English quote."
wanda 的台詞

旺達,於某時某刻

Template documentation [檢視] [編輯] [歷史] [刷新]

不建議直接調用此模板

模板:PoQuotes已經對此模板做了封裝,直接使用即可。

如果你不知道如何獲得 msgctxt (遊戲quote相關原始碼),參見指南/生成Quote


正文

如果你想加入威爾伯的 Quote, 去把英文wiki的Banana Quotes抄過來。

使用說明: 每個角色都有一個唯一的「Quote」,順序無關緊要(模板會自動排序)。

如果某個角色數據缺失,會留下一個空白。但對於Don't Starve Together icon.png內容,由於一群人物缺失,會出現很多空白。因此模板會檢查參數"walani"(是否存在單機角色Walani Portrait.png瓦拉尼),沒有的話會自動填上單機獨有的空缺。


參數 "choose" 用來選擇默認角色(其他的需要鼠標划過才能顯示)。沒選的話默認選擇Wilson Portrait.png威爾遜,選擇一個不存在的人物(比如拼寫錯誤)可能炸掉模板,記得使用預覽檢查。

可選參數 "source" 表示「引用條件」,比如:「source=檢查過於黑暗的東西時」。

Wilson Portrait.png
"It's too dark to see!"
太黑了,什麼也看不見!

威爾森,檢查過於黑暗的東西時

Willow Portrait.png
"I need more light!"
我需要更多的光!

薇洛,檢查過於黑暗的東西時

Wolfgang Portrait.png
"Help friends! Save Wolfgang from dark!"
朋友們,幫我!把沃爾夫岡從黑暗中拉出來!

沃爾夫岡,檢查過於黑暗的東西時

Wendy Portrait.png
"The darkness! It is too dark!"
黑暗!太黑了!

溫蒂,檢查過於黑暗的東西時

WX-78 Portrait.png
"INSUFFICIENT ILLUMINATION"
照明不足

WX-78,檢查過於黑暗的東西時

Wickerbottom Portrait.png
"I can't see in the dark."
黑暗裏我什麼都看不見。

薇克伯頓,檢查過於黑暗的東西時

Woodie Portrait.png
"It's too dark, eh!"
額,太暗了!

伍迪,檢查過於黑暗的東西時

Waxwell Portrait.png
"I can't see in the dark!"
我在黑暗中什麼都看不見!

麥斯威爾,檢查過於黑暗的東西時

Wigfrid Portrait.png
"Töö dark, even för battle."
即使對戰鬥來說也太黑了。

薇格弗德,檢查過於黑暗的東西時

Webber Portrait.png
"All our eyes stopped working!"
我們的所有眼睛都停止了工作!

韋伯,檢查過於黑暗的東西時

Warly Portrait.png
"I cannot see a thing!"
我什麼都看不見了!

沃利,檢查過於黑暗的東西時

Wormwood Portrait.png
"Where is light?"
光明在哪裏?

沃姆伍德,檢查過於黑暗的東西時

Winona Portrait.png
"Low visibility causes workplace accidents!"
視線不佳容易導致工廠事故!

薇諾娜,檢查過於黑暗的東西時

Wortox Portrait.png
"I can't see the physical plane!"
我看不到這個物質的世界了!

沃拓克斯,檢查過於黑暗的東西時

Wurt Portrait.png
"It really, really dark."
好黑,好黑。

沃特,檢查過於黑暗的東西時

Walter Portrait.png
"I sure wish I had a flashlight."
我真希望有一個手電筒。

沃爾特,檢查過於黑暗的東西時

Wanda Portrait.png
"I-I need a light, quickly!"
我——我需要一盞燈,快!

旺達,檢查過於黑暗的東西時


由於文本量過大,建議每個參數都換行,否則原始碼將過於瞎眼,而且比較歷史差距的功能也會炸掉。

壞代碼示範:

{{Quotes|maxwell=This must be game logic.|wagstaff=Strange, the gold makes it more durable, not less.|walani=I picked a good one.|warly=That looks nice.|wigfrid=Göld for göld.|webber=The finest pickaxe of them all.|wendy=At least I can smash rocks with style.|wheeler=I used a precious metal to make a rock smasher!|wickerbottom=The most malleable of metals, but let's see how this mines.|wilba='TIS PICKAXE O' SHINY|willow=It won't light rocks on fire, but at least it's shiny.|wilson=Hey, isn't gold really soft?|winona=A shiny way to smash up rocks.|wolfgang=Fancy pickaxe do better smash.|woodie=It's pretty, but can't chop down trees.|woodlegs=Thet pick is made o' mighty soft metal.|wormwood=Pretty pokey|wortox=The mortals say you have to spend gold to make gold.|wurt=It stronger than normal rock cracker.|wx78=GOLD IS MORE DURABLE?|choose=maxwell|source=when examining an [[Opulent Pickaxe]].}}

好代碼示範:

{{Quotes
|maxwell=This must be game logic.
|wagstaff=Strange, the gold makes it more durable, not less.
|walani=I picked a good one.
|warly=That looks nice.
|wigfrid=Göld for göld.
|webber=The finest pickaxe of them all.
|wendy=At least I can smash rocks with style.
|wheeler=I used a precious metal to make a rock smasher!
|wickerbottom=The most malleable of metals, but let's see how this mines.
|wilba='TIS PICKAXE O' SHINY
|willow=It won't light rocks on fire, but at least it's shiny.
|wilson=Hey, isn't gold really soft?
|winona=A shiny way to smash up rocks.
|wolfgang=Fancy pickaxe do better smash.
|woodie=It's pretty, but can't chop down trees.
|woodlegs=Thet pick is made o' mighty soft metal.
|wormwood=Pretty pokey
|wortox=The mortals say you have to spend gold to make gold.
|wurt=It stronger than normal rock cracker.
|wx78=GOLD IS MORE DURABLE?
|choose=maxwell
|source=when examining an [[Opulent Pickaxe]].
}}


結果就像這樣:

Wilson Portrait.png
Hey, isn't gold really soft?

威爾森,when examining an Opulent Pickaxe.

Willow Portrait.png
It won't light rocks on fire, but at least it's shiny.

薇洛,when examining an Opulent Pickaxe.

Wolfgang Portrait.png
Fancy pickaxe do better smash.

沃爾夫岡,when examining an Opulent Pickaxe.

Wendy Portrait.png
At least I can smash rocks with style.

溫蒂,when examining an Opulent Pickaxe.

WX-78 Portrait.png
GOLD IS MORE DURABLE?

WX-78,when examining an Opulent Pickaxe.

Wickerbottom Portrait.png
The most malleable of metals, but let's see how this mines.

薇克伯頓,when examining an Opulent Pickaxe.

Woodie Portrait.png
It's pretty, but can't chop down trees.

伍迪,when examining an Opulent Pickaxe.

Waxwell Portrait.png
This must be game logic.

麥斯威爾,when examining an Opulent Pickaxe.

Wagstaff Portrait.png
Strange, the gold makes it more durable, not less.

瓦格斯塔夫,when examining an Opulent Pickaxe.

Wigfrid Portrait.png
Göld for göld.

薇格弗德,when examining an Opulent Pickaxe.

Webber Portrait.png
The finest pickaxe of them all.

韋伯,when examining an Opulent Pickaxe.

Walani Portrait.png
I picked a good one.

瓦拉尼,when examining an Opulent Pickaxe.

Warly Portrait.png
That looks nice.

沃利,when examining an Opulent Pickaxe.

Woodlegs portrait.png
Thet pick is made o' mighty soft metal.

伍德萊格,when examining an Opulent Pickaxe.

Wilba Portrait.png
「'TIS PICKAXE O' SHINY

薇爾芭,when examining an Opulent Pickaxe.

Wormwood Portrait.png
Pretty pokey

沃姆伍德,when examining an Opulent Pickaxe.

Wheeler Portrait.png
I used a precious metal to make a rock smasher!

薇勒爾,when examining an Opulent Pickaxe.

Winona Portrait.png
A shiny way to smash up rocks.

薇諾娜,when examining an Opulent Pickaxe.

Wortox Portrait.png
The mortals say you have to spend gold to make gold.

沃拓克斯,when examining an Opulent Pickaxe.

Wurt Portrait.png
It stronger than normal rock cracker.

沃特,when examining an Opulent Pickaxe.


不過上文是在編輯英文 wiki 時使用的範例,你肯定想在 Quote 里加入中文文本。

將英文原文的參數後加「_en」即可。

如:

{{Quotes
......
|wendy = 對抗夜晚的小小壁壘。
......
|wendy_en = A tiny bulwark against the night.
......
|choose = wendy
|source = 查看[[火把]]時
}}


Wilson Portrait.png
"Something to hold back the night."
可以抑制夜晚的東西。

威爾森,查看火把

Willow Portrait.png
"Fire is so pretty."
火焰真漂亮。

薇洛,查看火把

Wolfgang Portrait.png
"I attack night with fire stick."
我用火棍打擊夜晚。

沃爾夫岡,查看火把

Wendy Portrait.png
"A tiny bulwark against the night."
對抗夜晚的小小壁壘。

溫蒂,查看火把

WX-78 Portrait.png
"PRIMITIVE LIGHT SOURCE"
最早期的光源

WX-78,查看火把

Wickerbottom Portrait.png
"An improvised handheld light."
一個即時的手持光。

薇克伯頓,查看火把

Woodie Portrait.png
"Trees by torchlight."
樹做成的火光。

伍迪,查看火把

Waxwell Portrait.png
"It keeps Charlie at bay."
它讓查理無法接近。

麥斯威爾,查看火把

Wagstaff Portrait.png
"Portable combustion. Direly needed in this environment."
便捷的燃燒道具。在這種環境中這是非常重要的。

瓦格斯塔夫,查看火把

Wigfrid Portrait.png
"Perfect för a nighttime assault."
超適合用來夜間突襲。

薇格弗德,查看火把

Webber Portrait.png
"This should keep us safe."
這應該能讓我們安全。

韋伯,查看火把

Walani Portrait.png
"Take that, night!"
接招吧,黑夜!

瓦拉尼,查看火把

Warly Portrait.png
"Not great for caramelizing creme brulee, but it will do for seeing."
不適合做焦糖烤布蕾,但可以用來照明。

沃利,查看火把

Woodlegs portrait.png
"Now I can spot treasure in th'dark!"
現在俺可以在夜晚尋寶了!

伍德萊格,查看火把

Wilba Portrait.png
"'TIS FWOOSH STICK"
一根火棍。

薇爾芭,查看火把

Wormwood Portrait.png
"Fire Stick"
帶火的木棍。

沃姆伍德,查看火把

Wheeler Portrait.png
"Nothing more useful than a stick on fire."
沒有什麼比着火的木棍更有用了。

薇勒爾,查看火把

Winona Portrait.png
"There's beauty in a simple design."
這就是簡潔設計的美感。

薇諾娜,查看火把

Wortox Portrait.png
"I won't go astray if this lights my way."
如果這能照亮前方,我就不會偏離正途。

沃拓克斯,查看火把

Wurt Portrait.png
"Fire stick."
帶火的木棍。

沃特,查看火把

Walter Portrait.png
"Is this what they use in England instead of flashlights?"
這就是英國人用來代替手電筒的東西嗎?

沃爾特,查看火把


很明顯,沒有人願意一個一個的切換人物然後檢查某個物品,因此建議你根據指南/生成Quote來快速的生成一個模板。