Teamplaid:Gbq
Coltas
{{{1}}}
Ùsaid - Usage
[deasaich]{{Gbq}} (for glossary block quotation), a.k.a. {{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 {{enUici|WP:Manual of Style/Glossaries|template-formatted glossaries]]. It supports all of the parameters of {{Quote}}.
Documentation of Teamplaid:Quote
|
---|
Comparison of output
[deasaich]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}} |
|
---|---|---|
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}} |
|
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
The above documentation is transcluded from Teamplaid:Gbq/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |