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

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(meh)
imported>SMcCandlish
m (typo)
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=1}}</div>
+
<div style="float:right; padding:0 1em;">{{navbar|Glossary templates see also|plain=y}}</div>
 
* {{tl|gloss}} &ndash; Half of a template pair; uses {{tag|dl|o}} with a class to open the structured glossary definition list that {{tl|glossend}} closes.
 
* {{tl|gloss}} &ndash; Half of a template pair; uses {{tag|dl|o}} with a class to open the structured glossary definition list that {{tl|glossend}} closes.
 
* {{tl|glossend}} &ndash; The other half of this template pair; uses {{tag|/dl|o}} to close the definition list that {{tl|gloss}} opens.
 
* {{tl|glossend}} &ndash; The other half of this template pair; uses {{tag|/dl|o}} to close the definition list that {{tl|gloss}} opens.

Revision as of 07:12, 2 March 2012

  • {{gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{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 for just above the main content of the first definition
  • 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
  • {{gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{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 for just above the main content of the first definition
  • 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
  • {{gloss}} – Half of a template pair; uses <dl> with a class to open the structured glossary definition list that {{glossend}} closes.
  • {{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 for just above the main content of the first definition
  • Wikipedia:Manual of Style/Glossaries
Useful pages

See also