On Wed, Jun 3, 2015 at 1:12 PM Andy Mabbett andy@pigsonthewing.org.uk wrote:
On 3 June 2015 at 11:20, Magnus Manske magnusmanske@googlemail.com wrote:
- Use a template for each row.
You can see an example of the latter (albeit not drawn from Wikidata) on, for example,
https://en.wikipedia.org/wiki/List_of_public_art_in_the_City_of_Westminster
{{public art row}} is ... very topic-specific. Listeria allows for all
kinds
of lists. Species? Award winners? Artwork in a museum? Philosophical concepts?
If the template takes a Wikidata value and calls the relevant properties from Wikidata, then all Listeria would need to know would be the name of the template and - as now - the criteria for inclusion.
Ah, you mean there should be a row template for each type of list (otherwise, how to specify "relevant"?)!
I could add an option to use a specific row template instead.
One-row-template-fits-all would have to be very generic, to the point
where
the difference between table row and template parameters would be
negligible
IMO.
I wouldn't recommend that.
That {{sort}} thing looks interesting though.
Date formatting/ sorting templates would also be useful.
-- Andy Mabbett @pigsonthewing http://pigsonthewing.org.uk
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata