「Template:NPC」修訂間的差異

出自Stardew Valley Wiki
跳至導覽 跳至搜尋
 
(未顯示由 2 位使用者於中間所作的 3 次修訂)
行 1: 行 1:
<includeonly><p>[[File:{{#switch: {{{1}}}
+
<includeonly>{{#ifeq:{{{placement|}}}|inline||<p>}}[[File:{{#switch: {{{1}}}
 
|亚历克斯 = Alex
 
|亚历克斯 = Alex
 
|艾利欧特 = Elliott
 
|艾利欧特 = Elliott
行 45: 行 45:
 
|沙漠商人 = Desert Trader
 
|沙漠商人 = Desert Trader
 
|女巫 = Witch
 
|女巫 = Witch
|{{{1}}}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1}}}
+
|{{{1}}}}}_Icon.png|{{#if:{{{size|}}}|{{{size|}}}|32}}px|link=]] [[{{#if: {{{link|}}}|{{{link}}}|{{#switch: {{{1|}}}
 
|Alex = 亚历克斯
 
|Alex = 亚历克斯
 
|Elliott = 艾利欧特
 
|Elliott = 艾利欧特
行 91: 行 91:
 
|Desert Trader = 沙漠商人
 
|Desert Trader = 沙漠商人
 
|Witch = 随机事件#女巫{{!}}女巫
 
|Witch = 随机事件#女巫{{!}}女巫
|{{{1}}}}}}}]]{{#if: {{{2|}}}|({{{2|}}})|}}</p></includeonly><noinclude>{{englishdoc}}</noinclude>
+
|#default = {{{1}}} }}}}]]{{#if: {{{2|}}}|({{{2|}}})|}}{{#ifeq:{{{placement|}}}|inline||</p>}}</includeonly><noinclude>{{Englishdoc}}</noinclude>

於 2022年12月31日 (六) 23:15 的最新修訂

有關此模板的詳細信息,請參閱英語語言文檔頁

用法

可以通過在相關頁面上輸入以下內容來使用此模板。

{{NPC}}

結果是...

[[File:{{{1}}}_Icon.png|32px|link=]] [[{{{1}}}]]