This article was updated by an external expert under a dual publication model. The corresponding peer-reviewed article was published in the journal Gene. Click to view.

Difference between revisions of "Template:Academic-written review/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andrybak
m (sync with live version)
blackwiki>Andrybak
(use Module:Category handler; clean up)
Line 13: Line 13:
 
| type  = notice
 
| type  = notice
 
| style = margin: 0 10%; border: 1px solid #aaa; border-left: 10px solid #1e90ff; background: #fbfbfb;
 
| style = margin: 0 10%; border: 1px solid #aaa; border-left: 10px solid #1e90ff; background: #fbfbfb;
| image = [[Image:Journal Icon.svg|48px|Journal|link={{trim|{{#if:{{{doi|}}}|https://doi.org/{{{doi}}}|{{#if:{{{pmid|}}}|https://www.ncbi.nlm.nih.gov/pubmed/{{{pmid}}}|{{{link|{{{url|http://www.example.com}}}}}}}}}}}}]]
+
| image = [[File:Journal Icon.svg|48px|Journal|link={{trim|{{#if:{{{doi|}}}|https://doi.org/{{{doi}}}|{{#if:{{{pmid|}}}|https://www.ncbi.nlm.nih.gov/pubmed/{{{pmid}}}|{{{link|{{{url|http://www.example.com}}}}}}}}}}}}]]
 
| text  = The {{#time:Y|{{{wikidate|{{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P577 |fetchwikidata=ALL |onlysourced=no |noicon=true }}}}}}} version of this article was updated by an external expert under a dual publication model. The corresponding [[Scholarly_peer_review|academic peer reviewed]] article was published in '''''{{delink|{{trim|{{{1|{{{journal|{{#property:P1433|from={{{Q|{{{QID|}}}}}}}}}}}}}}}}}} ''''' and can be cited as:<br />{{#if:{{{Q|{{{QID|}}}}}}
 
| text  = The {{#time:Y|{{{wikidate|{{#invoke:WikidataIB |getValue |qid={{{Q|}}} |P577 |fetchwikidata=ALL |onlysourced=no |noicon=true }}}}}}} version of this article was updated by an external expert under a dual publication model. The corresponding [[Scholarly_peer_review|academic peer reviewed]] article was published in '''''{{delink|{{trim|{{{1|{{{journal|{{#property:P1433|from={{{Q|{{{QID|}}}}}}}}}}}}}}}}}} ''''' and can be cited as:<br />{{#if:{{{Q|{{{QID|}}}}}}
 
|{{cite Q|ref=none|{{{Q|{{{QID|}}}}}} }}
 
|{{cite Q|ref=none|{{{Q|{{{QID|}}}}}} }}
Line 47: Line 47:
 
  |pmc={{{pmc|}}}
 
  |pmc={{{pmc|}}}
 
  |pmid={{{pmid|}}}
 
  |pmid={{{pmid|}}}
}}}}}}<noinclude>{{documentation}}</noinclude>
+
}}}}}}<includeonly>{{Category handler
<includeonly>
+
|main=[[Category:Wikipedia articles with corresponding academic peer reviewed articles]]
{{#if:{{{nocat|}}}||
 
[[Category:Wikipedia articles with corresponding academic peer reviewed articles]]
 
 
[[Category:Wikipedia articles with corresponding articles published in {{delink|{{trim|{{{1|{{{journal|{{#property:P1433|from={{{Q|{{{QID|}}}}}}}}}}}}}}}}}}]]
 
[[Category:Wikipedia articles with corresponding articles published in {{delink|{{trim|{{{1|{{{journal|{{#property:P1433|from={{{Q|{{{QID|}}}}}}}}}}}}}}}}}}]]
}}
+
|nocat={{{nocat|}}}
</includeonly>
+
}}</includeonly><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 22:32, 24 May 2020

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

Usage

This template is based off the Academic Peer Reviewed template and is meant for Wikipedia articles updated as part of a dual publication model used by journals to incentivize scholarly contributions to Wikipedia. Academics and other experts are invited to contribute a peer-reviewed review article to the journal, and must create a corresponding Wikipedia version of that review article. Although the content should be similar, the peer-reviewed article and the corresponding Wikipedia article are textually different in order to ensure accessibility of the Wikipedia version to the community at large.

{{Academic-written review
| wikidate = date (year) of update by review article author
| journal  = name of journal (can include wikilink)
| title    = 
| authors  = 
| date     = publication date of corresponding review
| volume   = 
| issue    =  
| pages    = 
| pmid     = pmid number
| doi      = identifier only
| pmc      = pmc id without the leading 'PMC'
| url      = url to open access page if available
}}

Example with QID

{{Academic-written review|Q = Q38916407}}
Produces

Example without QID

{{Academic-written review
| wikidate = 2016
| journal  = [[Gene (journal)|Gene]]
| title    = {{#property:P1476|from=Q38916407}}
| authors  = {{#property:P2093|from=Q38916407}}
| date     = {{#property:P577|from=Q38916407}}
| volume   = {{#property:P478|from=Q38916407}}
| issue    = {{#property:P433|from=Q38916407}}
| pages    = {{#property:P304|from=Q38916407}}
| doi      = {{#property:P356|from=Q38916407}}
| pmid     = {{#property:P698|from=Q38916407}}
| pmc      = {{#property:P932|from=Q38916407}}
}}
Produces

Caveats

Note that this template transcludes the Cite Journal Template, and inherits one of the weaknesses/issues of said template. The author list must be formatted in a certain way or it will give errors when using the {{{vauthors}}} parameter. If you use this template and populate it with info pulled from Wikidata, it will not format the author list in a way compatible with {{{vauthors}}}. Rather than have each use of the template raise an error, this template uses the {{{authors}}} instead. Unfortunately, the use of this parameter is discouraged because it does not contribute to a citation's metadata, and users consuming cs1|2 citations via the metadata will find that the citation is missing authors.

Categories for pages using these templates

See also

  • {{Academic peer reviewed}} - a similar template for articles, where content has been published in a peer reviewed journal
  • {{External peer review}} - a similar template for articles reviewed externally but not full academic peer review