Template:Etymology: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "<includeonly>Etymology{{#if:{{{2|}}}| {{{2}}}[[Category:{{language name|{{{1}}}}} terms with multiple etymologies]]}}</includeonly><noinclude>{{documentation}}</noinclude>")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>Etymology{{#if:{{{2|}}}| {{{2}}}[[Category:{{language name|{{{1}}}}} terms with multiple etymologies]]}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>Etymology {{#if:{{{2|}}}|{{anchor|{{{1}}}|{{{2}}}|{{{2}}}}}[[Category:{{language name|{{{1}}}}} terms with multiple etymologies]]}}</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 21:39, 4 April 2024

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

This template generates an {{anchor}}ed heading for etymology sections.

|1=
language code; required if |2= present
|2=
etymology number
=== {{Etymology}} ===

will just generate the heading Etymology.

=== {{Etymology|rad|2}} ===

will generate the heading Etymology 2, anchored with Radestrian2 and categorised into Category:Radestrian terms with multiple etymologies. The section can then be linked to with {{m|rad|word|a=2}}, for instance.