「テンプレート:Infobox weapon」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「<includeonly><div id="infoboxborder"> {| id="infoboxtable" |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} |- |colspan=2|{{#if:{{{image}}}|File:{{{image|}}}|cente...」) |
Margotbean (トーク | 投稿記録) |
||
3行目: | 3行目: | ||
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
− | |colspan=2|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}} | + | |colspan="2" style="padding-bottom: 15px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center|link=]]|}} |
+ | |- | ||
+ | |colspan="2" id="infoboxsection" style="text-align: center;"|Information | ||
|- | |- | ||
|id="infoboxsection"|Name: | |id="infoboxsection"|Name: | ||
19行目: | 21行目: | ||
|id="infoboxsection"|Damage: | |id="infoboxsection"|Damage: | ||
|id="infoboxdetail"|{{#if:{{{damage|}}}|{{{damage|N/A}}}|N/A}} | |id="infoboxdetail"|{{#if:{{{damage|}}}|{{{damage|N/A}}}|N/A}} | ||
+ | {{#if:{{{stats|}}}|<nowiki/> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Stats: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}} | ||
+ | |- | ||
+ | |colspan="2" id="infoboxsection" style="text-align: center;"|Adventurer's Guild | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"|Purchase Price: |
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{gprice|0}}}>0}}|{{#if:{{{gprice|}}}|{{{gprice|Not | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{gprice|0}}}>0}}|{{#if:{{{gprice|}}}|{{{gprice|Not Sold}}}|Not Sold}}|{{#if:{{{gprice|}}}|{{price|{{{gprice|}}} }}|N/A }} }} |
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"|Sell Price: |
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|Not Sold}}}|Not Sold}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|N/A }} }} |
|- | |- | ||
− | |||
|} | |} | ||
</div>{{#if:{{{debug mode|}}}||[[Category:Weapons]]}}{{InfoboxSEO}}{{#seo: | </div>{{#if:{{{debug mode|}}}||[[Category:Weapons]]}}{{InfoboxSEO}}{{#seo: | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</includeonly><noinclude>{{englishdoc}}</noinclude> | }}</includeonly><noinclude>{{englishdoc}}</noinclude> |
2017年5月6日 (土) 07:47時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox weapon}}
結果は...
Infobox weapon | |
[[File:|center|link=]] | |
Information | |
Name: | N/A |
Description: | N/A |
Level: | N/A |
Source: | N/A |
Damage: | N/A |
Adventurer's Guild | |
Purchase Price: | N/A |
Sell Price: | N/A |
Error: {{#seo:}} must contain at least one non-empty attribute.