How to create dictionary entries: Difference between revisions

From Rigpa Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
<nowiki>* <insert description here>  {{Dictref|[[<insert source acronym here>]]}}</nowiki><br>
<nowiki>* <insert description here>  {{Dictref|[[<insert source acronym here>]]}}</nowiki><br>
<nowiki>* <insert other description here> {{Context|[[:Category:<category-name-here>|<same-category-name-here>]]}}</nowiki><br>
<nowiki>* <insert other description here> {{Context|[[:Category:<category-name-here>|<same-category-name-here>]]}}</nowiki><br>
<nowiki>==Further Information==</nowiki><br>
<nowiki>[[related-wiki-topic]]</nowiki><br>
<nowiki>[[Category:Tibetan-English Dictionary]][[Category:<same-category-name-here>]]</nowiki></code>
<nowiki>[[Category:Tibetan-English Dictionary]][[Category:<same-category-name-here>]]</nowiki></code>


The templates used are:
The templates used are:
Line 13: Line 16:
* <code><nowiki>{{Context|[[:Category:<category-name>|<category-name>]]}}</nowiki></code>, used to display all entries in a category <code><category-name></code>. It's important to also add the statement <code><nowiki>[[Category:<category-name>]]</nowiki></code> to make the current entry member of this category too.
* <code><nowiki>{{Context|[[:Category:<category-name>|<category-name>]]}}</nowiki></code>, used to display all entries in a category <code><category-name></code>. It's important to also add the statement <code><nowiki>[[Category:<category-name>]]</nowiki></code> to make the current entry member of this category too.
* <code><nowiki>{{Dictref|[[<insert source acronym here>]]}}</nowiki></code>, used to insert a source reference, example: <code><nowiki>{{Dictref|[[PAD]]}}</nowiki></code> generates: {{Dictref|[[PAD]]}}.
* <code><nowiki>{{Dictref|[[<insert source acronym here>]]}}</nowiki></code>, used to insert a source reference, example: <code><nowiki>{{Dictref|[[PAD]]}}</nowiki></code> generates: {{Dictref|[[PAD]]}}.
Best approach to generate new entries is to edit and copy an existing entry, and then modify the relevant data.
Please maintain the precise formatting (including all white-spaces), because the entries are also modified automatically by programs relying on this format.


==Verbs==
==Verbs==
Line 20: Line 26:
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>.


[[Category:Help]]
[[Category:Editorial Pages]]

Latest revision as of 13:52, 20 April 2021

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>]]}}
==Further Information==
[[related-wiki-topic]]
[[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.

Best approach to generate new entries is to edit and copy an existing entry, and then modify the relevant data. Please maintain the precise formatting (including all white-spaces), because the entries are also modified automatically by programs relying on this format.

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.