Template:Artefact list
Template page
More actions
Lists artefacts in a table, for country pages and concept pages. The query sits at the top level of this template, the pattern Template:RecordRelated explains: an #ask nested inside #if fails.
Parameters, all optional and combinable:
country: a country page name, e.g.{{Artefact list|country={{PAGENAME}}}}on a country page.object_type: a value of Property:Has object type, e.g.Water pipeon a page about water pipes.use: a value of Property:Has artefact use.limit(default 100) anddefault(the text shown when nothing matches).
The query does not sort on a property, because a sort on a property drops every row that lacks it and many artefacts have no date of making. Readers can sort the table by any column.