Difference between revisions of "Template:Linguistics/sandbox"

From blackwiki
Jump to navigation Jump to search
(current version with amended headingstyle (for edit request))
imported>Paine Ellsworth
(synchronize with live template)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Sidebar
+
<includeonly>{{Sidebar with collapsible lists
|name = Linguistics
+
| name = Linguistics
|style = width:18.0em;
+
| pretitle = Part of [[:Category:Linguistics|a series]] on
|titlestyle = padding-bottom:0.5em;
+
| titlestyle = font-size:200%;font-weight:normal;background:#ddf;<!--(as above)-->
|title = [[Linguistics]]
+
| topimage = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|220px}}}|{{{imagealt|}}}|{{{imagelink|}}}]]}}
|headingstyle = border-top:1px solid #aaa;border-bottom:1px solid #aaa;
+
| topcaptionstyle = padding-bottom:0.3em;border-bottom:1px solid #aaa;
|contentstyle = padding:0.2em 0 0.8em;
+
| topcaption = {{{caption|}}}
 +
| title = [[Linguistics]]
 +
| listtitlestyle = background:#ddd;//border-top:1px solid #aaa;text-align:center;<!--padding-left:0.4em;padding-right:2.4em;-->
 +
| listclass = hlist
 +
| expanded = {{{expanded|{{{1|all}}}}}}
  
 +
| abovestyle = padding-bottom:0.35em;
 +
| above = {{hlist|[[Outline of linguistics|Outline]]|[[History of linguistics|History]]|[[Index of linguistics articles|Index]]}}
  
|heading1 = [[Theoretical linguistics]]
+
<!-- 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 -->
|content1 = <div class="hlist">
+
| list1name = Subfields
* [[Cognitive linguistics|Cognitive]]
+
| list1title = Subfields
* [[Generative linguistics|Generative]]
+
| list1 =
:
+
* [[Language acquisition|Acquisition]]
* [[Quantitative linguistics|Quantitative]]
 
:
 
* [[Functional theories of grammar]]
 
:
 
* [[Phonology]]
 
* [[Morphology (linguistics)|Morphology]]
 
:
 
* [[Morphophonology]]
 
* [[Syntax]]
 
:
 
* [[Lexis (linguistics)|Lexis]]
 
* [[Semantics]]
 
:
 
* [[Pragmatics]]
 
* [[Graphemics]]
 
:
 
* [[Orthography]]
 
* [[Semiotics]]
 
</div>
 
 
 
 
 
|heading2 = [[Linguistic description|Descriptive linguistics]]
 
|content2 = <div class="hlist">
 
 
* [[Anthropological linguistics|Anthropological]]
 
* [[Anthropological linguistics|Anthropological]]
:
+
* [[Applied linguistics|Applied]]
* [[Comparative linguistics|Comparative]]
+
* [[Computational linguistics|Computational]]
 +
* [[Discourse analysis]]
 +
* [[Forensic linguistics|Forensic]]
 
* [[Historical linguistics|Historical]]
 
* [[Historical linguistics|Historical]]
:
+
* [[Lexicography]]
* [[Etymology]]
+
* [[Morphology (linguistics)|Morphology]]
* [[Graphetics]]
+
* [[Neurolinguistics]]
:
+
* [[Philosophy of language]]
 
* [[Phonetics]]
 
* [[Phonetics]]
 +
* [[Phonology]]
 +
* [[Pragmatics]]
 +
* [[Psycholinguistics]]
 +
* [[Semantics]]
 
* [[Sociolinguistics]]
 
* [[Sociolinguistics]]
</div>
+
* [[Syntax]]
  
 +
<!-- Theories of grammar, taken from the Grammar article, but could include others -->
 +
| list2name = Grammar
 +
| list2title = [[Grammar|Grammatical Theories]]
 +
| list2 =
 +
* [[Cognitive grammar|Cognitive]]
 +
* [[Constraint-based grammar|Constraint-based]]
 +
* [[Dependency grammar|Dependency]]
 +
* [[Functional theories of grammar|Functional]]
 +
* [[Generative grammar|Generative]]
 +
* [[Stochastic grammar|Stochastic]]
  
|heading3 = {{longitem|[[Applied linguistics|Applied]] and<br/>experimental linguistics}}
+
<!-- Topics in linguistics. Should be important, of quality, and engaging. -->
|content3 = <div class="hlist">
+
| list3name = Topics
* [[Computational linguistics|Computational]]
+
| list3title = Topics
:
+
| list3 =
* [[Contrastive linguistics|Contrastive]]
+
* [[Linguistic conservatism|Conservative{{\}}innovative forms]]
* [[Evolutionary linguistics|Evolutionary]]
+
* [[Linguistic description|Descriptivism]]
:
+
* [[Etymology]]
* [[Forensic linguistics|Forensic]]
+
* [[Internet linguistics]]
* [[Internet linguistics|Internet]]
+
* [[LGBT linguistics]]
</div><div class="plainlist">
 
{{longlink |[[Language acquisition]]<br/>([[Second-language acquisition|second-language]])}}
 
* [[Language assessment]]
 
* [[Language development]]
 
* [[Language education]]
 
 
* [[Linguistic anthropology]]
 
* [[Linguistic anthropology]]
* [[Neurolinguistics]]
+
* [[Origin of language]]
* [[Psycholinguistics]]
+
* [[Origin of speech]]
</div>
+
* [[Orthography]]
 
+
* [[Linguistic prescription|Prescriptivism]]
 
+
* [[Second-language acquisition]]
|heading4 = Related articles
+
* [[Structural_linguistics|Structuralism]]
|content4 = <div class="plainlist">
 
* [[History of linguistics]]
 
* [[Linguistic prescription]]
 
* [[List of linguists]]
 
* [[List of unsolved problems in linguistics|Unsolved problems]]
 
</div>
 
 
 
 
 
|belowstyle = border-top:1px solid #aaa;padding-top:0.1em;border-bottom:1px solid #aaa;
 
|below = [[Portal:Linguistics|Linguistics portal]]
 
  
}}<noinclude>
+
| belowstyle = background:#ddf;<!--(as above)-->
 +
| below = [[Portal:Linguistics|Linguistics portal]]
  
{{documentation}}
+
}}</includeonly><noinclude>{{Documentation}}</noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 11:02, 5 May 2019

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