Difference between revisions of "Template:Town queries"

From Culture.si
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{if2|<h2>Venues</h2>|
+
<div class="tabs">
 +
{{if2|1=
 +
<div class="venues tab active">
 +
<h2>Venues</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Venues]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Venues]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 10: Line 14:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Museums</h2>|
+
{{if2|1=
 +
<div class="museums tab">
 +
<h2>Museums</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Museums]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Museums]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 22: Line 30:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Monuments and sites</h2>|
+
{{if2|1=
 +
<div class="monuments tab">
 +
<h2>Monuments and sites</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Monuments and sites]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Monuments and sites]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 34: Line 46:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Libraries</h2>|
+
{{if2|1=
 +
<div class="libraries tab">
 +
<h2>Libraries</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Libraries]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Libraries]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 46: Line 62:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Festivals</h2>|
+
{{if2|1=
 +
<div class="festivals tab">
 +
<h2>Festivals</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Festivals]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Festivals]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 58: Line 78:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Producers</h2>|
+
{{if2|1=
 +
<div class="producers tab">
 +
<h2>Producers</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Producers]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Producers]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 70: Line 94:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
  
{{if2|<h2>Media</h2>|
+
{{if2|1=
 +
<div class="media tab">
 +
<h2>Media</h2><div class="tab-content">
 +
|2=
 
{{#ask: [[Category:Media]] [[Town::{{PAGENAME}}]]
 
{{#ask: [[Category:Media]] [[Town::{{PAGENAME}}]]
 
|?Street
 
|?Street
Line 82: Line 110:
 
|template=Address book item
 
|template=Address book item
 
}}
 
}}
 +
|3=</div></div>
 
}}
 
}}
 
+
</div>
 
[[Category:Towns]]
 
[[Category:Towns]]
 
</includeonly>
 
</includeonly>

Revision as of 00:21, 22 November 2012