「テンプレート:Infobox」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(Change priority between 'name' and 'eng.')
(Assume that 'image' contains the extension in order to maintain consistency with other templates and English one.)
17行目: 17行目:
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan=2 style="padding-bottom:5px;"|<center>{{#if:{{{image|}}}|[[File:{{{image|}}}.png]]|{{#if:{{{eng|}}}|[[File:{{{eng|}}}.png]]|}}}}{{#if:{{{image2|}}}|[[File:{{{image2|}}}.png]]|}}{{#if:{{{image3|}}}|[[File:{{{image3|}}}.png]]|}}{{#if:{{{image4|}}}|[[File:{{{image4|}}}.png]]|}}</center>
+
|colspan="2" style="padding-bottom:5px; text-align: center;"|{{#if:{{{image|}}}|[[File:{{{image|}}}]]|{{#if:{{{eng|}}}|[[File:{{{eng|}}}.png]]|}}}}{{#if:{{{image2|}}}|[[File:{{{image2|}}}]]|}}{{#if:{{{image3|}}}|[[File:{{{image3|}}}]]|}}{{#if:{{{image4|}}}|[[File:{{{image4|}}}]]|}}
 
|-
 
|-
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;"|{{{description|}}}
 
|colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;"|{{{description|}}}

2018年2月14日 (水) 16:56時点における版

Robin building.png
「私にはやることがいっぱいあるの」
- ロビン

工事中

この記事またはセクションは工事中です。拡張や大規模な改革の最中である可能性があります。
FlameArcheによって最後に編集されました 2018-02-14 16:56:58.


日本の特定のパラメータ

このテンプレートで'eng'パラメータを使用すると英語画像が参照されます。(ほぼ必須)

{{Infobox|eng=英語画像名}}

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{Infobox}}

結果は...

Infobox
情報
売価: N/A
Error: {{#seo:}} must contain at least one non-empty attribute.