Teamplaid:Ghat

O Wiktionary

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Ùsaid - Usage[deasaich]

This template is used in template-structured glossaries with the {{Defn}} template to provide an explanatory hatnote for a {{Term}}. It can also be used in manually coded HTML description lists.

Important:

  • It must be used at the top of, i.e. inside, a {{defn}} (or manual <dd>...</dd> markup) that pertains to the {{term}}, usually at the top of the first one unless it only pertains to a specific definition.
  • It cannot be used between the {{term}} and {{defn}} (i.e., between </Dt> and <dd>), or inside {{term|content=...}} (<Dt>...</Dt>), or it will break the Glossary (description list) markup.

Inline (e.g. {{Crossreference}}) or after-content (e.g. {{More}}) note templates can be used inside definitions normally. The purpose of this template is prevent the excessive indentation of hatnotes at the top of the definition.

This template is not for crossreferences to other pages, or other forms of Wikipedia self-reference. For those, use {{Crossreference}}. (This template does not use the CSS class selfref.)

When used with a multi-definition term, the definition in which the {{ghat}} appears must be manually numbered (usually 1&nbsp; ..., as shown in the example below).

Eisimpleirean - Examples[deasaich]

{{Glossary}}
{{Term| colour ball |colour ball {{Anchor|coloured ball|coloured balls|colour|colours|color ball}}}}
{{Defn|1=
{{Ghat|Also '''coloured ball(s)''', '''colour(s)'''; American spelling '''color''' sometimes also used.}}
1.&nbsp; In {{enUici|snooker|snooker}}, any of the {{Cuegloss|object ball|object balls}} that are not {{Cuegloss|red ball|reds}}.
}}
{{Defn |no=2 |1=
In {{enUici|Blackball (pool)|blackball}}, a generic, collective term for the red and yellow {{Cuegloss|group|groups}} of object balls.
{{Glossary end}}

Results in:

colour ball

Also coloured ball(s), colour(s); American spelling color sometimes also used.

1.  In snooker, any of the object balls that are not reds.
2.  In blackball, a generic, collective term for the red and yellow groups of object balls.

Faic cuideachd - Also see


  • {{Glossary}} a.k.a. {{Gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{Glossary end}} a.k.a. {{Glossend}} – The other half of this template pair; uses </dl> to close the definition list that {{gloss}} opens.
  • {{Term}} – The glossary term to which the {{defn}} definition applies; a customized <dt> with a class and an embedded <dfn>.
  • {{Defn}} – The definition that applies to the {{term}}; uses <dd> with a class
  • {{Ghat}} – a hatnote template properly formatted for the top of a {{defn}} definition
  • {{Gbq}} a.k.a. {{Gquote}} – a block quotation template properly formatted for inclusion in a {{defn}} definition
  • {{Glossary link}} – meta-template for creating shortcut templates for linking to definitions in specific glossaries
  • Wikipedia:Manual of Style/Glossaries