Template:Location: Difference between revisions

From TwogPedia
No edit summary
No edit summary
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#seo:
<templatestyles src="LocationsArticle.css" />
<noinclude>
{{#cargo_attach:
_table = Logos
}}
</noinclude>
<includeonly>
<div class="locations__grid">
<div class="container-locations-twogpedia">
 
<div class="infobox-container-locations-twogpedia">
 
{{#seo:
|title={{#if: {{{seo_title|}}} | {{{seo_title|}}} {{!}} TwogPedia}}
|title={{#if: {{{seo_title|}}} | {{{seo_title|}}} {{!}} TwogPedia}}
|description={{#if: {{{seo_description|}}} | {{{seo_description|}}} }}
|description={{#if: {{{seo_description|}}} | {{{seo_description|}}} }}
|keywords={{#if: {{{seo_keywords|}}} | {{{seo_keywords|}}} }}
|keywords={{#if: {{{seo_keywords|}}} | {{{seo_keywords|}}} }}
}}{{DISPLAYTITLE: {{{seo_title|}}} }}{{#if: {{{stub|}}} | {{Stub|type=Location|comment={{{stub}}} }} }}
}}{{DISPLAYTITLE: {{{seo_title|}}} }}{{#if: {{{stub|}}} | {{Stub|type=Location|comment={{{stub}}} }} }}
{{#if: {{{logoAll|}}} | {{#cargo_store:Logos|logoAll={{{logoAll|}}}| logoLight={{{logoLight|}}} | logoDark={{{logoDark|}}} }} |
  {{#if: {{{logoLight|}}} | {{#cargo_store:Logos|logoAll={{{logoAll|}}}| logoLight={{{logoLight|}}} | logoDark={{{logoDark|}}} }} |
    {{#if: {{{logoDark|}}} | {{#cargo_store:Logos|logoAll={{{logoAll|}}}| logoLight={{{logoLight|}}} | logoDark={{{logoDark|}}} }} |
}} }} }}
{{Infobox location
{{Infobox location
|title={{{title|{{{seo_title|}}}}}}
|title={{{title|{{{seo_title|}}}}}}
|logos={{#if: {{{logos|}}} | {{{logos|}}} }}
|logoAll={{{logoAll|}}}
|logoAll={{{logoAll|}}}
|logoLight={{{logoLight|}}}
|logoLight={{{logoLight|}}}
Line 21: Line 38:
|sponsors={{{sponsors|}}}
|sponsors={{{sponsors|}}}
|locationsponsors={{{locationsponsors|}}}
|locationsponsors={{{locationsponsors|}}}
|nosponsors={{#ifeq: {{{nosponsors|}}} | Yes | Yes }}
|nosponsors={{{nosponsors|}}}
|website={{{website|}}}
|website={{{website|}}}
|twitter={{{twitter|}}}
|twitter={{{twitter|}}}
Line 32: Line 49:
|twitch={{{twitch|}}}
|twitch={{{twitch|}}}
|links={{{links|}}}
|links={{{links|}}}
}}{{#if: {{{description|}}} | {{{description|}}} }}
}}
</div>
 
<div class="content-container-locations-twogpedia">
{{#if: {{{description|}}} | {{{description|}}} | {{{title|{{{seo_title|}}}}}} is a {{{type|}}} located in {{#if: {{{city|}}} | {{{city|}}}, }} {{{country|}}} }}
</div>
 
 
<div class="tables-container-location">
<div class="table-item-location">
{{#ifeq: {{{showOpening|}}} | Yes
{{#ifeq: {{{showOpening|}}} | Yes
|==Opening Times==
|==Opening Times==
Line 48: Line 74:
}}
}}
}}
}}
</div>
<div class="table-item-location">
{{#ifeq:{{{showPricing|}}} | Yes|==Pricing==
{{#ifeq:{{{showPricing|}}} | Yes|==Pricing==
{{Table|columns={{{pricing columns|}}}|rows={{{pricing rows|}}} }}  
{{Table|columns={{{pricing columns|}}}|rows={{{pricing rows|}}} }}  
}}
}}{{{pricing custom|}}}
</div>
<div class="table-item-location">
{{#ifeq:{{{showEquipment|}}} | Yes|==Equipment==
{{#ifeq:{{{showEquipment|}}} | Yes|==Equipment==
{{Table|columns={{{equipment columns|}}}|rows={{{equipment rows|}}} }}  
{{Table|columns={{{equipment columns|}}}|rows={{{equipment rows|}}} }}  
}}
}}
</div>
</div>
{{#if: {{{content|}}} | {{{content|}}} }}
{{#if: {{{content|}}} | {{{content|}}} }}
{{PageNews}}
{{PageEvents}}
{{#ifeq: {{{showGallery|}}} | Yes|== Gallery ==  
{{#ifeq: {{{showGallery|}}} | Yes|== Gallery ==  
{{Gallery
{{Gallery
Line 65: Line 99:
}}
}}
}}
}}
{{PageNews}}
</div>
{{PageEvents}}
<div class="container-related-news-twogpedia">
[[Category:Locations]]{{#if: {{{country|}}} | [[Category:{{{country}}} Locations]] }}{{#if: {{{city|}}} | [[Category:{{{city}}} Locations]] }}{{#if: {{{state|}}} | [[Category:{{{state}}} Locations]] }}{{#arraymap: {{{categories|}}}|,|x|[[Category:x Locations]]|\s }}
{{PersonRelatedNews}}
</div>
</div>
[[Category:Locations]]
</includeonly>
</includeonly>

Latest revision as of 02:45, 26 April 2025

This template adds rows to the table "Logos", which is declared by the template Logos. View table.