「テンプレート:Quotation templates」の版間の差分
細 (1版 をインポートしました) |
Template:Quotation templates>Grufo (Add {{Break lines}}) |
||
14行目: | 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 |
2023年5月2日 (火) 00:14時点における版
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
.