Template

Page: Difference between revisions

From Underfoot Expounder

No edit summary
No edit summary
Line 18: Line 18:
{{#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=}}}}
BEFORE EVENTS
{{#switchcategory:People|Organisations|Classes|Objects|Events|Sites|Publications|Countries=
{{#switchcategory:People|Organisations|Classes|Objects|Events|Sites|Publications|Countries=
{{#ifeq:{{#external_value:nevents}}|0||
{{#ifeq:{{#external_value:nevents}}|0||
THERE ARE EVENTS
<itimeline zoommin=100000000000 width="1000px">
<itimeline zoommin=100000000000 width="1000px">
{{#switchcategory:People|Publications={{#display_external_table:template=TimelineLineVerbose|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|Organisations={{#display_external_table:template=TimelineLineOrganisation|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}
{{#switchcategory:People|Publications={{#display_external_table:template=TimelineLineVerbose|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|Organisations={{#display_external_table:template=TimelineLineOrganisation|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}
Line 30: Line 28:
<tr style><th>Date</th><th>Description</th><th class="unsortable">Keywords</th></tr>
<tr style><th>Date</th><th>Description</th><th class="unsortable">Keywords</th></tr>
{{#display_external_table:template=TimelineTableLine|data=latitude=dlat,longitude=dlong,type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}
{{#display_external_table:template=TimelineTableLine|data=latitude=dlat,longitude=dlong,type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}
XXXX
</table>}}}}
</table>}}}}
AFTER EVENTS{{#external_value:latitude}}{{#switchcategory:Countries=FUCK ME| SOD ME}}
{{#switchcategory:Publications=|Areas|Sites|Weapons|Classes|Organisations|Countries=
ZZZZ
{{#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>}}{{#external_value:nlocs}}
{{#switchcategory:Publications=|Areas|Sites|Weapons|Classes|Organisations|Countries=MAP CATEGORY
{{#ifeq:{{#external_value:nlocs}}|0||{{#ifeq:{{#external_value:latitude}}||
{{#ifeq:{{#external_value:latitude}}||NO LAT|{{MapLinks|countries={{#external_value:countries}}|latitude={{#external_value:latitude}}|longitude={{#external_value:longitude}}|what3words={{#external_value:what3words}}|gridref={{#external_value:gridref}}}}<BR>}}AFTER MAP LINKS {{#external_value:nlocs}}
{{#ifeq:{{#external_value:nlocs}}|0|NOLOCS|SOME LOCS{{#ifeq:{{#external_value:latitude}}||
AAAA
{{#display_map:
{{#display_map:
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}}
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}}
| height=600px | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes| layers=OpenStreetMap,Esri.WorldImagery}}|
| height=600px | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes| layers=OpenStreetMap,Esri.WorldImagery}}|
BBBB
{{#display_map:
{{#display_map:
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}}
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}}
| 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}}}}
}}PPPP
}}
<div id="mapbox"></div>&nbsp;
<div id="mapbox"></div>&nbsp;
<table id="maptable" class="wikitable sortable">
<table id="maptable" class="wikitable sortable">
<tr style><th>Date</th><th>Description</th><th class="unsortable">Keywords</th></tr>
<tr style><th>Date</th><th>Description</th><th class="unsortable">Keywords</th></tr>
{{#display_external_table:template=MapTableLine|data=latitude=dlat,longitude=dlong,type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}
{{#display_external_table:template=MapTableLine|data=latitude=dlat,longitude=dlong,type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}}
</table>QQQQ}}AFTER MAP{{#switchcategory:Regions=
</table>QQQQ}}{{#switchcategory:Regions=
{{#ifeq:{{#external_value:nevents}}|0||
{{#ifeq:{{#external_value:nevents}}|0||
<itimeline zoommin=100000000000 width="1000px">
<itimeline zoommin=100000000000 width="1000px">
Line 56: Line 49:
</itimeline>}}}}
</itimeline>}}}}
}}
}}
END
</tab>
</tab>
<tab name="Searches">{{searches}}</tab>
<tab name="Searches">{{searches}}</tab>

Revision as of 11:40, 6 January 2024

Usage:

{{page|name|categories|description}}