Difference between revisions of "Template:JaiTest"
From Masq
m |
m |
||
| Line 4: | Line 4: | ||
{{#if:{{{view_name1|}}}|{{#vardefine:hasViews|true}}|}} | {{#if:{{{view_name1|}}}|{{#vardefine:hasViews|true}}|}} | ||
{{#if:{{{people_name1|}}}|{{#vardefine:hasPeople|true}}|}} | {{#if:{{{people_name1|}}}|{{#vardefine:hasPeople|true}}|}} | ||
| − | |||
{| id="layoutTable" width=100% | {| id="layoutTable" width=100% | ||
|- | |- | ||
| Line 38: | Line 37: | ||
{{#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}}<br /><br />}} }} }} | {{#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}}<br /><br />}} }} }} | ||
}} | }} | }} | }} | ||
| − | + | {{#if:{{#var:hasViews}}| {{#!: | |
| + | |- | ||
| + | ! colspan=2 | Views | ||
| + | |- | ||
| + | | style="padding: 1em;" colspan=2 | | ||
| + | {{#if:{{#var:hasViewsPage}}|{{:{{PAGENAME}}/Views}}|{{#forargs: view_ | key | value |{{#switch: {{#sub:{{#var:key}}|0|4}} | name = {{#vardefine:theName|{{#var:value}} }}| desc = {{#vardefine:theDesc|{{#var:value}} }} '''{{#var:theName}}:'''<br />{{#var:theDesc}}<br /><br />}} }} }} | ||
| + | }} | }} | ||
|} | |} | ||
<includeonly>[[Category: Grid]][[Category: Venues]]</includeonly> | <includeonly>[[Category: Grid]][[Category: Venues]]</includeonly> | ||
Revision as of 11:50, 17 February 2013
|
|||||||||||||