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
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|}}}|<span id="{{{1}}}{{{2}}}">{{{2}}}</span>[[Category:{{language name|{{{1}}}}} terms with multiple etymologies]]}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:30, 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.