Template:LocationItem: Difference between revisions

Modified layout
m remove doubled border
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[Template:LocationItem/doc]] for documentation on this template.<br/>
{{{{PAGENAME}}/doc}}
[[Category:Location templates|LocationItem]]
[[Category:Location templates|LocationItem]]
[[Category:List templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="5" cellspacing="0" class="locationTemplateTable"
| header = {{{!}} cellpadding="5" cellspacing="0" class="locationTemplateTable mw-collapsible {{#if: {{{collapsed|}}} | mw-collapsed }}"
! class="locationTemplateHeader" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}
{{!}}+ class="locationTemplateHeader" style="padding: 5px; border-bottom: none; font-weight: bold;" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}
{{!}}-
{{!}}-
{{!}} style="border: 1px solid black; text-align:left;" {{!}} Item
! scope="col" class="locationTemplateSubheader" {{!}} Item
{{!}} style="border: 1px solid black; text-align:left;" {{!}} Location  
! scope="col" class="locationTemplateSubheader" {{!}} Location  
{{!}}-  
{{!}}-  
| entry = {{!}}-  
| entry = {{!}}-  
{{!}} class="locationTemplateCell" {{!}} {{{item}}}
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{item}}}
{{!}} class="locationTemplateCell" {{!}} {{{location}}}  
{{!}} class="locationTemplateCell" style="text-align:left;" {{!}} {{{location}}}  
{{!}}-  
{{!}}-  
| footer = {{!}}} }}
| footer = {{!}}} }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>