Template:LocationItem: Difference between revisions

mNo edit summary
added collapsing behavior
Line 5: Line 5:
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}  
{{ #switch: {{{1}}}  
| header = {{{!}} cellpadding="5" cellspacing="0" class="locationTemplateTable"
| header = {{{!}} cellpadding="5" cellspacing="0" class="locationTemplateTable collapsible {{#if: {{{collapsed|}}} | collapsed }}"
! class="locationTemplateHeader" colspan="2" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}
! class="locationTemplateHeader" colspan="2" {{!}} {{{title}}} {{#if: {{{subtitle|}}} | ({{{subtitle}}}) }}
{{!}}-
{{!}}-