Template:add etymology: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Manual revert
 
(7 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 19:02, 12 August 2024

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

This template reformats entry pages ready for the addition of another etymology.

Usage

Start editing the language-specific section, and replace all of the present text with the following:

{{subst:add etymology|language code}}

This will reformat the page with the correct etymology headings. It will also reshuffle sections if adding another etymology to an originally single-etymology entry. The template will also add the heading for new etymology section, so etymology information should be entered directly below the template, rather than typing out another etymology heading.

If the original page:

  • already has multiple etymologies, the template will simply add another heading (automatically counted).
  • has no etymology heading, one will be added.
  • has etymology headings without {{Etymology}}, the heading template will replace them.

Note: if you do not edit the target language section and use this on the whole page instead, you risk deleting all other language entries and whole-page templates if you simply replace all the present text with the template.

Examples

Entry with one etymology heading
Entry with multiple etymology headings
Entry with no etymology heading