Template:WeaponShop/Item: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
created part 2 of 3 of template
 
m added possibility to display different than name
Line 1: Line 1:
<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{#if:{{{name|}}}| [[File:ICON-{{{name}}}.png]] '''[[{{{name}}}]]'''|?}}</td><td style="background-color: #d8f9d4; padding-left: 4px;  border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{#if:{{{price|}}}|{{{price}}}|?}}</td><td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{attributes|}}}|{{{attributes}}}|?}}</td></tr>
<includeonly><tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{#if:{{{name|}}}| [[File:ICON-{{{name}}}.png]] {{#if:{{{display|}}}|{{{display}}}|'''[[{{{name}}}]]'''}}</td><td style="background-color: #d8f9d4; padding-left: 4px;  border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{#if:{{{price|}}}|{{{price}}}|?}}</td><td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{attributes|}}}|{{{attributes}}}|?}}</td></tr></includeonly>

Revision as of 19:11, 3 May 2017