Template:add etymology/documentation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Created page with "{{documentation subpage}} {{uses lua|Module:add etymology}} This template reformats entry pages ready for the addition of another etymology. == Usage == Start editing the '''language-specific section''', and replace '''all of the present text''' with the following: <nowiki>{{subst:add etymology|</nowiki>''language code''}} This will reformat the page with the correct etymology headings. It will also reshuffle sections if adding another etymology to an originally sing...")
 
No edit summary
Line 15: Line 15:
* has etymology headings without {{temp|Etymology}}, the heading template will replace them.
* has etymology headings without {{temp|Etymology}}, the heading template will replace them.


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


== Examples ==
== Examples ==
Line 186: Line 186:
</pre>
</pre>


You will note that some of the sections in the original etymology have been rearranged in order to add the nested etymology heading.
You will note that some of the sections in the original etymology (namely '''Pronunciation''') have been rearranged in order to add the nested etymology heading.
</div></div>
</div></div>
<div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="padding:0.2em 0.6em 0.2em 0.6em; border-right:1px solid #BEBEBE; border-bottom:1px dotted black; background:#EDEDED">'''Entry with multiple etymology headings'''
<div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="padding:0.2em 0.6em 0.2em 0.6em; border-right:1px solid #BEBEBE; border-bottom:1px dotted black; background:#EDEDED">'''Entry with multiple etymology headings'''