Template:Tree

From Wikidata
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]


Template allowing to output trees from Wikidata content. Based on Module:Tree.

Usage

{{Tree|property=|items=|recursion=|language=}}

Parameters

Parameter name Description Default value required or optional?
property The numeric identifier of the property to base the tree on ie the XX part in PXX. empty required
items The base item(s) identifiers use to start the tree. List of QXX identifiers separated by spaces. empty required
recursion Maximum height of the tree 10 optional
language Language code in which the labels will be found en optional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{Tree|property=40|items=Q1154861}}