साँचा:WPBannerMeta/hooks/notecounter/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
साँचा:high-risk
Syntax |
---|
{{WPBannerMeta |PROJECT = |BANNER_NAME = {{subst:FULLPAGENAME}} |small={{{small|}}} |category={{{category|¬}}} |listas = {{{listas|}}} ... |HOOK_COLLAPSED = {{WPBannerMeta/hooks/notecounter |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} |note 1 = {{{**PARAMETER**|}}} |note 2 = {{{**PARAMETER**|}}} |note 3 = {{{**PARAMETER**|}}} |note 4 = {{{**PARAMETER**|}}} |note 5 = {{{**PARAMETER**|}}} |note 6 = {{{**PARAMETER**|}}} |note 7 = {{{**PARAMETER**|}}} |note 8 = {{{**PARAMETER**|}}} |note 9 = {{{**PARAMETER**|}}} |note 10 = {{{**PARAMETER**|}}} }} ... }} |
This hook allows notes added in other hooks (/notes, etc) to contribute towards the counter that triggers the notes being collapsed into a show/hide box when they become too numerous. Each parameter should be set to one of the trigger parameters for a hooked note.
This hook cannot be 'stacked' in the usual way. Normally, you can 'stack' hook templates:
|HOOK_NOTE = <!-- -->{{WPBannerMeta/hooks/notes |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }}{{WPBannerMeta/hooks/notes |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }}{{WPBannerMeta/hooks/notes |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }}
This does not work with this particular hook. You need to concatenate the hook templates with an addition sign +:
|HOOK_COLLAPSED = {{WPBannerMeta/hooks/notecounter |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }} + {{WPBannerMeta/hooks/notecounter |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }} + {{WPBannerMeta/hooks/notecounter |category = {{{category|¬}}} |BANNER_NAME={{subst:FULLPAGENAME}} ... }}