Template:sh-proper noun/documentation: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
WOSlinker (talk | contribs)
wikitable
bring documentation in line with the others
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
This template is used to generate the headword-line for Serbo-Croatian proper nouns. It should be used just under the 'Proper noun' header for Serbo-Croatian words. It automatically generates the Cyrillic or Latin script counterpart. It places the entry into [[:Category:Serbo-Croatian proper nouns]].
This template formats the head word (in bold), gender, category and script support for [[:Category:Serbo-Croatian proper nouns|Serbo-Croatian proper nouns]]. Please do not use <code>subst:</code>

This template uses [[Module:sh-headword]].


==Parameters==
==Parameters==
;{{para|head}}, {{para|head2}}, ...
{| class="wikitable"
:Override the head. Used to show accent marks.
! Parameter
;{{para|tr}}, {{para|tr2}}, ...
! Function
:Override the automatic transliteration. Rarely needed.
! Default value (if left unspecified)
;{{para|g}}
|-
:Gender of the proper noun.
|<tt>1</tt>
|The script; accepts <tt>c</tt> for Cyrillic or <tt>r</tt> for Latin (Roman)
|<tt>Latn</tt> (Latin script)
|-
|<tt>2</tt>
|The other script equivalent. When the current script is Latin, specify a Cyrillic equivalent. When the script is Cyrillic, specify a Latin equivalent
|none, optional
|-
|<tt>g</tt>
|The gender.
|[[:Category:Serbo-Croatian nouns lacking gender]]
|-
|<tt>head</tt>
|The head word in bold, if different from the page name, to add diacritics, or to link to individual words.
|<tt><nowiki>{{PAGENAME}}</nowiki></tt>
|}


==See also==
* [[:Category:Serbo-Croatian headword-line templates]]
<includeonly>
<includeonly>
[[Category:Serbo-Croatian headword-line templates|noun proper]]
[[Category:Serbo-Croatian headword-line templates|noun proper]]

Latest revision as of 11:51, 17 May 2024

Documentation for Template:sh-proper noun. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is used to generate the headword-line for Serbo-Croatian proper nouns. It should be used just under the 'Proper noun' header for Serbo-Croatian words. It automatically generates the Cyrillic or Latin script counterpart. It places the entry into Category:Serbo-Croatian proper nouns.

This template uses Module:sh-headword.

Parameters[edit]

|head=, |head2=, ...
Override the head. Used to show accent marks.
|tr=, |tr2=, ...
Override the automatic transliteration. Rarely needed.
|g=
Gender of the proper noun.