Template:Quotation templates: Difference between revisions
Appearance
Content deleted Content added
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). |
Add {{Break lines}} |
||
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|Break lines}} | Transforms line breaks into <code><nowiki><br /></nowiki></code> tags. It is very similar to the {{tl|poem}} template, except that it does not invoke the <code><nowiki><poem></nowiki></code> MediaWiki extension. |
|||
| {{tlb|Text and translation}} | Displays original language and translated text, one beside the other |
| {{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 |
Revision as of 15:14, 1 May 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}}
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Quotation templates|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Quotation templates|state=expanded}}
will show the template expanded, i.e. fully visible.