Template

Page: Difference between revisions

From Warlike

No edit summary
en-gb>John
No edit summary
Line 23: Line 23:
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{{2}}}|Objects|Sites=|{{#ifexpr:{{#external_value:nitems}}>500|More than 500 items, see table|<div><ul>{{#display_external_table:template=ItemLine|data=link=dlink,image=dimage,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,notes=dnotes,start=dstart,end=dend|delimiter=}}</ul></div>}}}}}}</tab>
{{#ifeq:{{#external_value:nitems}}|0||{{#switch:{{{2}}}|Objects|Sites=|{{#ifexpr:{{#external_value:nitems}}>500|More than 500 items, see table|<div><ul>{{#display_external_table:template=ItemLine|data=link=dlink,image=dimage,type=dtype,description=ddescription,title=dtitle,keywords=dkeywords,source=dsource,notes=dnotes,start=dstart,end=dend|delimiter=}}</ul></div>}}}}}}</tab>
{{#switch:{{{2}}}|Subpages=|<tab name="Related">{{List|{{{2}}}}}</tab>}}
{{#switch:{{{2}}}|Subpages=|<tab name="Related">{{List|{{{2}}}}}</tab>}}
<tab name="Searches">{{Searches|countries={{#external_value:countries}}|latitude={{#external_value:latitude}}|longitude={{#external_value:longitude}}|what3words={{#external_value:what3words}}|gridref={{#external_value:gridref}}|name={{#external_value:name}}}}</tab>
{{#ifeq:{{#external_value:ndates}}|0||{{#ifexpr:{{#external_value:ndates}}>500||
{{#ifeq:{{#external_value:ndates}}|0||{{#ifexpr:{{#external_value:ndates}}>500||
{{#ifeq:{{#sub:{{#external_value:start}}|1|1}}|-||
{{#ifeq:{{#sub:{{#external_value:start}}|1|1}}|-||
Line 45: Line 44:
{{#display_external_table:template=TableLine|data=type=dtype,subtype=dsubtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,image=dimage,source=dsource,notes=dnotes|delimiter=}}
{{#display_external_table:template=TableLine|data=type=dtype,subtype=dsubtype,start=dstart,description=ddescription,title=dtitle,keywords=dkeywords,link=dlink,image=dimage,source=dsource,notes=dnotes|delimiter=}}
</table></tab>}}}}
</table></tab>}}}}
{{Search|countries={{#external_value:countries}}|latitude={{#external_value:latitude}}|longitude={{#external_value:longitude}}|what3words={{#external_value:what3words}}|gridref={{#external_value:gridref}}|name={{#external_value:name}}}}
</tabs>}}</span></includeonly>
</tabs>}}</span></includeonly>

Revision as of 06:59, 4 March 2025

{{Page|name|category|description|aliases}}