Difference between revisions of "Template:Guitar picking/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎See also: index)
imported>Paine Ellsworth
(update /doc)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
 
=== Usage ===  
 
=== Usage ===  
 
 
Place this template at the bottom of appropriate articles about guitars:  
 
Place this template at the bottom of appropriate articles about guitars:  
: {{tlx|Guitar picking| }}
+
: <code><nowiki>{{Guitar picking}}</nowiki></code>
  
For transcluding articles, you can add a variable designating one relevant sub-template: The additional variable will display the sub-template's articles (while hiding the articles in the other sub-templates):
+
{{collapsible option}}
 
 
: {{tlx|Guitar picking|General}}
 
: {{tlx|Guitar picking|Fingerstyle}}
 
: {{tlx|Guitar picking|Flatpicking}}
 
: {{tlx|Guitar picking|Innovators}}
 
 
 
With the optional command <code>|state=collapsed</code>, the whole Guitar-picking navbox will be initially displayed in its ''collapsed'' (hidden) state, e.g. <code><nowiki>{{Guitar picking|General|state=collapsed}}</nowiki></code>.
 
  
 
=== See also ===
 
=== See also ===
{{tl|Navbox with collapsible groups}}
+
* {{tl|Guitars}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
{{collapsible option}}
 
 
[[Category:Guitars|τ]]
 
[[Category:Guitars|τ]]
 
[[Category:Music performance templates]]
 
[[Category:Music performance templates]]
</includeonly>
+
 
 +
}}</includeonly>

Latest revision as of 04:22, 23 August 2018

Usage

Place this template at the bottom of appropriate articles about guitars:

{{Guitar picking}}

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Guitar picking|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Guitar picking|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Guitar picking|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, 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 |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

See also