Template

Page: Difference between revisions

From Warlike Expounder

No edit summary
No edit summary
Line 17: Line 17:
{{#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}}]], [[{{#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}}]], [[{{#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=}}}}
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{#external_value:category}}|Publications|Organisations|Objects|Subpages|Classes=<div><ul>
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{#external_value:category}}|Publications|Organisations|Objects|Subpages|Classes=<div><ul>
{{#display_external_table:template=ObjectGalleryLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,start=dstart,end=dend|delimiter=}}
{{#display_external_table:template=ObjectGalleryLine|data=link=dlink,thumb=dthumb,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,start=dstart,end=dend|delimiter=}}
</ul></div>}}}}
</ul></div>}}}}
</tab>
{{#switch:{{#external_value:category}}|People|Organisations|Classes|Subpages|Objects|Events|Sites|Publications|Countries=
{{#switch:{{#external_value:category}}|People|Organisations|Classes|Subpages|Objects|Events|Sites|Publications|Countries=
{{#ifeq:{{#external_value:nevents}}|0||
{{#ifeq:{{#external_value:nevents}}|0||
Line 28: Line 32:
{{#switch:{{#external_value:category}}|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}}|Areas={{#display_external_table:template=TimelineLineArea|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|Sites|Objects|Classes|Events|Subpages={{#display_external_table:template=TimelineLine|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|}}
{{#switch:{{#external_value:category}}|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}}|Areas={{#display_external_table:template=TimelineLineArea|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|Sites|Objects|Classes|Events|Subpages={{#display_external_table:template=TimelineLine|data=start=dstart,description=ddescription,title=dtitle,type=dtype,keywords=dkeywords}}|}}
</itimeline>
</itimeline>
<table id="timelinetable" class="wikitable sortable">
<!--<table id="timelinetable" 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>
{{#switch:{{#external_value:category}}|Areas=
{{#switch:{{#external_value:category}}|Areas=
{{#display_external_table:template=TimelineTableLineArea|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=TimelineTableLineArea|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=}}}}</table></tab>}}}}
{{#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=}}}}</table>--></tab>}}}}
 
{{#switch:{{#external_value:category}}|Publications|Areas|Sites|Subpages|Classes|Organisations=
{{#switch:{{#external_value:category}}|Publications|Areas|Sites|Subpages|Classes|Organisations=
<tab name="Map">
{{#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>}}
{{#ifeq:{{#external_value:nlocs}}|0||{{#ifeq:{{#external_value:latitude}}||
{{#ifeq:{{#external_value:nlocs}}|0||{{#ifeq:{{#external_value:latitude}}||
<tab name="Map">
{{#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}}
Line 46: Line 51:
<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>--></tab>}}}}
</table>-->}}</tab>}}
 
<!--{{#switch:{{#external_value:category}}|Areas=
<!--{{#switch:{{#external_value:category}}|Areas=
{{#ifeq:{{#external_value:nevents}}|0||
{{#ifeq:{{#external_value:nevents}}|0||
Line 56: Line 62:
<tr style><th colspan=4 class="unsortable"><span style="text-align: left"></span></th></tr>
<tr style><th colspan=4 class="unsortable"><span style="text-align: left"></span></th></tr>
{{#display_external_table:template=ShortTableLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,notes=dnotes|delimiter=}}-->
{{#display_external_table:template=ShortTableLine|data=type=dtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,notes=dnotes|delimiter=}}-->
</tab>
 
<tab name="Searches">{{searches}}</tab>
<tab name="Searches">{{searches}}</tab>
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{#ifeq:{{#external_value:wikipedia}}|||
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|{{#ifeq:{{#external_value:wikipedia}}|||

Revision as of 10:36, 21 January 2024

Usage:

{{page|name|categories|description}}