Template:Sense/documentation: Difference between revisions

From The Languages of David J. Peterson
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} This template is used to specify a sense qualifier (a gloss) for a usage note, synonym, antonym or other -onym. Consider using one of the templates {...")
 
m (Changed links to point to Wiktionary)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


  ===Synonyms===
  ===Synonyms===
  <nowiki>* {{sense|an oath or affirmation}} [[promise]], [[vow]], [[word]] {{qualifier|informal}}</nowiki>
  <nowiki>* {{sense|an oath or affirmation}} {{wt|promise}}, {{wt|vow}}, {{wt|word}} {{qualifier|informal}}</nowiki>
:<big>'''Synonyms'''</big>
:<big>'''Synonyms'''</big>
:* {{sense|an oath or affirmation}} [[promise]], [[vow]], [[word]] {{qualifier|informal}}
:* {{sense|an oath or affirmation}} {{wt|promise}}, {{wt|vow}}, {{wt|word}} {{qualifier|informal}}


==Customization==
==Customization==
This template allows readers to customize the styles of sense glosses.  Your current style is this:
This template allows readers to customize the styles of sense glosses.  Your current style is this:
* {{sense|Sense gloss like this, your current style}} [[synonym]], [[synonym]], [[synonym]] {{qualifier|qualifier}}
* {{sense|Sense gloss like this, your current style}} {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} {{qualifier|qualifier}}


Some readers, however, prefer special treatment for sense glosses and other qualifiers:
Some readers, however, prefer special treatment for sense glosses and other qualifiers:
* (Sense gloss like this, non-italic): [[synonym]], [[synonym]], [[synonym]] (qualifier)
* (Sense gloss like this, non-italic): {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} (qualifier)
* (''Sense gloss like this'', ''mostly italic''): [[synonym]], [[synonym]], [[synonym]] (''qualifier'')
* (''Sense gloss like this'', ''mostly italic''): {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} (''qualifier'')
* ''(Sense gloss like this, all italic):'' [[synonym]], [[synonym]], [[synonym]] ''(qualifier)''
* ''(Sense gloss like this, all italic):'' {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} ''(qualifier)''
* <span style='font-variant: small-caps'>Sense gloss like this, small-caps, no parentheses</span>: [[synonym]], [[synonym]], [[synonym]] <span style='font-variant: small-caps'>qualifier</span>
* <span style='font-variant: small-caps'>Sense gloss like this, small-caps, no parentheses</span>: {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} <span style='font-variant: small-caps'>qualifier</span>
* <span style='font-size:smaller'>(Sense gloss like this, small):</span> [[synonym]], [[synonym]], [[synonym]] <span style='font-size:smaller'>(qualifier)</span>
* <span style='font-size:smaller'>(Sense gloss like this, small):</span> {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} <span style='font-size:smaller'>(qualifier)</span>


Readers can customize the styles using [[WT:PREFS]] or by editing their personal CSS files (e.g. [[Special:Mypage/monobook.css]]), as described in [[WT:CUSTOM]].
Readers can customize the styles using [[Project:PREFS]] or by editing their personal CSS files (e.g. [[Special:Mypage/monobook.css]]), as described in [[Project:CUSTOM]].


==See also==
==See also==
* {{temp|label}}, {{temp|qualifier}}
* {{temp|label}}, {{temp|qualifier}}
* {{temp|jump}}
* {{temp|jump}}
* [[Wiktionary:Grease pit/Italbrac and italbrac-colon]]
* [[Project:Grease pit/Italbrac and italbrac-colon]]


==TemplateData==
==TemplateData==

Latest revision as of 02:19, 25 August 2024

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

This template is used to specify a sense qualifier (a gloss) for a usage note, synonym, antonym or other -onym. Consider using one of the templates {{syn}}, {{ant}}, {{hypo}} etc. instead, which are placed directly under the appropriate sense and thus make indicating the sense unnecessary.

Do not use {{sense}} in the following cases:

  • To provide a context for a definition, use {{label}} instead.
  • To qualify a list item with something other than a sense gloss (e.g. to qualify a synonym with a region or register), use {{qualifier}} instead.
  • To format glosses in definitions of non-English words, use {{gloss}} instead.

Example

===Synonyms===
* {{sense|an oath or affirmation}} {{wt|promise}}, {{wt|vow}}, {{wt|word}} {{qualifier|informal}}
Synonyms

Customization

This template allows readers to customize the styles of sense glosses. Your current style is this:

Some readers, however, prefer special treatment for sense glosses and other qualifiers:

Readers can customize the styles using Project:PREFS or by editing their personal CSS files (e.g. Special:Mypage/monobook.css), as described in Project:CUSTOM.

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Sense

Use this template to specify a sense qualifier (a gloss) for a usage note, synonym, antonym, related term, or other -onym.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
sense gloss1

Short description of the sense

Example
an oath or affirmation
Stringrequired