Module:WikiProject banner/doc: Difference between revisions

Content deleted Content added
Advanced features: +collapsing task forces
Line 389:
 
If only the standard parameters are used, then {{nowrap|''eg: '''<code><nowiki>b1={{{b1|}}}</nowiki></code>'''''}}, etc. is fine.
 
=== Collapsing task forces ===
By default, the list of task forces will be collapsed into a show/hide box if there are more than {{#invoke:Data|Module:WikiProject banner/config|task_force|upper_threshold}} task forces. You can configure this behaviour with the following parameters:
* <code>'''TF_COLLAPSE'''</code> &ndash; the threshold number of task forces for them to collapse, e.g. if {{para|TF_COLLAPSE|3}} then they will collapse whenever there are more than 3 task forces.
* <code>'''TF_HEADER'''</code> &ndash; the heading for the collapsed section. The default is '''{{#invoke:Data|Module:WikiProject banner/config|task_force|header}}'''
 
=== To-do list ===