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

From blackwiki
Jump to navigation Jump to search
imported>Kiefer.Wolfowitz
(create documentation, using the Guitar tunings navbox as a guide)
 
imported>Kiefer.Wolfowitz
m (picking, not tunings)
Line 7: Line 7:
 
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):  
 
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):  
  
: {{tlx|Guitar tunings|General}}
+
: {{tlx|Guitar picking|General}}
: {{tlx|Guitar tunings|Fingerstyle}}
+
: {{tlx|Guitar picking|Fingerstyle}}
: {{tlx|Guitar tunings|Flatpicking}}
+
: {{tlx|Guitar picking|Flatpicking}}
: {{tlx|Guitar tunings|Innovators}}
+
: {{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>.
 
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>.

Revision as of 20:05, 22 May 2013

Usage

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

{{Guitar picking}}

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):

{{Guitar picking|General}}
{{Guitar picking|Fingerstyle}}
{{Guitar picking|Flatpicking}}
{{Guitar picking|Innovators}}

With the optional command |state=collapsed, the whole Guitar-picking navbox will be initially displayed in its collapsed (hidden) state, e.g. {{Guitar picking|General|state=collapsed}}.

See also

{{Navbox with collapsible groups}}