Template:Sense/documentation: Difference between revisions
m (Replaced Wiktionary: links with Project: links) |
m (Changed links to point to Wiktionary) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
===Synonyms=== | ===Synonyms=== | ||
<nowiki>* {{sense|an oath or affirmation}} | <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}} | :* {{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}} | * {{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): | * (Sense gloss like this, non-italic): {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} (qualifier) | ||
* (''Sense gloss like this'', ''mostly italic''): | * (''Sense gloss like this'', ''mostly italic''): {{wt|synonym}}, {{wt|synonym}}, {{wt|synonym}} (''qualifier'') | ||
* ''(Sense gloss like this, all italic):'' | * ''(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>: | * <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> | * <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 [[ | 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== |
Latest revision as of 02:19, 25 August 2024
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}}
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:
- (Sense gloss like this, non-italic): synonym, synonym, synonym (qualifier)
- (Sense gloss like this, mostly italic): synonym, synonym, synonym (qualifier)
- (Sense gloss like this, all italic): synonym, synonym, synonym (qualifier)
- Sense gloss like this, small-caps, no parentheses: synonym, synonym, synonym qualifier
- (Sense gloss like this, small): synonym, synonym, synonym (qualifier)
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
{{label}}
,{{qualifier}}
{{jump}}
- Project:Grease pit/Italbrac and italbrac-colon
TemplateData
TemplateData for Sense
Use this template to specify a sense qualifier (a gloss) for a usage note, synonym, antonym, related term, or other -onym.
Parameter | Description | Type | Status | |
---|---|---|---|---|
sense gloss | 1 | Short description of the sense
| String | required |