「テンプレート:RecipeRow」の版間の差分
ナビゲーションに移動
検索に移動
Margotbean (トーク | 投稿記録) (no-wrap column) |
Margotbean (トーク | 投稿記録) (min-width description column) |
||
3行目: | 3行目: | ||
|[[File:{{{image|}}}|center]] | |[[File:{{{image|}}}|center]] | ||
|{{#if:{{{name|}}} | [[{{{name|}}}]] | [[{{PAGENAME}}]] }} | |{{#if:{{{name|}}} | [[{{{name|}}}]] | [[{{PAGENAME}}]] }} | ||
− | |{{{description|}}} | + | |style="min-width: 100px;"|{{{description|}}} |
|{{{ingredients|}}} | |{{{ingredients|}}} | ||
{{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}" class="no-wrap"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}}<br />[[File:Health.png|24px|link=]] {{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}}| {{!}}style="text-align: center;"{{!}}なし}} | {{#if:{{{edibility|}}} | {{!}}data-sort-value="{{padleft:{{{edibility|}}}|4}}" class="no-wrap"{{!}}[[File:Energy.png|24px|link=]] {{#expr:ceil({{{edibility|}}}*2.5)}}<br />[[File:Health.png|24px|link=]] {{#expr:trunc(ceil({{{edibility|}}}*2.5)*0.45)}}| {{!}}style="text-align: center;"{{!}}なし}} |
2018年10月22日 (月) 01:03時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{RecipeRow}}
結果は...
|- |[[File:|center]] |RecipeRow |style="min-width: 100px;"| | |style="text-align: center;"|なし |style="text-align: center;"|なし |style="text-align: center;"|なし | |data-sort-value="0000"|g |-