Template:Semantic display template: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
{{Semantic display template|source=Place/person}} | {{Semantic display template|source=Place/person}} | ||
</pre> | </pre> | ||
{{ | {{mbox | ||
| text=This is a '''semantic display template''', it takes no properties of its own.{{#if:Place/person| The annotations it uses are made in [[Template:Place/person]].|}} | |||
| color_bar=#FFB511 | |||
| class=class-ambox | |||
| icon=box-archive | |||
}} | |||
== TemplateData == | == TemplateData == |
Revision as of 03:26, 18 December 2024
This template displays a message box on templates which take no parameters and are exclusively used to display the results of a semantic query (usually on the parent page with {{PAGENAME}}
.
Usage
An optional source
field can be used to link to the template that is making the semantic annotations that this template references.
{{Semantic display template|source=Place/person}}
TemplateData
Used on templates which exclusively display the results of semantic queries.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Annotation source | source | Name of the template that is making the semantic annotations (do not include the "Template:" namespace). | String | optional |