الگو:WPBannerMeta/hooks/collaboration
آخرین ویرایش :
۱ مهر ۱۳۹۶
| این الگو در ۸۶۰٬۰۰۰+ صفحه، یا نزدیک به ۱۲۶٪ از کل صفحهها صفحه بهکار رفته است. بهمنظور جلوگیری از ایجاد اخلال و وارد شدن فشار به سرورها، هرگونه تغییر باید ابتدا در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان آزمایش شود. تغییرات آزمایششده را میتوان در یک ویرایش به این صفحه افزود. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
| Syntax |
|---|
{{WPBannerMeta
|PROJECT =
|BANNER_NAME = {{subst:FULLPAGENAME}}
|small={{{small|}}}
|category={{{category|¬}}}
|listas = {{{listas|}}}
...
|HOOK_NOTE = {{WPBannerMeta/hooks/collaboration
|BANNER_NAME = {{subst:FULLPAGENAME}}
|category={{{category|¬}}}
|candidate = {{{**PARAMETER**|}}}
|current = {{{**PARAMETER**|}}}
|past = {{{**PARAMETER**|}}}
|LINK =
|TEXT =
|IMAGE =
|CANDIDATE_CAT =
|CURRENT_CAT =
|PAST_CAT =
}}
...
}}
|
This hook enables a project collaboration system 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|¬}}}candidate– the parameter that will trigger the collaboration candidate note, if used. Eg:candidate={{{collaboration-candidate|}}}current– the parameter that will trigger the current collaboration note, if used. Eg:current={{{collaboration|}}}past– the parameter that will trigger the past collaboration note, if used. Eg:past={{{past-collaboration|}}}LINK(Required) – the full link to where the review for this particular article is held. Eg:Wikipedia:WikiProject Tulips/Assessment/{{SUBJECTPAGENAME}}TEXT– the text to display in place of the default "project collaboration". Eg:Collaboration of the MonthIMAGE– the name of the image to use. If not specified then پرونده:Crystal 128 kuser.png is used.CANDIDATE_CAT– if defined, pages using|candidate=yeswill be categorised into this category. Eg:Tulip collaboration candidates→ Category:Tulip collaboration candidatesCURRENT_CAT– if defined, pages using|current=yeswill be categorised into this category. Eg:Current Tulip collaborations→ Category:Current Tulip collaborationsPAST_CAT– if defined, pages using|past=yeswill be categorised into this category. Eg:Past Tulip collaborations→ Category:Past Tulip collaborations