ਫਰਮਾ:WPBannerMeta/hooks/peerreview/doc
ਦਿੱਖ
ਇਹ ਇੱਕ ਫਰਮਾ:WPBannerMeta/hooks/peerreview ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on 18,00,000+ pages, or roughly 999% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Syntax |
---|
{{WPBannerMeta |PROJECT = |BANNER_NAME = {{subst:FULLPAGENAME}} |small={{{small|}}} |category={{{category|¬}}} |listas = {{{listas|}}} ... |HOOK_NOTE = <!-- -->{{WPBannerMeta/hooks/peerreview |BANNER_NAME = {{subst:FULLPAGENAME}} |category={{{category|¬}}} |peer review = {{{**PARAMETER**|}}} |old peer review = {{{**PARAMETER**|}}} |LINK = |IMAGE = |CAT = |OLD_CAT = |title = {{{**PARAMETER**|}}} }} ... }} |
This hook enables a peer review process to be integrated into a project banner. It should be attached to the |HOOK_NOTE=
hook. The following parameters are used:
category
(Required) – the 'category' parameter must be passed through the template to enable category optout. Eg:category={{{category|¬}}}
peer review
(Required) – the parameter that will trigger the active peer review note; should be passed through. Eg:peer review={{{peer-review|}}}
old peer review
(Required) – the parameter that will trigger the old peer review note; should be passed through. Eg:old peer review={{{old-peer-review|}}}
LINK
(Required) – the full link to where the review for this particular article is held. Eg:Wikipedia:WikiProject Tulips/Assessment
IMAGE
– the name of the image to use. If not specified then is used.CAT
– if defined, pages using|peer review=yes
will be categorised into this category. Eg:Requests for Tulips peer review
→ Category:Requests for Tulips peer reviewOLD_CAT
– if defined, pages using|old peer review=yes
will be categorised into this category. Eg:Old requests for Tulips peer review
→ Category:Old requests for Tulips peer reviewtitle
→ If the page has been moved since it was reviewed, specify the old page title (the one the review was archived under) to make the link point correctly to the review.INVALID_CAT
– if defined, pages using|peer review=yes
without a valid peer review page existing be categorised into this category.