Difference between revisions of "Template:GetEtAl"
Jump to navigation
Jump to search
imported>Evolution and evolvability (←Created page with '{{#expr: {{#invoke:String|count |source={{#invoke:WikidataIB |getValue |qid={{{Q|Q28651505}} |P50 |linked=0 |fetchwikidata=ALL |onlysourced=no |noicon=true}} |...') |
imported>Evolution and evolvability m (ce) |
||
| Line 1: | Line 1: | ||
{{#expr: | {{#expr: | ||
{{#invoke:String|count | {{#invoke:String|count | ||
| − | |source={{#invoke:WikidataIB |getValue |qid={{{Q|Q28651505}} |P50 |linked=0 |fetchwikidata=ALL |onlysourced=no |noicon=true}} | + | |source={{#invoke:WikidataIB |getValue |qid={{{Q|Q28651505}}} |P50 |linked=0 |fetchwikidata=ALL |onlysourced=no |noicon=true}} |
|pattern=, | |pattern=, | ||
}} + 1 | }} + 1 | ||
}}<noinclude>{{doc}}</noinclude> | }}<noinclude>{{doc}}</noinclude> | ||
Revision as of 11:03, 24 February 2020
1
Usage
For a Wikidata Q item, if property Template:Property, or the P144 qualifier of a Template:Property is "Wikipedia", the return the number of authors. Useful for WP:W2J publications.
Example
{{GetEtAl|Q=Q76846397}} → 1
{{GetEtAl|Q=Q28651505}} → 1
See also
{{Cite Q EtAl}}{{GetReview}}{{GetLicense}}
| The above documentation is transcluded from Template:GetEtAl/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |