틀:Poem quote/doc: 두 판 사이의 차이
({Quote} is now {Blockquote}.) |
잔글 (판 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. |
A template for quoting poems, song lyrics, and other things that have frequent line breaks and other things that would generally be ignored in standard wiki formatting. Based on {{Blockquote}}; see there for further usage details.
Example
Markup | Renders as |
---|---|
|
|
Compare with {{Blockquote}}:
Markup | Renders as |
---|---|
|
|
Note that while the version above using {{Blockquote}} may appear to work in some browsers, it does not do so consistently in all of them. Use <poem>...</poem>
– or a template like {{Poem quote}}
that implements it – around material that requires that whitespace formatting be preserved as in the original, such as poems and interlinear glosses. Due to limitations of how MediaWiki parses wikimarkup and HTML, attempts to do this by just inserting blank lines and extra spaces will not work. This is true of all block elements.
(Technical note: Although {{Poem quote}} uses the Tag:#poem
markup rather than using <poem>
, it is functionally the same.)
TemplateData
TemplateData for Poem quote
Adds a block quotation.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
text | text 1 quote | The text to quote | 내용 | 필수 |
char | char | The character being quoted
| 내용 | 제안 |
sign | sign 2 cite author | The person being quoted
| 내용 | 제안 |
title | title 3 | The title of the poem being quoted
| 내용 | 제안 |
source | source 4 | A source for the quote
| 내용 | 제안 |
style | style | Standard CSS style | 문자열 | 선택 사항 |