ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:WPBannerMeta/hooks/peerreview/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

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 reviewCategory:Requests for Tulips peer review
  • OLD_CAT – if defined, pages using |old peer review=yes will be categorised into this category. Eg: Old requests for Tulips peer reviewCategory:Old requests for Tulips peer review
  • title → 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.