Difference between revisions of "Template:Shop"
From Fallen Sword Wiki
(add borders to ease debugging) |
|||
Line 2: | Line 2: | ||
<center> {{{banner|}}} </center><br> | <center> {{{banner|}}} </center><br> | ||
{| width="100%" cellspacing="10" border="1" | {| width="100%" cellspacing="10" border="1" | ||
− | | | + | {{#if: {{{item-name-1|}}}|{{!}}|}} |
− | {{ShopItem | + | {{#if: {{{item-name-1|}}}|{{ShopItem|name={{{item-name-1|}}}|image={{{item-image-1|}}}|price={{{item-price-1|?}}} }}|}} |
− | |name={{{item-name-1|}}} | + | |
− | |image={{{item-image-1|}}} | + | |
− | |price={{{item-price-1|}}} | + | |
− | }} | + | |
{{#if: {{{item-name-2|}}}|{{!}}|}} | {{#if: {{{item-name-2|}}}|{{!}}|}} | ||
− | |||
{{#if: {{{item-name-2|}}}|{{ShopItem|name={{{item-name-2|}}}|image={{{item-image-2|}}}|price={{{item-price-2|?}}} }}|}} | {{#if: {{{item-name-2|}}}|{{ShopItem|name={{{item-name-2|}}}|image={{{item-image-2|}}}|price={{{item-price-2|?}}} }}|}} | ||
− | |||
|} | |} | ||
=== Location === | === Location === |
Revision as of 15:40, 22 June 2009
This is the template for shops