Template:Shop: Difference between revisions

100 bytes added ,  04:32, 22 February 2020
no edit summary
mNo edit summary
No edit summary
 
(45 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:Shop/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Location templates|Shop]]
[[Category:Location templates|{{PAGENAME}}]]
[[Category:Templates|Shop]]
[[Category:List templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} class="collapsible collapsed locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; border-collapse: collapse;"
| header = {{{!}} class="locationTemplateTable" cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%;"
! class="locationTemplateHeader" colspan="4" ! {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}  
! class="locationTemplateHeader" colspan={{#switch: {{{2}}} | includeClasses= "4" | #default= "3" }} {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}
{{!}}-  
{{!}}-  
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Item'''
{{!}} class="locationTemplateSubheader" {{!}} '''Item'''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Price'''
{{!}} class="locationTemplateSubheader" {{!}} '''Price'''
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Attributes'''
{{!}} class="locationTemplateSubheader" {{!}} '''Attributes'''
{{#switch: {{{2}}}  
{{#switch: {{{2}}}  
| includeClasses =
| includeClasses =
{{!}} style="border:1px solid black; text-align:center;" {{!}} '''Vocations'''
{{!}} class="locationTemplateSubheader" {{!}} '''Vocations'''
}}
}}
{{!}}-
{{!}}-
Line 21: Line 21:
{{!}} class="locationTemplateCell" style="text-align:right;" {{!}} {{{price}}}
{{!}} class="locationTemplateCell" style="text-align:right;" {{!}} {{{price}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{attributes}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{attributes}}}
{{#if: {{{classes|}}} |  
{{#if: {{{classes|}}} |
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{classes}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{classes}}}
}}
}}
{{!}}-  
{{!}}-
| note = {{!}}-
{{!}} colspan={{#switch: {{{2}}} | includeClasses= "4" | #default= "3" }} class="locationTemplateCell" style="text-align:left;" {{!}} '''Note:'''&nbsp;{{{text}}}
{{!}}-
| footer = {{!}}} }}
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>
manager
32,038

edits