Difference between revisions of "VenueNavbox"
From Sega Retro
(Created page with "<includeonly>{{#cargo_query: tables=venuebranding |fields=pagename,venuename,branding,date |where=branding="{{{branding|}}}" |order by=venuename |format=template |template=Ven...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#cargo_query: | + | <includeonly>{{#vardefine:removetext|{{{removetext|}}}}}{{#cargo_query: |
tables=venuebranding | tables=venuebranding | ||
|fields=pagename,venuename,branding,date | |fields=pagename,venuename,branding,date | ||
Line 11: | Line 11: | ||
{{NavboxStart|{{{1}}}}} | {{NavboxStart|{{{1}}}}} | ||
{{NavboxHeader|content={{{title|}}}}} | {{NavboxHeader|content={{{title|}}}}} | ||
− | {{NavboxHeader|content=Open}} | + | {{#if:{{#var:openlist}}|{{NavboxHeader|content=Open}} |
− | {{NavboxRow|content={{#var:openlist}}}} | + | {{NavboxRow|content={{#sub:{{#var:openlist}}|1}}}} |
− | {{NavboxHeader|content=Closed}} | + | {{NavboxHeader|content=Closed}}}} |
− | {{NavboxRow|content={{#var:closedlist}}}} | + | {{NavboxRow|content={{#sub:{{#var:closedlist}}|1}}}} |
− | {{NavboxEnd}}</includeonly><noinclude>[[Category: | + | {{NavboxEnd}}{{clearvar|openlist|closedlist|removetext}}</includeonly><noinclude>[[Category:Templates]] |
− | |||
{{VenueNavbox|branding=Hi-Tech Land Sega}} | {{VenueNavbox|branding=Hi-Tech Land Sega}} | ||
</noinclude> | </noinclude> |