差分

Set min-width for description and recipe
2行目: 2行目:  
|-
 
|-
 
|[[File:{{{image|}}}|center]]
 
|[[File:{{{image|}}}|center]]
|style="min-width: 5em;" {{#if:{{{dsvname|}}} | data-sort-value="{{{dsvname|}}}" }}|{{#if:{{{name|}}} | [[{{{name|}}}]] | [[{{PAGENAME}}]] }}
+
|style="min-width: 5em;" {{#if:{{{dsvname|}}} | data-sort-value="{{{dsvname|}}}" }}|{{#if:{{{name|}}} | [[{{{name|}}}]] | }}
|{{{description|}}}
+
|style="min-width: 8em;"|{{#if:{{{description|}}} | {{{description|}}} | {{Description|{{{name|}}}}} }}
 
|{{{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;"{{!}}なし}}
|{{{recipe|}}}
+
|style="min-width: 5em;"|{{{recipe|}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
 
|data-sort-value="{{padleft:{{{sellprice|}}}|4}}"{{!}}{{Price|{{{sellprice|}}}}}
 
|-</includeonly><noinclude>{{englishdoc}}[[カテゴリ:トランスクルージョンテンプレート]]</noinclude>
 
|-</includeonly><noinclude>{{englishdoc}}[[カテゴリ:トランスクルージョンテンプレート]]</noinclude>
411

回編集