Template

Page: Difference between revisions

From WhereToday

No edit summary
No edit summary
Line 11: Line 11:
{{#ifeq:{{#external_value:images}}|||{{#arraymap:{{#external_value:images}}|,|QQQ|{{#ifeq:QQQ|null||{{image|{{#rreplace:QQQ|&#44;|,}}|500}}}}}}<br>}}{{#ifeq:{{#external_value:video}}|||[[{{#external_value:video}}|500px|{{#external_value:video}}]]<br>}}|, [[{{BASEPAGENAME}}]], [[{{SUBPAGENAME}}]], {{#ifeq:{{#external_value:sublabel}}|||[[{{#external_value:sublabel}}]]}}}}
{{#ifeq:{{#external_value:images}}|||{{#arraymap:{{#external_value:images}}|,|QQQ|{{#ifeq:QQQ|null||{{image|{{#rreplace:QQQ|&#44;|,}}|500}}}}}}<br>}}{{#ifeq:{{#external_value:video}}|||[[{{#external_value:video}}|500px|{{#external_value:video}}]]<br>}}|, [[{{BASEPAGENAME}}]], [[{{SUBPAGENAME}}]], {{#ifeq:{{#external_value:sublabel}}|||[[{{#external_value:sublabel}}]]}}}}
{{List}}
{{List}}
{{#ifeq:{{#external_value:nlinks}}|0||
{{#ifeq:{{#external_value:nlinks}}|0||
{{#display_external_table:template=ArticleLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}}}
{{#display_external_table:template=ArticleLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}}}
{{#switch:{{#external_value:category}}|Publications|Areas|Sites|Subpages|Classes|Organisations=
{{#switch:{{#external_value:category}}|Publications|Areas|Sites|Subpages|Classes|Organisations=
{{#ifeq:{{#external_value:latitude}}|||{{MapLinks|countries={{#external_value:countries}}|latitude={{#external_value:latitude}}|longitude={{#external_value:longitude}}|what3words={{#external_value:what3words}}|gridref={{#external_value:gridref}}}}<BR>}}
{{#ifeq:{{#external_value:latitude}}|||{{MapLinks|countries={{#external_value:countries}}|latitude={{#external_value:latitude}}|longitude={{#external_value:longitude}}|what3words={{#external_value:what3words}}|gridref={{#external_value:gridref}}}}<BR>}}
Line 25: Line 23:
| height=600px | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes | layers=OpenStreetMap,Esri.WorldImagery | centre={{#external_value:latitude}},{{#external_value:longitude}}}}}}
| height=600px | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes | layers=OpenStreetMap,Esri.WorldImagery | centre={{#external_value:latitude}},{{#external_value:longitude}}}}}}
}}}}
}}}}
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{#external_value:category}}|Publications|Organisations|Objects|Subpages|Classes|Areas=<div><ul>
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{#external_value:category}}|Publications|Organisations|Objects|Subpages|Classes|Areas=<div><ul>
{{#display_external_table:template=ObjectLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,start=dstart,end=dend|delimiter=}}
{{#display_external_table:template=ObjectLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,start=dstart,end=dend|delimiter=}}

Revision as of 09:33, 6 February 2024

{{Page|name|categories|description}}