How to create dictionary entries: Difference between revisions

From Rigpa Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:


==Verbs==
==Verbs==
To define a verb, use the following template, example: <code><nowiki>{{dverb|བསམས་པ།|སེམས་པ།|བསམ་པ།|སོམས།|ཐ་དད་པ་|v.t.}}</nowiki><code>, this will display the verb tenses (order: past, presence, future, imperative) in a formatted table and put the dictionary entry automatically into category verbs
To define a verb, use the following template, example: <code><nowiki>{{dverb|བསམས་པ།|སེམས་པ།|བསམ་པ།|སོམས།|ཐ་དད་པ་|v.t.}}</nowiki></code>, this will display the verb tenses (order: past, presence, future, imperative) in a formatted table and put the dictionary entry automatically into category verbs


==Redirects==
==Redirects==
when using a <code>#redirect</code> statement, always put the redirecting entry into both the categories <code>Tibetan-English Dictionary</code>  and  <code>Dictionary Referral</code>
when using a <code>#redirect</code> statement, always put the redirecting entry into both the categories <code>Tibetan-English Dictionary</code>  and  <code>Dictionary Referral</code>

Revision as of 11:29, 9 April 2011

The Category:Tibetan-English Dictionary uses a slightly more strict format than the other wiki entries:

{{Dictkey|<insert tibetan here>།}} ([[Wyl.]] ''<insert wylie here>'') ''n.'' {{Color|#808080|''Pron.:'' <insert pronunciation here>}}
* <insert description here> {{Dictref|[[<insert source acronym here>]]}}
* <insert other description here> {{Context|[[:Category:<category-name-here>|<same-category-name-here>]]}}
[[Category:Tibetan-English Dictionary]][[Category:<same-category-name-here>]]

The templates used are:

  • {{Dictkey|<insert tibetan here>།}}, used to make the Tibetan script of the keyword bigger, example: {{Dictkey|དང་།}} generates: དང་།
  • {{Color|#808080|''Pron.:'' <insert pronunciation here>}}, used to colorize the phonetics in gray, example: {{Color|#808080|''Pron.:'' dang}} generates: Pron.: dang
  • {{Context|[[:Category:<category-name>|<category-name>]]}}, used to display all entries in a category <category-name>. It's important to also add the statement [[Category:<category-name>]] to make the current entry member of this category too.
  • {{Dictref|[[<insert source acronym here>]]}}, used to insert a source reference, example: {{Dictref|[[PAD]]}} generates: PAD

Verbs

To define a verb, use the following template, example: {{dverb|བསམས་པ།|སེམས་པ།|བསམ་པ།|སོམས།|ཐ་དད་པ་|v.t.}}, this will display the verb tenses (order: past, presence, future, imperative) in a formatted table and put the dictionary entry automatically into category verbs

Redirects

when using a #redirect statement, always put the redirecting entry into both the categories Tibetan-English Dictionary and Dictionary Referral