Difference between revisions of "Template:GetReview"

From blackwiki
Jump to navigation Jump to search
imported>Evolution and evolvability
(rm formatting from within template itself)
imported>Evolution and evolvability
(Q28651505 as example, allow use of para 1)
Line 2: Line 2:
 
|[{{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={{{1|{{{Q|Q28651505}}}}}} |P7347 |fetchwikidata=ALL |onlysourced=no |noicon=true |postfix=", "}}
   {{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P4032 |qual=P7347|qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}}
+
   {{#invoke:WikidataIB |getValue |qid={{{1|{{{Q|Q28651505}}}}}} |P4032 |qual=P7347|qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}}
   {{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P4032 |qual=2699 |qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}}
+
   {{#invoke:WikidataIB |getValue |qid={{{1|{{{Q|Q28651505}}}}}} |P4032 |qual=2699 |qualsonly=1|fetchwikidata=ALL |onlysourced=no |noicon=true}}
 
|sep=", " |idx=1}}
 
|sep=", " |idx=1}}
 
{{{R|}}}
 
{{{R|}}}
 
}} here]|[no url available]|}}
 
}} here]|[no url available]|}}
 
<noinclude>{{doc}}</noinclude>
 
<noinclude>{{doc}}</noinclude>

Revision as of 13:00, 14 August 2020

[ here]

50px Template documentation[view] [edit] [history] [purge]

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