Difference between revisions of "Template:JaiTest"
From Masq
(moved Template:JaiTest to Template:LogList) |
|||
| Line 1: | Line 1: | ||
| − | # | + | {{#ifexist:{{PAGENAME}}/Places|{{#vardefine:hasPlacesPage|true}}{{#vardefine:hasPlaces|true}}|}} |
| + | {{#ifexist:{{PAGENAME}}/Views|{{#vardefine:hasViewsPage|true}}{{#vardefine:hasViews|true}}|}} | ||
| + | {{#if:{{{place_name1}}}|{{#vardefine:hasPlaces|true}}|}} | ||
| + | {{#if:{{{view_name1}}}|{{#vardefine:hasViews|true}}|}} | ||
| + | {{#if:{{{people_name1}}}|{{#vardefine:hasPeople|true}}|}} | ||
| + | {| id="layoutTable" | ||
| + | |- | ||
| + | | class="MainPageBG" width=100% | | ||
| + | {| width="100%" cellpadding="2" cellspacing="5" | ||
| + | |- | ||
| + | ! colspan=2 | Description | ||
| + | ! width=150px | Gallery | ||
| + | |- | ||
| + | | colspan=2 style="padding: 1em;"| {{:{{PAGENAME}}/Description}} | ||
| + | | rowspan=6 | | ||
| + | <gallery perrow=1 widths="150px" heights="150px"> | ||
| + | {{#forargs: image | ||
| + | | key | ||
| + | | value | ||
| + | | <nowiki/> | ||
| + | Image:{{#var: value}} | ||
| + | }} | ||
| + | </gallery> | ||
| + | |- | ||
| + | ! Associated People | ||
| + | ! width=200px| Logs | ||
| + | |- | ||
| + | | style="padding: 1em;"| | ||
| + | None | ||
| + | | style="padding: 1em;" width=250px| {{rplogs|ic}} | ||
| + | {{#if:{{#var:hasPlaces}}| {{#!: | ||
| + | |- | ||
| + | ! colspan=2 | Places | ||
| + | |- | ||
| + | | style="padding: 1em;" colspan=2 | | ||
| + | {{#if:{{#var:hasPlacesPage}}|{{:{{PAGENAME}}/Places}}|{{#forargs: place_ | key | value |{{#switch: {{#sub:{{#var:key}}|0|4}} | name = {{#vardefine:theName|{{#var:value}} }}| desc = {{#vardefine:theDesc|{{#var:value}} }} '''{{#var:theName}}:'''<br />{{#var:theDesc}}\n\n}} }} }} | ||
| + | }} | }} | ||
| + | |||
| + | |} | ||
| + | <includeonly>[[Category: Grid]][[Category: Venues]]</includeonly> | ||
Revision as of 10:04, 17 February 2013
|
||||||||||||||||