https://wiki.languageinvention.com/index.php?title=Template:Head/documentation&feed=atom&action=historyTemplate:Head/documentation - Revision history2024-03-29T05:16:21ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.languageinvention.com/index.php?title=Template:Head/documentation&diff=458069&oldid=prevJuelos: Replaced Wiktionary: links with Project: links2023-05-29T06:43:34Z<p>Replaced Wiktionary: links with Project: links</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:43, 28 May 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</code>) and the actual definitions of the word. This template uses [[Module:headword/templates]] as its back-end.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</code>) and the actual definitions of the word. This template uses [[Module:headword/templates]] as its back-end.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Note that most invocations of {{temp|head}} should be fairly simple. If a language requires a relatively complex call to {{temp|head}} for many words (such as the same set of inflected forms in many entries, or using sort= in every entry), the language should probably have its own templates. Templates made specifically for a given language can be more sophisticated, and can handle inflections and other grammatical issues that are specific to that language. They can also make use of the capabilities of [[<del style="font-weight: bold; text-decoration: none;">WT</del>:LUA|Lua modules]]. For this reason, keep in mind that the usage examples given on this page are for illustrative purposes only. Most of the languages given in the examples here already have their own set of templates, such as {{temp|en-verb}}, {{temp|ja-noun}}, {{temp|zh-noun}}, {{temp|la-verb}} and so on.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Note that most invocations of {{temp|head}} should be fairly simple. If a language requires a relatively complex call to {{temp|head}} for many words (such as the same set of inflected forms in many entries, or using sort= in every entry), the language should probably have its own templates. Templates made specifically for a given language can be more sophisticated, and can handle inflections and other grammatical issues that are specific to that language. They can also make use of the capabilities of [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:LUA|Lua modules]]. For this reason, keep in mind that the usage examples given on this page are for illustrative purposes only. Most of the languages given in the examples here already have their own set of templates, such as {{temp|en-verb}}, {{temp|ja-noun}}, {{temp|zh-noun}}, {{temp|la-verb}} and so on.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>However, {{temp|head}} can be used for words for which the basic usage (two or three parameters) is enough, or for languages that do not yet have their own templates. If you know how to make your own templates, it's recommended that you create some for the language you intend to work in before creating new entries, rather than using this template (and then having to replace it with a language-specific template later).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>However, {{temp|head}} can be used for words for which the basic usage (two or three parameters) is enough, or for languages that do not yet have their own templates. If you know how to make your own templates, it's recommended that you create some for the language you intend to work in before creating new entries, rather than using this template (and then having to replace it with a language-specific template later).</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l43">Line 43:</td>
<td colspan="2" class="diff-lineno">Line 43:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: The following parameters are available only for each ''name'', meaning that if multiple forms are displayed for the same name (with "<code>or</code>"), these parameters should use the number of the ''first'' form. They are automatically applied to all forms following that name.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: The following parameters are available only for each ''name'', meaning that if multiple forms are displayed for the same name (with "<code>or</code>"), these parameters should use the number of the ''first'' form. They are automatically applied to all forms following that name.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:; {{para|f''N''accel-form}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:; {{para|f''N''accel-form}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>:: Specifies an accelerated creation tag for [[<del style="font-weight: bold; text-decoration: none;">WT</del>:ACCEL]]. This should not be used directly in entries. If you find you need to use it, you should probably make a custom template for the language instead. If the acceleration tag contains a vertical bar <code><nowiki>|</nowiki></code>, use {{temp|!}} instead.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:: Specifies an accelerated creation tag for [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:ACCEL]]. This should not be used directly in entries. If you find you need to use it, you should probably make a custom template for the language instead. If the acceleration tag contains a vertical bar <code><nowiki>|</nowiki></code>, use {{temp|!}} instead.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:; {{para|f''N''nolink|1}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:; {{para|f''N''nolink|1}}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Inhibits automatic creation of a link to the forms. The forms will just be displayed in bold text instead. Links that are embedded into the form parameters are retained.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>:: Inhibits automatic creation of a link to the forms. The forms will just be displayed in bold text instead. Links that are embedded into the form parameters are retained.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l131">Line 131:</td>
<td colspan="2" class="diff-lineno">Line 131:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>When using {{temp|head}} as a base to create other templates, the class for accelerated links ([[<del style="font-weight: bold; text-decoration: none;">WT</del>:ACCEL]]) can be added with {{para|fNaccel-form}}. See [[Module:headword]] for more information on how to use this. If the label is <code>or</code>, the corresponding acceleration is ignored, and it is "inherited" from the preceding form. Examples:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>When using {{temp|head}} as a base to create other templates, the class for accelerated links ([[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:ACCEL]]) can be added with {{para|fNaccel-form}}. See [[Module:headword]] for more information on how to use this. If the label is <code>or</code>, the corresponding acceleration is ignored, and it is "inherited" from the preceding form. Examples:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|ca|nouns|g=m|plural|f1accel-form=p|homes|or|hòmens}}</nowiki></code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|ca|nouns|g=m|plural|f1accel-form=p|homes|or|hòmens}}</nowiki></code></div></td></tr>
</table>Jueloshttps://wiki.languageinvention.com/index.php?title=Template:Head/documentation&diff=458018&oldid=prevJuelos: Replaced Wiktionary: links with Project: links2023-05-29T06:36:55Z<p>Replaced Wiktionary: links with Project: links</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:36, 28 May 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9">Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A short reference of all parameters.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A short reference of all parameters.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|1}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|1}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>: The language code. See [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Languages]].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: The language code. See [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Languages]].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|sc}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|sc}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>: The script code. See [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Scripts]]. This is rarely needed as the script can generally be automatically detected.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: The script code. See [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Scripts]]. This is rarely needed as the script can generally be automatically detected.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|cat sc}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|cat sc}}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: The same as {{para|sc}}, but this also adds "in (name) script" to the category specified by the second parameter below. This is used to subcategorise words in different scripts, if languages can be written in more than one script. If both {{para|sc}} and {{para|cat sc}} are provided, the latter takes precedence.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: The same as {{para|sc}}, but this also adds "in (name) script" to the category specified by the second parameter below. This is used to subcategorise words in different scripts, if languages can be written in more than one script. If both {{para|sc}} and {{para|cat sc}} are provided, the latter takes precedence.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: Overrides the headword that is displayed. This is used primarily to add diacritical marks or to link to individual words in a multi-word term. By default, if the page name has spaces in it, the words are split across the spaces, which is usually correct but may need overriding. Additional parameters are available if more than one headword needs to be shown.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: Overrides the headword that is displayed. This is used primarily to add diacritical marks or to link to individual words in a multi-word term. By default, if the page name has spaces in it, the words are split across the spaces, which is usually correct but may need overriding. Additional parameters are available if more than one headword needs to be shown.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|tr}} and {{para|tr2}}, {{para|tr3}} ...</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|tr}} and {{para|tr2}}, {{para|tr3}} ...</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>: Provides the transliteration for the term, see [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then. The additional parameters with a number correspond to each additional headword, pairwise.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>: Provides the transliteration for the term, see [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then. The additional parameters with a number correspond to each additional headword, pairwise.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|g}} and {{para|g2}}, {{para|g3}} ...</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>; {{para|g}} and {{para|g2}}, {{para|g3}} ...</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: Provides gender specifications for the word, if necessary. See [[Module:gender and number]] for the format used.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: Provides gender specifications for the word, if necessary. See [[Module:gender and number]] for the format used.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l52">Line 52:</td>
<td colspan="2" class="diff-lineno">Line 52:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|(lang)|(part of speech)}}</nowiki></code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|(lang)|(part of speech)}}</nowiki></code></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The first parameter is the language code (see [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Languages]]), which is required in all cases. The second is the part of speech. For example on {{m|nl|van}}:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The first parameter is the language code (see [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Languages]]), which is required in all cases. The second is the part of speech. For example on {{m|nl|van}}:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|nl|prepositions}}</nowiki></code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|nl|prepositions}}</nowiki></code></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l61">Line 61:</td>
<td colspan="2" class="diff-lineno">Line 61:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Script code===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Script code===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The optional parameter {{para|sc}} gives the script code (see [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Scripts]]). The script can usually be detected automatically based on the possibilities listed for the language in [[Module:languages]], so this parameter is only needed in rare cases. The example below is thus only for illustrative purposes; a real example would not need {{para|sc}} here.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The optional parameter {{para|sc}} gives the script code (see [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Scripts]]). The script can usually be detected automatically based on the possibilities listed for the language in [[Module:languages]], so this parameter is only needed in rare cases. The example below is thus only for illustrative purposes; a real example would not need {{para|sc}} here.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>An example, for the entry {{m|sh|море|sc=Cyrl}}, one might use:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>An example, for the entry {{m|sh|море|sc=Cyrl}}, one might use:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l83">Line 83:</td>
<td colspan="2" class="diff-lineno">Line 83:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Transliteration===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Transliteration===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If a term is written in a script other than the Latin alphabet, a transliteration of the term into the Latin alphabet should be provided using the {{para|tr}} parameter. Every language generally has its own rules for writing transliterations on Wiktionary; check with the language's "About" page (such as [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:About Russian]]) for more information.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If a term is written in a script other than the Latin alphabet, a transliteration of the term into the Latin alphabet should be provided using the {{para|tr}} parameter. Every language generally has its own rules for writing transliterations on Wiktionary; check with the language's "About" page (such as [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:About Russian]]) for more information.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The template can automatically transliterate words in many languages; this is controlled through special transliteration modules such as [[Module:el-translit]] (and also the data in [[Module:languages]]). This means that for those languages, a transliteration does not need to be provided, as it can be generated internally. If the {{para|head}} parameter was provided, it is used as the base for the transliteration instead, so that any additional accents are also included in the transliteration. Use {{para|tr|-}} if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>The template can automatically transliterate words in many languages; this is controlled through special transliteration modules such as [[Module:el-translit]] (and also the data in [[Module:languages]]). This means that for those languages, a transliteration does not need to be provided, as it can be generated internally. If the {{para|head}} parameter was provided, it is used as the base for the transliteration instead, so that any additional accents are also included in the transliteration. Use {{para|tr|-}} if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l97">Line 97:</td>
<td colspan="2" class="diff-lineno">Line 97:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Further optional parameters are available to display inflections or other closely related forms of the word. These are given pair-wise: the first of each pair gives a label for the inflection, and the second then gives the actual term.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Further optional parameters are available to display inflections or other closely related forms of the word. These are given pair-wise: the first of each pair gives a label for the inflection, and the second then gives the actual term.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>For example, in the [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Sandbox|Sandbox]]:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>For example, in the [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Sandbox|Sandbox]]:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|en|nouns|plural|Sandboxes|irregular plural|Sandboxen}}</nowiki></code></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: <code><nowiki>{{head|en|nouns|plural|Sandboxes|irregular plural|Sandboxen}}</nowiki></code></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l158">Line 158:</td>
<td colspan="2" class="diff-lineno">Line 158:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "1": {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "1": {</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "label": "language code",</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "label": "language code",</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> "description": "The language code. See [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Languages]].",</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> "description": "The language code. See [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Languages]].",</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "type": "line",</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "type": "line",</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "required": true</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "required": true</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l180">Line 180:</td>
<td colspan="2" class="diff-lineno">Line 180:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "sc": {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "sc": {</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "label": "script code",</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "label": "script code",</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> "description": "The script code. See [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Scripts]]. This is rarely needed as the script can generally be automatically detected."</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> "description": "The script code. See [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Scripts]]. This is rarely needed as the script can generally be automatically detected."</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "cat sc": {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "cat sc": {</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l223">Line 223:</td>
<td colspan="2" class="diff-lineno">Line 223:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "tr": {</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "tr": {</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> "description": "Provides the transiteration for the term, see [[<del style="font-weight: bold; text-decoration: none;">Wiktionary</del>:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then.",</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> "description": "Provides the transiteration for the term, see [[<ins style="font-weight: bold; text-decoration: none;">Project</ins>:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then.",</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "type": "string"</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> "type": "string"</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> },</div></td></tr>
</table>Jueloshttps://wiki.languageinvention.com/index.php?title=Template:Head/documentation&diff=182442&oldid=prevDjpwikiadmin at 18:53, 28 October 20212021-10-28T18:53:22Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:53, 28 October 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l130">Line 130:</td>
<td colspan="2" class="diff-lineno">Line 130:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: {{head|ja|nouns|head=政治|uncountable||hiragana|せいじ|romaji|seiji|f3sc=Latn}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>: {{head|ja|nouns|head=政治|uncountable||hiragana|せいじ|romaji|seiji|f3sc=Latn}}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">: <code><nowiki>{{head|cmn|nouns|traditional and simplified||Pinyin|zhèngzhì|f2sc=Latn}}</nowiki></code></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">: {{head|cmn|nouns|head=政治|traditional and simplified||Pinyin|zhèngzhì|f2sc=Latn}}</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When using {{temp|head}} as a base to create other templates, the class for accelerated links ([[WT:ACCEL]]) can be added with {{para|fNaccel-form}}. See [[Module:headword]] for more information on how to use this. If the label is <code>or</code>, the corresponding acceleration is ignored, and it is "inherited" from the preceding form. Examples:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When using {{temp|head}} as a base to create other templates, the class for accelerated links ([[WT:ACCEL]]) can be added with {{para|fNaccel-form}}. See [[Module:headword]] for more information on how to use this. If the label is <code>or</code>, the corresponding acceleration is ignored, and it is "inherited" from the preceding form. Examples:</div></td></tr>
</table>Djpwikiadminhttps://wiki.languageinvention.com/index.php?title=Template:Head/documentation&diff=148&oldid=prevDjpwikiadmin: Created page with "{{documentation subpage}} This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</..."2019-04-17T04:33:33Z<p>Created page with "{{documentation subpage}} This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</..."</p>
<p><b>New page</b></p><div>{{documentation subpage}}<br />
This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</code>) and the actual definitions of the word. This template uses [[Module:headword/templates]] as its back-end.<br />
<br />
Note that most invocations of {{temp|head}} should be fairly simple. If a language requires a relatively complex call to {{temp|head}} for many words (such as the same set of inflected forms in many entries, or using sort= in every entry), the language should probably have its own templates. Templates made specifically for a given language can be more sophisticated, and can handle inflections and other grammatical issues that are specific to that language. They can also make use of the capabilities of [[WT:LUA|Lua modules]]. For this reason, keep in mind that the usage examples given on this page are for illustrative purposes only. Most of the languages given in the examples here already have their own set of templates, such as {{temp|en-verb}}, {{temp|ja-noun}}, {{temp|zh-noun}}, {{temp|la-verb}} and so on.<br />
<br />
However, {{temp|head}} can be used for words for which the basic usage (two or three parameters) is enough, or for languages that do not yet have their own templates. If you know how to make your own templates, it's recommended that you create some for the language you intend to work in before creating new entries, rather than using this template (and then having to replace it with a language-specific template later).<br />
<br />
==Parameters==<br />
A short reference of all parameters.<br />
; {{para|1}}<br />
: The language code. See [[Wiktionary:Languages]].<br />
; {{para|sc}}<br />
: The script code. See [[Wiktionary:Scripts]]. This is rarely needed as the script can generally be automatically detected.<br />
; {{para|cat sc}}<br />
: The same as {{para|sc}}, but this also adds "in (name) script" to the category specified by the second parameter below. This is used to subcategorise words in different scripts, if languages can be written in more than one script. If both {{para|sc}} and {{para|cat sc}} are provided, the latter takes precedence.<br />
; {{para|2}}<br />
: The part of speech category (such as "noun", "verb", "adjective" etc), which is used to add the entry to the appropriate category. This can be in either plural or singular form. In the latter case, the template will pluralise it automatically if it doesn't already end in ''-s''. Exceptions can be added to the <code>invariable</code> list at the top of [[Module:headword/templates]] if necessary.<br />
; {{para|cat2}}, {{para|cat3}}<br />
: Additional part-of-speech categories. Unlike the previous, these should always be in plural.<br />
; {{para|sort}}<br />
: The sort key to use when placing the entry in the above categories. This is rarely needed, as the default generated sort key is usually correct.<br />
; {{para|head}} and {{para|head2}}, {{para|head3}} ...<br />
: Overrides the headword that is displayed. This is used primarily to add diacritical marks or to link to individual words in a multi-word term. By default, if the page name has spaces in it, the words are split across the spaces, which is usually correct but may need overriding. Additional parameters are available if more than one headword needs to be shown.<br />
; {{para|tr}} and {{para|tr2}}, {{para|tr3}} ...<br />
: Provides the transliteration for the term, see [[Wiktionary:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then. The additional parameters with a number correspond to each additional headword, pairwise.<br />
; {{para|g}} and {{para|g2}}, {{para|g3}} ...<br />
: Provides gender specifications for the word, if necessary. See [[Module:gender and number]] for the format used.<br />
; {{para|3}}, {{para|4}} and further<br />
: Specifies inflected forms to show. These are specified pairwise, with the first giving the name of the form, and the second giving the form itself. So the forms are numbered like this: {{temp|head|language|category|name 1|form 1|name 2|form 2|name 3|form 3|...}}. If multiple forms exist for the same name, separate them by using "<code>or</code>" as the name. Forms work the same as the 2nd parameter of {{temp|l}}, and can thus have embedded wikilinks, will have certain diacritics removed, and so on.<br />
: The following additional parameters are available for each form, with <code>''N''</code> replaced by the number of the form:<br />
:; {{para|f''N''alt}}<br />
:: Specifies the alternative display form of the inflected form, much like the 3rd parameter of {{temp|l}}.<br />
:; {{para|f''N''tr}}<br />
:: Specifies the transliteration of the inflected form, much like the {{para|tr}} parameter of {{temp|l}}.<br />
:; {{para|f''N''sc}}<br />
:: Specifies the script of the form, works like {{para|sc}}.<br />
:; {{para|f''N''id}}<br />
:: Specifies the sense ID to use for the link to the form's entry.<br />
:; {{para|f''N''g}}<br />
:: Specifies the gender to display after the form. Works like {{para|g}}.<br />
:; {{para|f''N''qual}}<br />
:: Specifies a qualifier that should appear before the form, formatted like the template {{temp|qualifier}} does. This is used to mark certain forms as archaic, rare or similar.<br />
: The following parameters are available only for each ''name'', meaning that if multiple forms are displayed for the same name (with "<code>or</code>"), these parameters should use the number of the ''first'' form. They are automatically applied to all forms following that name.<br />
:; {{para|f''N''accel-form}}<br />
:: Specifies an accelerated creation tag for [[WT:ACCEL]]. This should not be used directly in entries. If you find you need to use it, you should probably make a custom template for the language instead. If the acceleration tag contains a vertical bar <code><nowiki>|</nowiki></code>, use {{temp|!}} instead.<br />
:; {{para|f''N''nolink|1}}<br />
:: Inhibits automatic creation of a link to the forms. The forms will just be displayed in bold text instead. Links that are embedded into the form parameters are retained.<br />
<br />
==Usage==<br />
The basic usage is:<br />
<br />
: <code><nowiki>{{head|(lang)|(part of speech)}}</nowiki></code><br />
<br />
The first parameter is the language code (see [[Wiktionary:Languages]]), which is required in all cases. The second is the part of speech. For example on {{m|nl|van}}:<br />
<br />
: <code><nowiki>{{head|nl|prepositions}}</nowiki></code><br />
: {{head|nl|prepositions|head=van}}<br />
<br />
The part of speech is used to add a category to the page. So, the above code would also add the page to [[:Category:Dutch prepositions]].<br />
<br />
===Script code===<br />
<br />
The optional parameter {{para|sc}} gives the script code (see [[Wiktionary:Scripts]]). The script can usually be detected automatically based on the possibilities listed for the language in [[Module:languages]], so this parameter is only needed in rare cases. The example below is thus only for illustrative purposes; a real example would not need {{para|sc}} here.<br />
<br />
An example, for the entry {{m|sh|море|sc=Cyrl}}, one might use:<br />
<br />
: <code><nowiki>{{head|sh|nouns|sc=Cyrl|g=n}}</nowiki></code><br />
: {{head|sh|nouns|sc=Cyrl|g=n|head=море}}<br />
<br />
===Displayed headword===<br />
<br />
Normally, the displayed headword is the same as the name of the current page. The parameter {{para|head}} can be used to specify a different headword to display. This can be useful if additional accent marks should be placed on the word, that are not present in the normal written form that is given in the page's name. For example, the Latin word {{m|la|scribo}} is normally written that way, but is also spelled {{m|la||scrībō}} in its fully accented form. For such a case, you would specify {{para|head|scrībō}}.<br />
<br />
Another purpose of this parameter is for terms that consist of multiple words. The {{para|head}} parameter can be used to link to the individual words that the term is made up of. For example, for the English phrasal verb {{m|en|give up}}, you could use:<br />
<br />
: <code><nowiki>{{head|en|verbs|head=[[give]] [[up]]}}</nowiki></code><br />
: {{head|en|verbs|head=[[give]] [[up]]}}<br />
<br />
Note in the above example that the template automatically adds the correct language section to the links in the same way as {{temp|l}}. So the links actually come out as if written <code><nowiki>[[give#English|give]] [[up#English|up]]</nowiki></code>. This means that you should not add such section links yourself, nor should you use {{temp|l}} inside the {{para|head}} parameter. These were necessary in the past, but they can now be safely removed.<br />
<br />
In a few cases it may be necessary to show more than one headword. For example, a language like Russian might have a word with a single written form, but multiple alternative ways of placing the accent marks (compare this to English {{m|en||kílometer}} and {{m|en||kilómeter}}). Additional headwords can be displayed using the parameters {{para|head2}}, {{para|head3}} and so on.<br />
<br />
===Transliteration===<br />
<br />
If a term is written in a script other than the Latin alphabet, a transliteration of the term into the Latin alphabet should be provided using the {{para|tr}} parameter. Every language generally has its own rules for writing transliterations on Wiktionary; check with the language's "About" page (such as [[Wiktionary:About Russian]]) for more information.<br />
<br />
The template can automatically transliterate words in many languages; this is controlled through special transliteration modules such as [[Module:el-translit]] (and also the data in [[Module:languages]]). This means that for those languages, a transliteration does not need to be provided, as it can be generated internally. If the {{para|head}} parameter was provided, it is used as the base for the transliteration instead, so that any additional accents are also included in the transliteration. Use {{para|tr|-}} if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).<br />
<br />
===Gender and number===<br />
<br />
The template has a set of parameters to display gender, number, noun class or other kinds of grammatical property. These are used and displayed in the standard format required by [[Module:gender and number]].<br />
<br />
The gender is given with the optional {{para|g}} parameter. If more than one specification is necessary, you can also use {{para|g2}}, {{para|g3}} and so on. If you know that a gender is needed, but don't know what it is, specify {{para|g|?}}, which will add the page to a cleanup category. You can also specify a partial gender. For example, if you know that a word is plural but don't know if it's, say, masculine or feminine plural, you can specify {{para|g|?-p}}.<br />
<br />
===Inflections===<br />
<br />
Further optional parameters are available to display inflections or other closely related forms of the word. These are given pair-wise: the first of each pair gives a label for the inflection, and the second then gives the actual term.<br />
<br />
For example, in the [[Wiktionary:Sandbox|Sandbox]]:<br />
<br />
: <code><nowiki>{{head|en|nouns|plural|Sandboxes|irregular plural|Sandboxen}}</nowiki></code><br />
: {{head|en|nouns|head=Sandbox|plural|Sandboxes|irregular plural|Sandboxen}}<br />
<br />
Certain diacritics are automatically removed from the term when creating the link, just like {{temp|l}} and {{temp|term}} do. So you don't need to worry about removing them yourself. A Latin example, where macrons are removed automatically:<br />
<br />
: <code><nowiki>{{head|la|nouns|g=m|genitive|nīdī}}</nowiki></code><br />
: {{head|la|nouns|head=nīdus|g=m|genitive|nīdī}}<br />
<br />
If you want to display multiple alternative forms of an inflection, you can use <code>or</code> as the label separating them. The template will recognise this and omit the comma:<br />
<br />
: <code><nowiki>{{head|en|nouns|plural|lemmas|or|lemmata}}</nowiki></code><br />
: {{head|en|nouns|head=lemma|plural|lemmas|or|lemmata}}<br />
<br />
The term (second part of a pair) may be blank. This can be used to add a simple note, such as "uncountable" or "intransitive":<br />
<br />
: <code><nowiki>{{head|en|nouns|countable and uncountable||plural|milks}}</nowiki></code><br />
: {{head|en|nouns|head=milk|countable and uncountable||plural|milks}}<br />
<br />
If the label is blank, but the term is not, it acts as if the term was not specified either and omits both. This is not very useful in entries, but it can be a very powerful feature when writing templates using {{temp|head}} as a base.<br />
<br />
You can specify alternative display form, script, sense id and gender for each form with the parameters {{para|fNalt}}, {{para|fNsc}}, {{para|fNid}} and {{para|fNg}}, with "N" replaced with the number of the form. Some examples:<br />
<br />
: <code><nowiki>{{head|sh|nouns|head=tȇlo|g=n|Cyrillic spelling|те̑ло|f1sc=Cyrl}}</nowiki></code><br />
: {{head|sh|nouns|head=tȇlo|g=n|Cyrillic spelling|те̑ло|f1sc=Cyrl}}<br />
<br />
: <code><nowiki>{{head|de|nouns|g=m|genitive|Hundes|or|Hunds|plural|Hunde|diminutive|Hündchen|f4g=n}}</nowiki></code><br />
: {{head|de|nouns|head=Hund|g=m|genitive|Hundes|or|Hunds|plural|Hunde|diminutive|Hündchen|f4g=n}}<br />
<br />
: <code><nowiki>{{head|ja|nouns|uncountable||hiragana|せいじ|romaji|seiji|f3sc=Latn}}</nowiki></code><br />
: {{head|ja|nouns|head=政治|uncountable||hiragana|せいじ|romaji|seiji|f3sc=Latn}}<br />
<br />
: <code><nowiki>{{head|cmn|nouns|traditional and simplified||Pinyin|zhèngzhì|f2sc=Latn}}</nowiki></code><br />
: {{head|cmn|nouns|head=政治|traditional and simplified||Pinyin|zhèngzhì|f2sc=Latn}}<br />
<br />
When using {{temp|head}} as a base to create other templates, the class for accelerated links ([[WT:ACCEL]]) can be added with {{para|fNaccel-form}}. See [[Module:headword]] for more information on how to use this. If the label is <code>or</code>, the corresponding acceleration is ignored, and it is "inherited" from the preceding form. Examples:<br />
<br />
: <code><nowiki>{{head|ca|nouns|g=m|plural|f1accel-form=p|homes|or|hòmens}}</nowiki></code><br />
: {{head|ca|nouns|g=m|plural|homes|f1accel-form=p|or|hòmens|head=home}}<br />
<br />
An inflection term can contain wikilinks as part of the parameter, like the {{para|head}} parameter as well as the {{temp|l}} template. Language sections will be added to the individual links:<br />
<br />
: <code><nowiki>{{head|en|adjectives|comparative|[[more]] broken|superlative|[[most]] broken}}</nowiki></code><br />
: {{head|en|adjectives|head=broken|comparative|[[more]] broken|superlative|[[most]] broken}}<br />
<br />
Naturally, you should only use this to display a ''single'' form that consists of multiple words. You should not use this to specify multiple alternative forms; use the <code>or</code> label for this instead.<br />
<br />
===Categories===<br />
<br />
There are a few more parameters available for categories:<br />
<br />
* {{para|sort}} specifies a category sort key. This is rarely needed, as by default, a sort key will be generated for the language according to the rules defined for that language in [[Module:languages]] (the <code>sort_key</code> setting). For languages that have no sort key rules defined yet, the default sort key is the name of the page, with any hyphens removed from the beginning of the name.<br />
* {{para|cat2}} and {{para|cat3}} specify additional category names that the page should be added to. The language's name is added in front, so if you use <code><nowiki>{{head|en|verb|cat2=irregular verbs}}</nowiki></code>, the page will be added to both [[:Category:English verbs]] and [[:Category:English irregular verbs]]. Note that this parameter must be given in plural, unlike the part-of-speech parameter!<br />
<br />
<includeonly><br />
[[Category:Headword-line templates|head]]<br />
</includeonly><br />
<templatedata><br />
{<br />
"params": {<br />
"1": {<br />
"label": "language code",<br />
"description": "The language code. See [[Wiktionary:Languages]].",<br />
"type": "line",<br />
"required": true<br />
},<br />
"2": {<br />
"label": "part of speech",<br />
"description": "The part of speech category which is used to add the entry to the appropriate category. This can be in either plural or singular form. In the latter case, the template will pluralise it automatically if it doesn't already end in ''-s''. Exceptions can be added to the <code>invariable</code> list at the top of [[Module:headword/templates]] if necessary.",<br />
"type": "string",<br />
"example": "verb"<br />
},<br />
"3": {<br />
"label": "name of form 1",<br />
"description": "The name of a first of form of a term.",<br />
"type": "string"<br />
},<br />
"4": {<br />
"label": "form 1",<br />
"description": "A first form of the term.",<br />
"type": "string"<br />
},<br />
"sc": {<br />
"label": "script code",<br />
"description": "The script code. See [[Wiktionary:Scripts]]. This is rarely needed as the script can generally be automatically detected."<br />
},<br />
"cat sc": {<br />
"label": "script code with category",<br />
"description": "The same as {{para|sc}}, but this also adds \"in (name) script\" to the category specified by the second parameter below. This is used to subcategorise words in different scripts, if languages can be written in more than one script. If both {{para|sc}} and {{para|cat sc}} are provided, the latter takes precedence.",<br />
"type": "string"<br />
},<br />
"cat2": {<br />
"label": "part of speech category 2",<br />
"description": "Additional part-of-speech categories. Unlike the <code>part of speech</code>, these should always be in plural.",<br />
"type": "string"<br />
},<br />
"cat3": {<br />
"label": "part of speech category 3",<br />
"description": "Additional part-of-speech categories. Unlike the <code>part of speech</code>, these should always be in plural.",<br />
"type": "string"<br />
},<br />
"sort": {<br />
"label": "sort key",<br />
"description": "The sort key to use when placing the entry in the above categories. This is rarely needed, as the default generated sort key is usually correct.",<br />
"type": "string"<br />
},<br />
"head": {<br />
"description": "Overrides the headword that is displayed. This is used primarily to add diacritical marks or to link to individual words in a multi-word term. By default, if the page name has spaces in it, the words are split across the spaces, which is usually correct but may need overriding. Additional parameters are available if more than one headword needs to be shown.",<br />
"type": "string"<br />
},<br />
"head2": {<br />
"description": "Additional term for the headword display.",<br />
"type": "string"<br />
},<br />
"head3": {<br />
"description": "Additional term for the headword display.",<br />
"type": "string"<br />
},<br />
"head4": {<br />
"description": "Additional term for the headword display.",<br />
"type": "string"<br />
},<br />
"head5": {<br />
"description": "Additional term for the headword display.",<br />
"type": "string"<br />
},<br />
"tr": {<br />
"description": "Provides the transiteration for the term, see [[Wiktionary:Transliteration]]. For many languages, this can be generated automatically so this does not need to be specified, but some entries cannot be reliably transliterated automatically (e.g. Arabic) so this parameter is necessary then.",<br />
"type": "string"<br />
},<br />
"tr2": {<br />
"description": "Provides the transiteration for the term, should match <code>head2</code>.",<br />
"type": "string"<br />
},<br />
"tr3": {<br />
"description": "Provides the transiteration for the term, should match <code>head3</code>.",<br />
"type": "string"<br />
},<br />
"tr4": {<br />
"description": "Provides the transiteration for the term, should match <code>head4</code>.",<br />
"type": "string"<br />
},<br />
"tr5": {<br />
"description": "Provides the transiteration for the term, should match <code>head5</code>.",<br />
"type": "string"<br />
},<br />
"g": {<br />
"description": "Provides gender specifications for the word, if necessary. See [[Module:gender and number]] for the format used.",<br />
"type": "string"<br />
},<br />
"g2": {<br />
"description": "Provides gender specifications for the word, if necessary, should match <code>head2</code>.",<br />
"type": "string"<br />
},<br />
"g3": {<br />
"description": "Provides gender specifications for the word, if necessary, should match <code>head3</code>.",<br />
"type": "string"<br />
},<br />
"g4": {<br />
"description": "Provides gender specifications for the word, if necessary, should match <code>head4</code>.",<br />
"type": "string"<br />
},<br />
"g5": {<br />
"description": "Provides gender specifications for the word, if necessary, should match <code>head5</code>.",<br />
"type": "string"<br />
}<br />
},<br />
"description": "This template is used to create a basic headword line. This is the line of text that comes between the part-of-speech header (like <code>===Noun===</code>) and the actual definitions of the word. ",<br />
"paramOrder": [<br />
"1",<br />
"2",<br />
"sc",<br />
"cat sc",<br />
"cat2",<br />
"cat3",<br />
"sort",<br />
"head",<br />
"head2",<br />
"head3",<br />
"head4",<br />
"head5",<br />
"tr",<br />
"tr2",<br />
"tr3",<br />
"tr4",<br />
"tr5",<br />
"g",<br />
"g2",<br />
"g3",<br />
"g4",<br />
"g5",<br />
"3",<br />
"4"<br />
],<br />
"format": "inline"<br />
}<br />
</templatedata></div>Djpwikiadmin