틀:Gbq/doc: 두 판 사이의 차이
< 틀:Gbq
둘러보기로 이동
검색으로 이동
잔글 (→Comparison of output: better example code) |
잔글 (판 1개를 가져왔습니다) |
(차이 없음)
|
2023년 4월 25일 (화) 14:59 기준 최신판
This is a documentation subpage for 틀:Terminate sentence It contains usage information, categories and other content that is not part of the original 틀 page. |
Usage
{{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 template-formatted glossaries. It supports all of the parameters of {{Quote}}.
Comparison of output
Gbq in glossary |
{{glossary}} {{term|term 1}} {{defn|no=1|Definition one.}} {{defn|no=2|Definition two.}} {{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|no=1|Definition one.}} {{defn|no=2|Definition two.}} {{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}} |
|
See also
{{glossary}}
a.k.a.{{glossary start}}
or{{glossary begin}}
– Half of a template pair; uses<dl>
with a class to open the structured glossary definition list that{{glossary end}}
closes.{{glossary end}}
– The other half of this template pair; uses</dl>
to close the definition list that{{glossary}}
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