Template:Quotation templates: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m 1 revision imported: Templates and CSS files |
imported>CJDOS m Removed underscores from link. Misplaced close-parenthesis, and missing commas; fixed. Shortcuts displayed with the actual templates are not that important; reduced parentheses font size (they can be read at the template's doc if needed). |
||
| Line 14: | Line 14: | ||
| ↓ ''Block quotations'' | ''General purpose'' | | ↓ ''Block quotations'' | ''General purpose'' | ||
| {{tlb|Blockquote}} | Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution | | {{tlb|Blockquote}} | Our standard block quotation template: unbordered page-wide quotation with optional smaller-sized attribution | ||
| {{tlb| | | {{tlb|Text and translation}} | Displays original language and translated text, one beside the other | ||
| {{tlb|Poem}} | {{tl|Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of {{xtag|poem}} tags or frequent formatting elements (such as {{Nowrap|{{code|lang=html|code=<br />}}}}); requires substitution | | {{tlb|Poem}} | {{tl|Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of {{xtag|poem}} tags or frequent formatting elements (such as {{Nowrap|{{code|lang=html|code=<br />}}}}); requires substitution | ||
| {{tlb|Poem quote}} | {{tl|Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of {{xtag|poem}} tags or frequent formatting elements (such as {{Nowrap|{{code|lang=html|code=<br />}}}}); does not require substitution | | {{tlb|Poem quote}} | {{tl|Blockquote}} variant for use with poems, song lyrics, and other things that would otherwise require the use of {{xtag|poem}} tags or frequent formatting elements (such as {{Nowrap|{{code|lang=html|code=<br />}}}}); does not require substitution | ||
| Line 27: | Line 27: | ||
| | | | | | ||
| ↓ ''Talk page quoting'' | ''Not for use in articles nor the project space at all'' | | ↓ ''Talk page quoting'' | ''Not for use in articles nor the project space at all'' | ||
| {{tlb|Talk quote inline}}{{Clear}}(shortcut: {{tlb|tq}} | | {{tlb|Talk quote inline}}{{Clear}}<small>(shortcut: {{tlb|tq}},{{Clear}}{{tlb|tqq}}, {{tlb|tqi}}, or {{tlb|tqqi}})</small> | Inline quotation for use on talk pages | ||
| {{tlb|Not talk quote inline}}{{Clear}}(shortcut: {{tlb|!tq}} | | {{tlb|Not talk quote inline}}{{Clear}}<small>(shortcut: {{tlb|!tq}},{{Clear}}{{tlb|!tqq}}, {{tlb|!tqi}}, or {{tlb|!tqqi}})</small> | Inline quotation for what someone didn't say but could have, or perhaps, should have | ||
| {{tlb|Talk quote block}}{{Clear}}(shortcut: {{tlb|tqb}}, {{tlb|tq2}}) | Block-style quotation for use on talk pages | | {{tlb|Talk quote block}}{{Clear}}<small>(shortcut: {{tlb|tqb}}, {{tlb|tq2}})</small> | Block-style quotation for use on talk pages | ||
| {{tlb|Talk quote block minimalist}}{{Clear}}(shortcut: {{tlb|tqbm}}) | [[Minimalist]] version of above | | {{tlb|Talk quote block minimalist}}{{Clear}}<small>(shortcut: {{tlb|tqbm}})</small> | [[Minimalist]] version of above | ||
| | | | | | ||
| ↓ ''Alternative'' | ''For indenting non-quotations'' | | ↓ ''Alternative'' | ''For indenting non-quotations'' | ||
Latest revision as of 03:50, 8 February 2023
Intended for transclusion at the end of the documentation for each of the main quotation templates, e.g. as part of a "See also" section such as:
===See also===
'''Direct variants'''
* {{tl|SameName2}}, identical but using italic text.
* {{tl|SameName3}}, identical but using bold text.
'''Useful related templates'''
* {{tl|Smaller-begin}}, to start smaller-font section.
* {{tl|Smaller-end}}, to end smaller-font section.
{{Quotation templates}}
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Quotation templates|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Quotation templates|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Quotation templates|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.