Template:Shop: Difference between revisions

From Dragon Quest Wiki
m (removed width)
(reworking template)
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
See [[Template:Shop/doc]] for documentation on this template.<br/>
See [[Template:Shop/doc]] for documentation on this template.<br/>
[[Category:Location templates|Shop]]
[[Category:Location templates|Shop]]
[[Category:Templates|Shop]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="0" cellspacing="0" class="locationTemplateTable"  
| header = {{{!}} class="collapsible collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; border-collapse: collapse;"
{{!}}-
| subtable =
{{!}} style="vertical-align:top;" {{!}}
{{{!}} cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; border-collapse: collapse;"
{{!}}-
{{!}}-
{{!}} class="locationTemplateHeader" colspan="4" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}  
{{!}} class="locationTemplateHeader" colspan="4" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}  
{{!}}-  
{{!}}-  
{{!}} style="border:1px solid black; text-align:center;" {{!}} ''Item''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Item'''
{{!}} style="border:1px solid black; text-align:center;" {{!}} ''Price''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Price'''
{{!}} style="border:1px solid black; text-align:center;" {{!}} ''Attributes''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Attributes'''
{{#switch: {{{2}}}  
{{#switch: {{{2}}}  
| includeClasses =
| includeClasses =
{{!}} style="border:1px solid black; text-align:center;" {{!}} ''Classes''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Vocations'''
}}
}}
{{!}}-
{{!}}-
| entry = {{!}}-  
| entry = {{!}}-  
{{!}} class="locationTemplateCell" {{!}} {{{item}}}  
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{item}}}  
{{!}} class="locationTemplateCell" {{!}} {{{price}}}
{{!}} class="locationTemplateCell" style="text-align:right;" {{!}} {{{price}}}
{{!}} class="locationTemplateCell" {{!}} {{{attributes}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{attributes}}}
{{#if: {{{classes|}}} |  
{{#if: {{{classes|}}} |  
{{!}} class="locationTemplateCell" {{!}} {{{classes}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{classes}}}
}}
}}
{{!}}-  
{{!}}-  
| subtablefooter =
{{!}}}
{{!}}
| footer = {{!}}} }}
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 22:28, 23 July 2010

See Template:Shop/doc for documentation on this template.