Difference between revisions of "Template:GetReview"
Jump to navigation
Jump to search
imported>Evolution and evolvability (replace empty) |
imported>Evolution and evolvability (Undid revision 943143824 by Evolution and evolvability (talk)) |
||
| Line 1: | Line 1: | ||
{{#if:{{{R|}}}{{{Q|}}} | {{#if:{{{R|}}}{{{Q|}}} | ||
|{{#invoke:String|replace | |{{#invoke:String|replace | ||
| − | |(''[{{trim| | + | |(''[{{trim| |
{{#invoke:String2 |split | {{#invoke:String2 |split | ||
|{{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P7347 |fetchwikidata=ALL |onlysourced=no |noicon=true |postfix=", "}} | |{{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P7347 |fetchwikidata=ALL |onlysourced=no |noicon=true |postfix=", "}} | ||
| Line 7: | Line 7: | ||
{{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P4032 |qual=2699 |qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}} | {{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P4032 |qual=2699 |qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}} | ||
|sep=", " |idx=1}} | |sep=", " |idx=1}} | ||
| − | |([ here])|}} | + | |([ here]) |
| + | | | ||
| + | }} | ||
{{{R|}}} | {{{R|}}} | ||
}} here]'') | }} here]'') | ||
}}<noinclude>{{doc}}</noinclude> | }}<noinclude>{{doc}}</noinclude> | ||
Revision as of 03:21, 29 February 2020
Usage
Retrieve the peer review for an item.
|Q= is to provide a QID, from which is extracted either the Template:Property, or the P7347 qualifier of the first Template:Property.
|R= is the manual link override.
Examples
- {{GetReview|Q=Q28651505}} → ([
here])
- {{GetReview|Q=Q76846397}} → ([
here])
- {{GetReview|R=www.example.com}} → ([
here])
See also
{{GetEtAl}}{{GetLicense}}{{GetSubmission}}
| The above documentation is transcluded from Template:GetReview/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. |