Difference between revisions of "Template:Linguistics/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Wugapodes
(Adding indices)
imported>Paine Ellsworth
(test)
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}}}}}}<!--
 +
| expanded = {{{expanded|{{#if:{{{1}}}|all|{{{1|}}} }}}}}-->
  
 
| abovestyle = padding-bottom:0.35em;
 
| abovestyle = padding-bottom:0.35em;
Line 26: Line 27:
 
* [[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 45:
 
* [[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 64: Line 64:
 
* [[Second-language acquisition]]
 
* [[Second-language acquisition]]
 
* [[Structural_linguistics|Structuralism]]
 
* [[Structural_linguistics|Structuralism]]
 
| list4name = Index
 
| list4title = Indices
 
| list4 =
 
* [[Index of linguistics articles|General Index]]
 
* [[Index of phonetics articles|Phonetics Index]]
 
* [[List of linguists|Index of Linguists]]
 
  
 
| belowstyle = background:#ddf;<!--(as above)-->
 
| belowstyle = background:#ddf;<!--(as above)-->
 
| 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>
 

Revision as of 10:46, 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