Template:coinage/documentation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 2: Line 2:


This template should be used in the etymology section of an entry.[[Category:Etymology templates]]
This template should be used in the etymology section of an entry.[[Category:Etymology templates]]
Unless {{para|nocat}} is specified, this template adds the category ''LANGNAME coinages'' and optionally a specific category ''LANGNAME terms coined by COINER''.


==Usage==
==Usage==
Line 10: Line 12:


: {{coinage|ryn|Íve Pailív|in=1879|nocat=1}}
: {{coinage|ryn|Íve Pailív|in=1879|nocat=1}}
And adds the categories ''Riyan coinages'' and ''Riyan terms coined by Íve Pailív''
Here's another example using more features.
{{tempn|coinage|ryn|nat=Riyan|occ=writer|alt=Ŗíme Birne|nocat=1}}
Generates:
: {{coinage|ryn|nat=Riyan|occ=writer|alt=Ŗíme Birne}}
And adds the categories ''Riyan coinages'' (but no specific category, as {{para|2}} is not set)


==Parameters==
==Parameters==
Line 17: Line 31:


; {{para|2}}
; {{para|2}}
: Optionally, the person, institution or group that coined the term
: Optionally, the person, institution or group that coined the term. If you specify this (and {{para|nocat}} is not set) then the category ''LANGNAME terms coined by {{{2}}}'' will be added. If this is not specified, you can still have text show up using {{para|3}}, or by specifying nationality and occupation. This can be useful in cases where the specific category is not wanted.
 
; {{para|3}} or {{para|alt}}
: Optionally, an alternative name to show in the page's text instead of the coiner. This can be useful if you want the added category to say one thing, but the text on the page to say another. Or if you have specific formatting needs for the coiner, but don't want to affect the category.
 
; {{para|nationality}} or {{para|nat}} or {{para|n}}
: Optionally the nationality of the coiner. This shows up as an adjective preceding the coiner.
 
; {{para|occupation}} or {{para|occ}} or {{para|o}}
: Optionally the occupation of the coiner. This shows up after the nationality and before the coiner.


; {{para|in}}
; {{para|in}}
Line 23: Line 46:


; {{para|nocat}}
; {{para|nocat}}
: Whether no category should be added. If this is omitted, the category ''LANGNAME coinages'' will be added.
: Whether no categories should be added.


; {{para|notext}}
; {{para|notext}}