Template:Gbq/doc: Difference between revisions

Jump to navigation Jump to search
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
m (1 revision imported)
 

Latest revision as of 22:23, 28 November 2020

Usage

{{Gbq}} (for glossary block quotation), Template:Aka {{Gquote}}, is a shortcut invocation of {{Quote|style=margin-top: 0; margin-bottom: -0.5em; |...}}. It reduces the large top and bottom padding of block quotations to fit better (and more consistently with other inline-block elements like lists) when used inside definitions in template-formatted glossaries. It supports all of the parameters of {{Quote}}.

Documentation of Template:Quote

Template:Strip categories

Comparison of output

Gbq in glossary
{{glossary}}
{{term|term 1}}
{{defn|Definition 1.}}
{{defn|Definition 2.}}
{{term|term 2}}
{{defn|Beginning of long definition.
{{gbq|Block quotation.}}
Conclusion of long definition.
}}
{{term|term 3}}
{{defn|Definition with list:
* Point 1
* Point 2.}}
{{glossary end}}
term 1
Definition 1.
Definition 2.
term 2
Beginning of long definition.

Block quotation.

Conclusion of long definition.

term 3
Definition with list:
  • Point 1
  • Point 2.
Quote in glossary
{{glossary}}
{{term|term 1}}
{{defn|Definition 1.}}
{{defn|Definition 2.}}
{{term|term 2}}
{{defn|Beginning of long definition.
{{quote|Block quotation.}}
Conclusion of long definition.
}}
{{term|term 3}}
{{defn|Definition with list:
* Point 1
* Point 2.}}
{{glossary end}}
term 1
Definition 1.
Definition 2.
term 2
Beginning of long definition.

Block quotation.

Conclusion of long definition.

term 3
Definition with list:
  • Point 1
  • Point 2.

See also

Template:Glossary templates see also