साँचा: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

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}}
...
}}