Difference between revisions of "Template:Linguistics/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(test)
imported>Paine Ellsworth
(synchronize with live template)
Line 9: Line 9:
 
| listtitlestyle = background:#ddd;//border-top:1px solid #aaa;text-align:center;<!--padding-left:0.4em;padding-right:2.4em;-->
 
| listtitlestyle = background:#ddd;//border-top:1px solid #aaa;text-align:center;<!--padding-left:0.4em;padding-right:2.4em;-->
 
| listclass = hlist
 
| listclass = hlist
| expanded = {{{expanded|{{{1|all}}}}}}<!--
+
| expanded = {{{expanded|{{{1|all}}}}}}
| expanded = {{{expanded|{{#if:{{{1}}}|all|{{{1|}}} }}}}}-->
 
  
 
| abovestyle = padding-bottom:0.35em;
 
| abovestyle = padding-bottom:0.35em;

Revision as of 11:01, 5 May 2019

Template documentation[view] [edit] [history] [purge]

This is a sidebar to facilitate navigation between Wikipedia articles about linguistics. To add it to a page, use the code {{Linguistics}}.

This template also takes an optional parameter that describes which section, if any, is to be expanded. All sections are expanded by default. Possible values are:

  • {{Linguistics|all}} to expand all sections
  • {{Linguistics|Subfields}} to only expand the subfields list
  • {{Linguistics|Grammar}} to only expand the grammatical theories list
  • {{Linguistics|Topics}} to only expand the topics list
  • {{Linguistics| }} to start with all lists collapsed (useful to save space on a page)

See also