Formula:Wl
Documentatio formulae
Rationale
recensereThis template (Wl = WiliLink) is mainly devoted to manage links for scriptors, using Wikidata. Its syntax is very simple:
- {{Wl|wikidata id|text for link}}
It manages dynamically three cases:
- if scriptor has a la.wikisource Scriptor page, the link points to its page;
- if it has a la.wikipedia page, the link points to its la.wikipedia page;
- if conditions 1 and 2 are false, the link points to its wikidata item.
Examples
recensere- {{Wl|Q35802|Spinosa}} Condition 1 is true, it generates a link to a la.wikisource page: Spinosa
- {{Wl|Q43216|EPICURUS}} Condition 1 is false, condition 2 is true, it generates a link to a la.wikipedia page: EPICURUS
- {{Wl|Q3724654|Emma Perodi}} Both conditions 1 and 2 are false, it generates a link to wikidata: Emma Perodi