Difference between revisions of "Template:Linguistics/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Wugapodes
(updating sandbox)
imported>Wugapodes
(+"Part of a series"; +outline and history links at top of box; minor styling changes)
Line 1: Line 1:
 
{{Sidebar
 
{{Sidebar
 
| name = Linguistics
 
| name = Linguistics
| class = plainlist
+
| class = hlist
| titlestyle = padding-bottom:0.5em;
+
<!--[?:] | baseclass = navbox-abovebelow-->
 +
| titleclass = navbox-title
 +
| pretitle = Part of a series on
 +
| titlestyle = padding-top:.25em;
 
| title = [[Linguistics]]
 
| title = [[Linguistics]]
| headingstyle = background:#ddf;<!--(to reduce resemblance between headings and bold list links)-->
+
| headingclass = navbox-abovebelow
| contentstyle = padding:0.2em 0.5em 0.8em;
+
| contentstyle = padding:0.15em 0.5em 0.6em;<!--(otherwise too close to headings)-->
 +
| listtitlestyle = background:#ddddff;text-align:center;
 +
| expanded = {{{expanded|{{{1|{{{cTopic|}}}}}}}}}
 +
 
 +
| abovestyle = padding-bottom:0.35em;<!--(as above)-->
 +
| above =
 +
* [[Outline of linguistics|Outline]]
 +
* [[History of linguistics|History]]
  
 
| heading1 = [[Theoretical linguistics|Theoretical]]
 
| heading1 = [[Theoretical linguistics|Theoretical]]
Line 63: Line 73:
 
| heading4 = Related articles
 
| heading4 = Related articles
 
| content4 =
 
| content4 =
* [[History of linguistics]]
 
 
* [[Linguistic prescription]]
 
* [[Linguistic prescription]]
 
* [[List of linguists]]
 
* [[List of linguists]]

Revision as of 22:50, 23 July 2018

50px 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