Content deleted Content added
+Peer review |
→Peer review note: add doc |
||
Line 567:
=== Peer review note ===
{|class="wikitable mw-collapsible mw-collapsed" align="right" width="40%"
!Syntax
|-
|<syntaxhighlight lang="wikitext">
|peer review={{{**PARAMETER**|}}}
|old peer review={{{**PARAMETER**|}}}
|PR_LINK =
|PR_IMAGE =
|PR_CAT =
|PR_OLD_CAT =
|peer review title={{{**PARAMETER**|}}}
</syntaxhighlight>
|}
This feature enables a peer review process to be integrated into a project banner. The following parameters are used:
==== Required parameters ====
*<code>'''peer review'''</code> – the parameter that will trigger the active peer review note; should be passed through, e.g. {{para|peer review|<nowiki>{{{peer-review|}}}</nowiki>}}
*<code>'''old peer review'''</code> – the parameter that will trigger the old peer review note; should be passed through, e.g. {{para|old peer review|<nowiki>{{{old-peer-review|}}}</nowiki>}}
*<code>'''PR_LINK'''</code> – the full link to where the review for this particular article is held, e.g. {{para|PR_LINK|Wikipedia:WikiProject Tulips/Assessment}}
==== Optional parameters ====
*<code>'''PR_IMAGE'''</code> – the name of the image to use. If not specified then [[File:Exquisite-kfind.png|30px]] is used.
*<code>'''PR_CAT'''</code> – if defined, pages using {{para|peer review|yes}} will be categorised into this category, e.g. {{para|PR_CAT|Requests for Tulips peer review}} → [[:Category:Requests for Tulips peer review]]''}}
*<code>'''PR_OLD_CAT'''</code> – if defined, pages using {{para|old peer review|yes}} will be categorised into this category.
*<code>'''peer review title'''</code> – If the page has been moved since it was reviewed, pass this parameter to specify the old page title (the one the review was archived under) to make the link point correctly to the review.
*<code>'''PR_INVALID_CAT'''</code> – if defined, pages without a valid existing peer review page will be categorised into this category.
=== Other hooks===
|