Template:aspirate mutation of/documentation

Documentation for Template:aspirate mutation of. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template creates a definition line for aspirate mutations of words in Welsh and other Brythonic languages of primary entries, e.g. in Welsh. It also categorizes the page into the proper language-specific subcategory of Category:Aspirate-mutation forms by language (e.g. Category:Welsh aspirate-mutation forms).

This template is not meant to be used in etymology sections.

Note that users can customize how the output of this template displays by modifying their Custom CSS files. See “Form of” templates for details.


Usage edit

Use this template to show the simple definition for an entry that is a aspirate-mutation form of a primary entry.

For most entries, use in the definition line:

# {{aspirate mutation of|cy| }}

For example, on Chymru:

===Proper noun===
{{head|cy|mutated proper noun}}

# {{aspirate mutation of|cy|Cymru}}

Proper noun

Chymru
  1. Aspirate mutation of Cymru.

Parameters edit

Positional (unnamed) parameters:

|1= (required)
The language code of the term linked to (which this page is an aspirate mutation of). See Wiktionary:List of languages. The parameter |lang= is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.
|2= (required)
The term to link to (which this page is an aspirate mutation of). This should include diacritics as appropriate to the language (e.g. accents in Russian to mark the stress, vowel diacritics in Arabic, macrons in Latin to indicate vowel length, etc.). These diacritics will automatically be stripped out in a language-specific fashion in order to create the link to the page.
|3= (optional)
The text to be shown in the link to the term. If empty or omitted, the term specified by the second parameter will be used. This parameter is normally not necessary, and should not be used solely to indicate diacritics; instead, put the diacritics in the second parameter.

Named parameters:

|t= or |4= (optional)
A gloss or short translation of the term linked to. The parameter |gloss= is a deprecated synonym; please do not use.
|tr= (optional)
Transliteration for non-Latin-script terms, if different from the automatically-generated one.
|ts= (optional)
Transcription for non-Latin-script terms whose transliteration is markedly different from the actual pronunciation. Should not be used for IPA pronunciations.
|sc= (optional)
Script code to use, if script detection does not work. See Wiktionary:Scripts.
|dot= (optional)
A character to replace the final dot that is normally shown automatically.
|nodot= (optional)
If |nodot=1, then no automatic dot will be shown.
|nocap= (optional)
If |nocap=1, then the first letter will be in lowercase.
|id= (optional)
A sense id for the term, which links to anchors on the page set by the {{senseid}} template.


Presentation edit

By default, this template’s output looks like a complete sentence, in that the word “Aspirate” is capitalized at the beginning and a period (full stop) appears at the end. To suppress these behaviors, the Boolean options nocap and nodot exist:

code result
{{aspirate mutation of|cy|Cymru}} Aspirate mutation of Cymru.
{{aspirate mutation of|cy|Cymru|nocap=1}} aspirate mutation of Cymru.
{{aspirate mutation of|cy|Cymru|nodot=1}} Aspirate mutation of Cymru
{{aspirate mutation of|cy|Cymru|nocap=1|nodot=1}} aspirate mutation of Cymru

These parameters are useful for prefacing or following the template with more explanation.