Difference between revisions of "Template:Glossary templates see also"

From blackwiki
Jump to navigation Jump to search
imported>Nøkkenbuer
(→‎top: replaced en-dash HTML entity with the en-dash itself; replaced {{tag}}s with {{code}}s for syntax highlighting; added {{aka}} with a.k.a.s; clarified redirects and made consistent within template)
imported>SMcCandlish
(That's just "reader-hateful"; see user talk thread about this. Fixing one of the {{tag}} markup examples, though.)
 
Line 1: Line 1:
 
<!--This is transcluded into all these templates' /doc pages to save time.-->
 
<!--This is transcluded into all these templates' /doc pages to save time.-->
 
<div style="float:right; padding:0 1em;">{{navbar|Glossary templates see also|plain=y}}</div>
 
<div style="float:right; padding:0 1em;">{{navbar|Glossary templates see also|plain=y}}</div>
* {{tlx|glossary}} {{aka}} {{tlx|gloss}} – Half of a template pair; uses {{code|lang=HTML|code=<dl>}} with a class to open the structured glossary definition list that {{tnull|glossend}} closes.
+
* {{tlx|glossary}} {{aka}} {{tlx|gloss}} – Half of a template pair; uses {{tag|dl|o}} with a class to open the structured glossary definition list that {{tnull|glossend}} closes.
* {{tlx|glossary end}} a.k.a. {{tlx|glossend}} – The other half of this template pair; uses {{code|lang=HTML|code=</dl>}} to close the definition list that {{tnull|gloss}} opens.
+
* {{tlx|glossary end}} a.k.a. {{tlx|glossend}} – The other half of this template pair; uses {{tag|dl|c}} to close the definition list that {{tnull|gloss}} opens.
* {{tlx|term}} – The glossary term to which the {{tnull|defn}} definition applies; a customized {{code|lang=HTML|code=<dt>}} with a class and an embedded {{code|lang=HTML|code=<dfn>}}.
+
* {{tlx|term}} – The glossary term to which the {{tnull|defn}} definition applies; a customized {{tag|dt|o}} with a class and an embedded {{tag|dfn|o}}.
* {{tlx|defn}} – The definition that applies to the {{tnull|term}}; uses {{code|lang=HTML|code=<dd>}} with a class
+
* {{tlx|defn}} – The definition that applies to the {{tnull|term}}; uses {{tag|dd|o}} with a class
 
* {{tlx|ghat}} – a hatnote template properly formatted for the top of a {{tnull|defn}} definition
 
* {{tlx|ghat}} – a hatnote template properly formatted for the top of a {{tnull|defn}} definition
 
* {{tlx|gbq}} a.k.a. {{tlx|gquote}} – a block quotation template properly formatted for inclusion in a {{tnull|defn}} definition
 
* {{tlx|gbq}} a.k.a. {{tlx|gquote}} – a block quotation template properly formatted for inclusion in a {{tnull|defn}} definition

Latest revision as of 19:56, 24 June 2018

  • {{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
Template documentation[view] [edit] [history] [purge]

Usage

You can add this sub-template to the "See also" sections of the templates in Category:Glossary templates:

Markup Renders as
==See also==
{{Glossary templates see also}}
See also
  • {{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

A "See also" section that contains this template can also provide more information, preferably in the same format with subheadings, such as:

Markup Renders as
==See also==
=== Related templates === 
{{Glossary templates see also|heading=y}}

=== Useful pages ===
* [[Wikipedia:Accessibility]]
* [[Semantic HTML]]
See also
Related templates
  • {{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
Useful pages

See also