<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://yezur.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranslations%2Fdoc</id>
	<title>Module:Translations/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://yezur.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranslations%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://yezur.xyz/w/index.php?title=Module:Translations/doc&amp;action=history"/>
	<updated>2026-08-28T16:50:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://yezur.xyz/w/index.php?title=Module:Translations/doc&amp;diff=13128&amp;oldid=prev</id>
		<title>Thiorosan: Create the documentation subpage</title>
		<link rel="alternate" type="text/html" href="https://yezur.xyz/w/index.php?title=Module:Translations/doc&amp;diff=13128&amp;oldid=prev"/>
		<updated>2026-08-27T12:19:53Z</updated>

		<summary type="html">&lt;p&gt;Create the documentation subpage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is the documentation for [[Module:Translations]], the translations-box renderer for the Yezur wiki. It is not called directly: [[Template:Translations]] invokes it with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Translations|render}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and the module reads the parameters given to that template. One box covers one English sense and lists the words the world&amp;#039;s languages use for it, grouped by macro-family; boxes sit under a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;====Translations====&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; heading following that sense&amp;#039;s definitions, inside the English section of a Dictionary entry. Worked examples are at [[Template:Translations/testcases]].&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Purpose&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;gloss&amp;lt;/code&amp;gt; || The sense being translated, shown in italics after &amp;#039;&amp;#039;Translations&amp;#039;&amp;#039; and an em dash in the box heading. Required: a headword with several senses carries one box per sense, and the gloss is what keeps them apart. When it is omitted the heading reads &amp;lt;code&amp;gt;no gloss given&amp;lt;/code&amp;gt; in the error style instead.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;CODE&amp;#039;&amp;#039; || A registry code from [[Module:Languages]] used as the parameter name — &amp;lt;code&amp;gt;YAQ-HE&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;YBS-PJ&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;YCQ-BE&amp;lt;/code&amp;gt; — with that language&amp;#039;s word for the sense as the value. Any number may be given. A single value may hold several synonyms separated by commas, each of which is linked separately.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Every named parameter other than &amp;lt;code&amp;gt;gloss&amp;lt;/code&amp;gt; is read as a language code; codes are matched case-insensitively. Parameters with an empty value are skipped, as are positional parameters. A gloss given on its own still renders the heading and an otherwise empty box; the module returns nothing at all when it is given neither a gloss nor any language parameter.&lt;br /&gt;
&lt;br /&gt;
== Grouping and order ==&lt;br /&gt;
&lt;br /&gt;
Each word is linked to its Dictionary entry through [[Module:Languages]], which anchors the link to the language&amp;#039;s section heading and prefixes an asterisk for reconstructed languages — the star comes from the registry, not from the wikitext. Group headings are the registry&amp;#039;s &amp;lt;code&amp;gt;family&amp;lt;/code&amp;gt; field; known codes carrying no family are gathered under &amp;#039;&amp;#039;Isolates&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Rows are sorted by the second letter of the code, which is the family, then by the third, which is the era (&amp;lt;code&amp;gt;P&amp;lt;/code&amp;gt; proto, &amp;lt;code&amp;gt;Q&amp;lt;/code&amp;gt; ancient, &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; medieval, &amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt; modern, so alphabetical order is also chronological), then by language name, then by the code itself. The second letter likewise picks the colour class, &amp;lt;code&amp;gt;tfam-&amp;lt;/code&amp;gt; followed by that letter. Colours and layout come from [[Template:Translations/styles.css]], which the module loads through TemplateStyles; it defines &amp;lt;code&amp;gt;tfam-A&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;tfam-E&amp;lt;/code&amp;gt; for the five families and &amp;lt;code&amp;gt;tfam-X&amp;lt;/code&amp;gt; for the isolate codes.&lt;br /&gt;
&lt;br /&gt;
A code the registry does not know is not silently dropped. Its words are left unlinked and printed after all the family groups as &amp;lt;code&amp;gt;unrecognized code &amp;#039;&amp;#039;CODE&amp;#039;&amp;#039;: &amp;#039;&amp;#039;word&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; in red, so that a typo or a language missing from the registry shows on the page.&lt;br /&gt;
&lt;br /&gt;
The box is display-only: it stores nothing and is hand-curated per sense, in the same way as the family Members tables.&lt;/div&gt;</summary>
		<author><name>Thiorosan</name></author>
	</entry>
</feed>