Page: Difference between revisions
From WhereToday Expounder
No edit summary |
en-gb>John No edit summary |
||
Line 23: | Line 23: | ||
{{#ifeq:{{#external_value:latitude}}|| | {{#ifeq:{{#external_value:latitude}}|| | ||
{{#display_map: | {{#display_map: | ||
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype | {{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}} | ||
| height="600" | width="600" | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes}} | | height="600" | width="600" | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes}} | ||
{{#display_map: | {{#display_map: | ||
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype | {{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}} | ||
| height="600" | width="600" | scrollwheelzoom=yes | cluster=yes | service=google | type=hybrid | fullscreen=yes}}| | | height="600" | width="600" | scrollwheelzoom=yes | cluster=yes | service=google | type=hybrid | fullscreen=yes}}| | ||
{{#display_map: | {{#display_map: | ||
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype | {{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtype,link=dlink}} | ||
| height="600" | width="600" | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes | centre={{#external_value:latitude}},{{#external_value:longitude}}}} | | height="600" | width="600" | scrollwheelzoom=yes | cluster=no | clustermaxzoom=20 | clustermaxradius=1 | service=leaflet | fullscreen=yes | centre={{#external_value:latitude}},{{#external_value:longitude}}}} | ||
{{#display_map: | {{#display_map: | ||
{{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type= | {{#display_external_table:template=MapLine|data=latitude=dlat,longitude=dlong,start=dstart,description=ddescription,keywords=dkeywords,thumb=dthumb,type=dtypelink=dlink}} | ||
| height="600" | width="600" | scrollwheelzoom=yes | cluster=yes | service=google | type=hybrid | fullscreen=yes | centre={{#external_value:latitude}},{{#external_value:longitude}}}}}}}} | | height="600" | width="600" | scrollwheelzoom=yes | cluster=yes | service=google | type=hybrid | fullscreen=yes | centre={{#external_value:latitude}},{{#external_value:longitude}}}}}}}} | ||
{{#ifeq:{{#external_value:dtype}}||| | {{#ifeq:{{#external_value:dtype}}||| | ||
<table id="shorttable" class="wikitable sortable"> | <table id="shorttable" class="wikitable sortable"> | ||
<tr style><th>Date</th><th> | <tr style><th>Date</th><th>Description</th><th class="unsortable">Keywords</th><th>Notes</th></tr> | ||
{{#display_external_table:template=ShortTableLine|data=type=dtype,start=dstart,description=ddescription,keywords=dkeywords | <tr style><th colspan=4 class="unsortable"><span style="text-align: left"><div id="shorttablebox"></div></span></th></tr> | ||
{{#display_external_table:template=ShortTableLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes|delimiter=}} | |||
</table>}} | </table>}} | ||
{{#ifeq:{{#external_value:ndates}}|0|| | |||
<div id="timelinebox"></div> | <div id="timelinebox"></div> | ||
<itimeline zoommin=100000000000 width="1000px"> | <itimeline zoommin=100000000000 width="1000px"> | ||
{{#switchcategory:Regions|Countries={{#display_external_table:template= | {{#switchcategory:Regions|Countries|People|Conseries={{#display_external_table:template=TimelineLineVerbose|data=start=dstart,description=ddescription,title=dtitle,type=dtype}}| | ||
</itimeline>}} | Events={{#display_external_table:template=TimelineLineEvent|data=start=dstart,description=ddescription,title=dtitle,type=dtype}}|{{#display_external_table:template=TimelineLine|data=start=dstart,description=ddescription,title=dtitle,type=dtype}}}} | ||
</itimeline>}} | |||
</tab> | </tab> | ||
<tab name="Searches">{{searches}}</tab> | <tab name="Searches">{{searches}}</tab> | ||
Line 56: | Line 58: | ||
{{#ifeq:{{#external_value:nimages}}|0|| | {{#ifeq:{{#external_value:nimages}}|0|| | ||
<tab name="Images"><div id="image1box"></div> | <tab name="Images"><div id="image1box"></div> | ||
{{#display_external_table:template=ImageLine|data=link=dlink,thumb=dthumb,type=dtype | {{#display_external_table:template=ImageLine|data=link=dlink,thumb=dthumb,type=dtype,title=dtitle,keywords=dkeywords,source=dsource,start=dstart,end=dend|delimiter=}} | ||
</tab>}} | </tab>}} | ||
{{#ifeq:{{#external_value:ndocs}}|0|| | {{#ifeq:{{#external_value:ndocs}}|0|| | ||
<tab name="Documents"><div id="documentbox"></div> | <tab name="Documents"><div id="documentbox"></div> | ||
{{#display_external_table:template=DocumentLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,source=dsource,start=dstart,end=dend,keywords=dkeywords|delimiter=}}</tab> | {{#display_external_table:template=DocumentLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,source=dsource,start=dstart,end=dend,keywords=dkeywords,title=dtitle|delimiter=}}</tab> | ||
}} | }} | ||
{{#ifeq:{{#external_value:dtype}}||| | {{#ifeq:{{#external_value:dtype}}||| | ||
<tab name="Table"> | <tab name="Table"> | ||
<table id="longtable" class="wikitable sortable"> | <table id="longtable" class="wikitable sortable"> | ||
<tr style><th>Date</th><th>Description</th><th>Keywords</th><th>Notes</th><th>Source</th></tr> | |||
{{#display_external_table:template=LongTableLine|data=type=dtype,start=dstart,description=ddescription,keywords=dkeywords | <tr style><th colspan=5 class="unsortable"><span style="text-align: left"><div id="longtablebox"></div></span></th></tr> | ||
{{#display_external_table:template=LongTableLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,source=dsource,notes=dnotes,size=dsize|delimiter=}} | |||
</table></tab>}} | </table></tab>}} | ||
</tabs> | </tabs> |
Revision as of 06:41, 25 June 2023
Usage:
{{page|name|categories|description|big}}