Jump to content

Template:WPBannerMeta/hooks/tfnested/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m update transclusion count
m syntaxhighlight lang="wikitext"
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{high-risk|2,680,000+}}
{{high-risk|2,680,000+}}
This template produces the label which appears when the banner is collapsed inside a banner shell.
{|class="wikitable collapsible collapsed" align=right width=40%
{|class="wikitable mw-collapsible mw-collapsed" style="float:right;" width=40%
!Syntax
!Syntax
|-
|-
|<pre style="font-size:90%">
|<syntaxhighlight lang="wikitext" style="font-size:90%">
{{WPBannerMeta
{{WPBannerMeta
|PROJECT =
|PROJECT =
|BANNER_NAME = {{subst:FULLPAGENAME}}
|BANNER_NAME = {{subst:FULLPAGENAME}}
|small={{{small|}}}
|category={{{category|}}}
|category={{{category|¬}}}
|listas = {{{listas|}}}
|listas = {{{listas|}}}


Line 50: Line 50:
...
...


}}
}}<noinclude>
</syntaxhighlight>
{{subst check|{{subst:FULLPAGENAME}}}}
</noinclude>
</pre>
|}
|}


This hook allows the display of up to ten extra "/ link" tags for taskforces. It is commonly used with {{tlx|WPBannerMeta/hooks/taskforces}}. It should be attached to the {{para|HOOK_NESTED}} hook. The parameters and their definitions are the same as in the standard implementation: see the [[Template:WPBannerMeta#Taskforces|documentation]] for more details.
This hook allows the display of up to ten extra "/ link" tags for taskforces. It is commonly used with {{tlx|WPBannerMeta/hooks/taskforces}}. It should be attached to the {{para|HOOK_NESTED}} hook. The parameters and their definitions are the same as in the standard implementation: see the [[Template:WPBannerMeta#Task forces|documentation]] for more details.

<includeonly>{{sandbox other||
[[Category:WPBannerMeta hooks]]
}}</includeonly>

Latest revision as of 13:49, 29 May 2023

This template produces the label which appears when the banner is collapsed inside a banner shell.

Syntax
{{WPBannerMeta
|PROJECT               = 
 |BANNER_NAME          = {{subst:FULLPAGENAME}}
 |category={{{category|}}}
 |listas = {{{listas|}}}

...

|HOOK_NESTED           = <!--
-->{{WPBannerMeta/hooks/tfnested
  |tf 1={{{**PARAMETER**|}}}
  |TF_1_LINK           = 
  |TF_1_NESTED         =   
  |tf 2={{{**PARAMETER**|}}}
  |TF_2_LINK           = 
  |TF_2_NESTED         =  
  |tf 3={{{**PARAMETER**|}}}
  |TF_3_LINK           = 
  |TF_3_NESTED         =  
  |tf 4={{{**PARAMETER**|}}}
  |TF_4_LINK           = 
  |TF_4_NESTED         =  
  |tf 5={{{**PARAMETER**|}}}
  |TF_5_LINK           = 
  |TF_5_NESTED         =  
  |tf 6={{{**PARAMETER**|}}}
  |TF_6_LINK           = 
  |TF_6_NESTED         =  
  |tf 7={{{**PARAMETER**|}}}
  |TF_7_LINK           = 
  |TF_7_NESTED         =  
  |tf 8={{{**PARAMETER**|}}}
  |TF_8_LINK           = 
  |TF_8_NESTED         =  
  |tf 9={{{**PARAMETER**|}}}
  |TF_9_LINK           = 
  |TF_9_NESTED         =  
  |tf 10={{{**PARAMETER**|}}}
  |TF_10_LINK          = 
  |TF_10_NESTED        = 
}}

...

}}

This hook allows the display of up to ten extra "/ link" tags for taskforces. It is commonly used with {{WPBannerMeta/hooks/taskforces}}. It should be attached to the |HOOK_NESTED= hook. The parameters and their definitions are the same as in the standard implementation: see the documentation for more details.