Difference between revisions of "Template:Linguistics/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Wugapodes
(expand by default)
imported>Paine Ellsworth
(synchronize with live template)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Sidebar with collapsible lists
+
<includeonly>{{Sidebar with collapsible lists
 
| name = Linguistics
 
| name = Linguistics
| pretitle = Part of a series on
+
| pretitle = Part of [[:Category:Linguistics|a series]] on
 
| titlestyle = font-size:200%;font-weight:normal;background:#ddf;<!--(as above)-->
 
| titlestyle = font-size:200%;font-weight:normal;background:#ddf;<!--(as above)-->
 
| topimage = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|220px}}}|{{{imagealt|}}}|{{{imagelink|}}}]]}}
 
| topimage = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|220px}}}|{{{imagealt|}}}|{{{imagelink|}}}]]}}
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|{{#if:{{{1}}}|all|{{{1|}}} }}}}}
+
| expanded = {{{expanded|{{{1|all}}}}}}
  
 
| abovestyle = padding-bottom:0.35em;
 
| abovestyle = padding-bottom:0.35em;
| above = {{hlist|[[Outline of linguistics|Outline]]|[[History of linguistics|History]]}}
+
| above = {{hlist|[[Outline of linguistics|Outline]]|[[History of linguistics|History]]|[[Index of linguistics articles|Index]]}}
  
 
<!-- Subfields for inclusion should be on the list of subfields maintained by OLAC and The Linguist List at http://www.language-archives.org/REC/field.html -->
 
<!-- Subfields for inclusion should be on the list of subfields maintained by OLAC and The Linguist List at http://www.language-archives.org/REC/field.html -->
Line 26: Line 26:
 
* [[Historical linguistics|Historical]]
 
* [[Historical linguistics|Historical]]
 
* [[Lexicography]]
 
* [[Lexicography]]
* [[Mathematical linguistics|Mathematical]]
 
 
* [[Morphology (linguistics)|Morphology]]
 
* [[Morphology (linguistics)|Morphology]]
 
* [[Neurolinguistics]]
 
* [[Neurolinguistics]]
* [[Philosophy of Language]]
+
* [[Philosophy of language]]
 
* [[Phonetics]]
 
* [[Phonetics]]
 
* [[Phonology]]
 
* [[Phonology]]
Line 45: Line 44:
 
* [[Constraint-based grammar|Constraint-based]]
 
* [[Constraint-based grammar|Constraint-based]]
 
* [[Dependency grammar|Dependency]]
 
* [[Dependency grammar|Dependency]]
* [[Functional grammar|Functional]]
+
* [[Functional theories of grammar|Functional]]
 
* [[Generative grammar|Generative]]
 
* [[Generative grammar|Generative]]
 
* [[Stochastic grammar|Stochastic]]
 
* [[Stochastic grammar|Stochastic]]
Line 53: Line 52:
 
| list3title = Topics
 
| list3title = Topics
 
| list3 =  
 
| list3 =  
 +
* [[Linguistic conservatism|Conservative{{\}}innovative forms]]
 
* [[Linguistic description|Descriptivism]]
 
* [[Linguistic description|Descriptivism]]
 
* [[Etymology]]
 
* [[Etymology]]
Line 68: Line 68:
 
| below = [[Portal:Linguistics|Linguistics portal]]
 
| below = [[Portal:Linguistics|Linguistics portal]]
  
}}<noinclude>
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 11:02, 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