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> | ||
{{{{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}}}) }} | ||
{{!}}- | {{!}}- | ||
! scope="col" class="locationTemplateSubheader" {{!}} Item | |||
! 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> | ||