#default = template }} is permanently protected to prevent vandalism

Template:LA Radio

From LPFM Wiki
Revision as of 11:36, 28 July 2022 by Michi (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

Initial visibility: currently defaults to {{#switch:|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}

To set this template's initial visibility, the |{{SAFESUBST:#if:state|state=}} parameter may be used:

  • |{{SAFESUBST:#if:state|state=}}collapsed: {{{{{{#if:| |BASE}}PAGENAME}}|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |{{SAFESUBST:#if:state|state=}}expanded: {{{{{{#if: | |BASE}}PAGENAME}}|state=expanded}} to show the template expanded, i.e., fully visible
  • |{{SAFESUBST:#if:state|state=}}autocollapse: {{{{{{#if: | |BASE}}PAGENAME}}|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{Template:LA Radio}}, a {{Template:LA Radio}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |{{SAFESUBST:#if:state|state=}} parameter in the template on this page is not set, the template's initial visibility is taken from the |{{SAFESUBST:#if:default|default=}} parameter in the Collapsible option template. For the template on this page, that currently evaluates to {{#switch:|collapsed=collapsed|expanded=expanded|autocollapse|#default=autocollapse}}.{{#if:|

|{{SAFESUBST:#if:align|align=}}Template:Var is also available; where Template:Var can be either right or left. The default is Template:Kbd.

}}{{#if:|:|{{SAFESUBST:#if:title-background|title-background=}}Template:Var is also available; where Template:Var can be either Template:Kbd or a Template:Kbd. The default is Template:Kbd, and {Template:Kbd defaults to the default navbox color. }}{{#if:|

|{{SAFESUBST:#if:width|width=}}Template:Var is also available; where Template:Var can be either Template:Kbd or Template:Kbd. The default is Template:Kbd.

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#if: |{{#switch:Lua error in Module:Effective_protection_level at line 46: attempt to index field 'TitleBlacklist' (a nil value). |*= |autoconfirmed=[[Category:{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Module
   | module
   | other
   }}
 }}

| module = Modules subject to page protection | other | #default = Semi-protected templates }}|LA Radio]] |sysop=[[Category:{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Module
   | module
   | other
   }}
 }}

| module = Modules subject to page protection | other | #default = Fully protected templates }}|LA Radio]] }}

      | {{#if: |Template:Pp-move }}
  }} 

| other | #default = }}

See also