Templat:WPBannerMeta/hooks/taskforces/doc
Penampilan
Syntax |
---|
{{WPBannerMeta |PROJECT = |BANNER_NAME = {{subst:FULLPAGENAME}} |small={{{small|}}} |category={{{category|¬}}} |listas = {{{listas|}}} ... |HOOK_TF = <!-- -->{{WPBannerMeta/hooks/taskforces |category={{{category|¬}}} |BANNER_NAME = {{subst:FULLPAGENAME}} |QUALITY_SCALE = |class={{{class|}}} |IMPORTANCE_SCALE = |tf 1={{{**PARAMETER**|}}} |TF_1_LINK = |TF_1_NAME = |TF_1_IMAGE = |TF_1_SIZE = |TF_1_TEXT = |TF_1_QUALITY = |tf 1 importance={{{**PARAMETER**|}}} |TF_1_ASSESSMENT_CAT = |TF_1_MAIN_CAT = |tf 2={{{**PARAMETER**|}}} |TF_2_LINK = |TF_2_NAME = |TF_2_IMAGE = |TF_2_SIZE = |TF_2_TEXT = |TF_2_QUALITY = |tf 2 importance={{{**PARAMETER**|}}} |TF_2_ASSESSMENT_CAT = |TF_2_MAIN_CAT = |tf 3={{{**PARAMETER**|}}} |TF_3_LINK = |TF_3_NAME = |TF_3_IMAGE = |TF_3_SIZE = |TF_3_TEXT = |TF_3_QUALITY = |tf 3 importance={{{**PARAMETER**|}}} |TF_3_ASSESSMENT_CAT = |TF_3_MAIN_CAT = |tf 4={{{**PARAMETER**|}}} |TF_4_LINK = |TF_4_NAME = |TF_4_IMAGE = |TF_4_SIZE = |TF_4_TEXT = |TF_4_QUALITY = |tf 4 importance={{{**PARAMETER**|}}} |TF_4_ASSESSMENT_CAT = |TF_4_MAIN_CAT = |tf 5={{{**PARAMETER**|}}} |TF_5_LINK = |TF_5_NAME = |TF_5_IMAGE = |TF_5_SIZE = |TF_5_TEXT = |TF_5_QUALITY = |tf 5 importance={{{**PARAMETER**|}}} |TF_5_ASSESSMENT_CAT = |TF_5_MAIN_CAT = |tf 6={{{**PARAMETER**|}}} |TF_6_LINK = |TF_6_NAME = |TF_6_IMAGE = |TF_6_SIZE = |TF_6_TEXT = |TF_6_QUALITY = |tf 6 importance={{{**PARAMETER**|}}} |TF_6_ASSESSMENT_CAT = |TF_6_MAIN_CAT = |tf 7={{{**PARAMETER**|}}} |TF_7_LINK = |TF_7_NAME = |TF_7_IMAGE = |TF_7_SIZE = |TF_7_TEXT = |TF_7_QUALITY = |tf 7 importance={{{**PARAMETER**|}}} |TF_7_ASSESSMENT_CAT = |TF_7_MAIN_CAT = |tf 8={{{**PARAMETER**|}}} |TF_8_LINK = |TF_8_NAME = |TF_8_IMAGE = |TF_8_SIZE = |TF_8_TEXT = |TF_8_QUALITY = |tf 8 importance={{{**PARAMETER**|}}} |TF_8_ASSESSMENT_CAT = |TF_8_MAIN_CAT = |tf 9={{{**PARAMETER**|}}} |TF_9_LINK = |TF_9_NAME = |TF_9_IMAGE = |TF_9_SIZE = |TF_9_TEXT = |TF_9_QUALITY = |tf 9 importance={{{**PARAMETER**|}}} |TF_9_ASSESSMENT_CAT = |TF_9_MAIN_CAT = |tf 10={{{**PARAMETER**|}}} |TF_10_LINK = |TF_10_NAME = |TF_10_IMAGE = |TF_10_SIZE = |TF_10_TEXT = |TF_10_QUALITY = |tf 10 importance={{{**PARAMETER**|}}} |TF_10_ASSESSMENT_CAT = |TF_10_MAIN_CAT = }} ... }}<noinclude> {{subst check|{{subst:FULLPAGENAME}}}} </noinclude> |
This hook allows the use of up to ten additional taskforces, over the five already present in the main banner code. It should be hung on |HOOK_TF=
. The parameters have the same names and functions as in the standard implementation. In addition, TF_n_HOOK parameters are supported, which enables extra code to be triggered by each taskforce parameter (for example, additional categories, with the use of the /cats hook). Note that it is necessary to re-specify |QUALITY_SCALE=
as it is used by the subtemplates involved.
It will also be necessary to use Template:WPBannerMeta/hooks/tfnested if you want to display the "/ project" for each taskforce when the banner is nested.