Template:Related: Difference between revisions

From translatewiki.net
Jump to navigation Jump to search
(all these are the same in Template:Identical which were added incrementally, and reviewed many times)
(as well from Template:Identical)
Line 174: Line 174:
 
}} <nowiki>[</nowiki>[{{FULLURL:Template:Related/{{{1|Example}}}|action=edit}} {{#switch:{{lc:{{#sub:{{{2|{{RelevantLanguage}}}}}|0|{{#ifeq:{{#sub:{{{2|{{RelevantLanguage}}}}}|2|1}}|-|2|3}}}}}}
 
}} <nowiki>[</nowiki>[{{FULLURL:Template:Related/{{{1|Example}}}|action=edit}} {{#switch:{{lc:{{#sub:{{{2|{{RelevantLanguage}}}}}|0|{{#ifeq:{{#sub:{{{2|{{RelevantLanguage}}}}}|2|1}}|-|2|3}}}}}}
   
  +
|af = wysig hierdie lys
  +
|ar |aao|abh|abv|acm|acq|acw|acx|adf|aeb|aec|afb|ajb|apc|apd|ara|arb|arq|ars|ary|arz|auz|avl|ayh|ayl|ayn|ayp|bbz|pga|shu|ssh = تحرير هذه القائمة
  +
|az = bu siyahını redaktə edin
  +
|be = рэдагаваць гэты сьпіс
  +
|bg = редактирайте този списък
  +
|bn |as = এই তালিকা সম্পাদনা করুন
  +
|bs = uredite ovu listu
  +
|ca = editeu aquesta llista
  +
|cs = upravit tento seznam
  +
|da = redigere denne liste
 
|de |cim|drt|frr|frs|gct|geh|gmh|goh|gos|gsw|hrx|pdc|pfl|ksh|sli|stq|sxu|swg|twd|uln|vel|vmf|wae|wep|wym = diese Liste bearbeiten
 
|de |cim|drt|frr|frs|gct|geh|gmh|goh|gos|gsw|hrx|pdc|pfl|ksh|sli|stq|sxu|swg|twd|uln|vel|vmf|wae|wep|wym = diese Liste bearbeiten
  +
|el |grc|pnt = επεξεργαστείτε αυτήν τη λίστα
 
|en |ang|#default = edit this list
 
|en |ang|#default = edit this list
 
|es |an|ast|ext|fax|gl = editar esta lista
 
|es |an|ast|ext|fax|gl = editar esta lista
  +
|et = muuda seda nimekirja
  +
|eu = editatu zerrenda hau
 
|fa = ویرایش این فهرست
 
|fa = ویرایش این فهرست
  +
|fi = muokkaa tätä listaa
 
|fr |aut|br|co|crs|frc|frm|fro|frp|fsl|fud|gcf|gcr|ht|kmw|mfe|mrq|mqm|mrv|nrf|oc|pcd|pmt|ray|rcf|swb|ty|uve|wa|wls = modifier cette liste
 
|fr |aut|br|co|crs|frc|frm|fro|frp|fsl|fud|gcf|gcr|ht|kmw|mfe|mrq|mqm|mrv|nrf|oc|pcd|pmt|ray|rcf|swb|ty|uve|wa|wls = modifier cette liste
  +
|ga = an liosta seo a chur in eagar
  +
|gu = આ યાદીમાં ફેરફાર કરો
  +
|he = לערוך את הרשימה הזאת
  +
|hi = इस सूची को संपादित करें
  +
|hr = uredite ovaj popis
 
|hu = lista szerkesztése
 
|hu = lista szerkesztése
  +
|hy |hyw = խմբագրել այս ցուցակը
  +
|id = edit daftar ini
  +
|is = breyta þessum lista
 
|it |egl|eml|nap|rgn|sc|src|sro|vec = modifica questo elenco
 
|it |egl|eml|nap|rgn|sc|src|sro|vec = modifica questo elenco
  +
|ja |ain|ryu = このリストを編集する
  +
|jv = nyunting dhaptar iki
  +
|ka = ამ სიის რედაქტირება
  +
|kk = осы тізімді өңдеңіз
  +
|km = កែសម្រួលបញ្ជីនេះ។
  +
|kn = ಈ ಪಟ್ಟಿಯನ್ನು ಸಂಪಾದಿಸಿ
  +
|ko = 이 목록 편집
  +
|ku = vê lîsteyê biguherîne
  +
|ky = бул тизмени түзөтүү
  +
|lb |ltz = dës Lëscht änneren
  +
|lo = ແກ້ໄຂບັນຊີລາຍຊື່ນີ້
  +
|lt = redaguoti šį sąrašą
  +
|lv = rediģēt šo sarakstu
  +
|mg = Ahitsio ity lisitra ity
  +
|mk = уредете ја оваа листа
  +
|ml = ഈ ലിസ്റ്റ് എഡിറ്റ് ചെയ്യുക
  +
|mn = энэ жагсаалтыг засах
  +
|mr = ही यादी संपादित करा
  +
|ms = edit senarai ini
  +
|mt = editja din il-lista
  +
|my = ဤစာရင်းကို တည်းဖြတ်ပါ။
  +
|nb |nn|no = redigere denne listen
  +
|nl |li|vls|zea = bewerk deze lijst
  +
|or = ଏହି ତାଲିକା ସଂପାଦନ କରନ୍ତୁ |
  +
|pl |csb|pox|rue = edytuj tę listę
 
|pt |kea|mwl = editar esta lista
 
|pt |kea|mwl = editar esta lista
  +
|ro = editați această listă
  +
|ru = редактировать этот список
 
|scn = cancia st’elencu
 
|scn = cancia st’elencu
  +
|sd = هن لسٽ ۾ ترميم ڪريو
  +
|si = මෙම ලැයිස්තුව සංස්කරණය කරන්න
  +
|sk = upraviť tento zoznam
  +
|sl = uredite ta seznam
  +
|sq = redaktoni këtë listë
  +
|sr = уредите ову листу
  +
|su = édit daptar ieu
  +
|sv = redigera den här listan
  +
|ta = இந்த பட்டியலை திருத்தவும்
  +
|te = ఈ జాబితాను సవరించండి
  +
|th = แก้ไขรายการนี้
  +
|tk = bu sanawy redaktirläň
  +
|tl | fil = i-edit ang listahang ito
  +
|tr |diq = bu listeyi düzenle
 
|uk = редагувати цей список
 
|uk = редагувати цей список
  +
|ur = اس فہرست میں ترمیم کریں
  +
|uz = ushbu ro’yxatni tahrirlang
 
|vi = sửa danh sách này
 
|vi = sửa danh sách này
  +
|zh |lzh|wuu|yue = 编辑此列表
   
 
}}]<nowiki>]</nowiki></div>
 
}}]<nowiki>]</nowiki></div>

Revision as of 19:42, 6 July 2022

Test Template Info-Icon - Version (2).svg
The documentation of this template is included from its /doc subpage. [Edit]

Documentation

...

This template is meant to function as a primitive manual version of Translation Memory, until such time that an automatic tool exists.

How to use this template

This template is to be used on the documentation subpage (/qqq) of related messages, which is rendered on the right pane of the translate UI (or at top of page when editing them with the wikicode editor).

This template uses only one parameter, {{{1}}}. That parameter is the name of a subpage of this template, which contains links to the messages in question.

For an example of how it used, see MediaWiki:Protectedpagemovewarning/qqq and MediaWiki:Semiprotectedpagewarning/qqq, where it transcludes the page Template:Related/Semiprotectedpagewarning. The individual messages are listed in the "Identical/*" template, as list items using formatting templates (listed in Category:Message link templates and based on {{Msg-meta}}), one for each translation project supported on translatewiki.net, with just a single parameter for the message identifier, they should be grouped by translation project and sorted by message identifier (to avoid duplicates references to the same message and simplify their use and maintenance).

The subtemplates referenced by this template should be listed in its attached Category:Related message templates. For the full list of subtemplates (including redirects for aliases and known synonyms), see Special:PrefixIndex/Template:Related/.

Implementation notes

When added with AJAX, call $( '.mw-related-title' ).makeCollapsible(); after it is added to the document to make it work.

In other cases (on the Template:Related/… page and on the MediaWiki:…/qqq page) it works by default when the page is loaded.

See also