Template:Tabular views

From Imperial Minerals Wiki


<templatedata> { "params": { "index": { "label": "Index", "description": "Creates an ABC index for values of the property specified as a filter. To show all records, pass the special value 'all'.", "example": "D", "type": "string", "suggested": true }, "filter": { "label": "Filter By", "description": "Name of the property to filter by. If omitted, will work with the Title.", "example": "Colony", "type": "string", "suggested": true }, "value": { "label": "Value", "description": "Property value to filter by. To show records with all non-empty values for the filter, pass the special value 'all'.", "example": "Victoria", "type": "string", "suggested": true } }, "description": "Creates tabular output and filters by semantic property." } </templatedata>

Examples

ABC index by work title
{{Tabular views
|index=all
}}
Works' title starts with "T" + ABC index
{{Tabular views
|index=T
}}
ABC index by publisher
{{Tabular views
|filter=Publisher
|index=all
}}
Authors' name starts with "O" + ABC index
{{Tabular views
|filter=Has author
|index=O
}}
Works tagged with any of Genre + Genre index
{{Tabular views
|filter=Genre
|value=all
}}
All Elegies + Genre index
{{Tabular views
|filter=Genre
|value=Elegy
}}