साँचा:WPBannerMeta/hooks/notecounter/doc

मुक्त ज्ञानकोश विकिपीडिया से
< साँचा:WPBannerMeta‎ | hooks/notecounter
imported>Pearz25 द्वारा परिवर्तित १६:२९, १२ जुलाई २०१२ का अवतरण (नया पृष्ठ: {{Documentation subpage}} {{high-risk|1,600,000+}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {|class="wikitable collapsible collapsed" a...)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

{{

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