Template:Talk quote block/doc
| File:Edit-copy green.svg | 此頁面是Template:Talk quote block的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
| CSS | 本模板使用以下模板样式: |
使用說明[编辑]
本模板專用於“討論頁”使用,禁止在條目中使用。
參見變體{{Talk quote blockTalk quote block/styles.css general}}。
說明[编辑]
常用方式[编辑]
{{talkquote|text|by}}
完整使用方式[编辑]
{{talkquote|text=text|by=by|source=source|ts=ts|diff=diff}}
- text:討論的內容。
- by:用戶。
- source:來源
- diff:完整的URL參數。
- ts:时间戳文本,一般不使用,除非有“diff”參數使用。
示例[编辑]
一般方式[编辑]
{{talkquote|some random text|Example}}gives:
some random text
— User:Example
{{talkquote|more random text|Example|ts=~~~~~}}gives:
more random text
— User:Example 08:52, 21 May 2011 (UTC)
{{talkquote|different random text|Example|ts=~~~~~|diff=http://en.wikipedia.org/wiki/Main_Page?diff=139992}}gives:
different random text
— User:Example 08:52, 21 May 2011 (UTC)
其他方式[编辑]
Random paragraph of text. [[User:Example|Example]] ([[User talk:Example|talk]]) 09:20, 21 May 2011 (UTC)
:Opening statement by [[User:User|Some other user]].
:{{talkquote|Quoting an item from random paragraph.}}
:Response to quoted text. [[User:User|Some other user]] ([[User talk:User|talk]]) ~~~~~
Random paragraph of text. Example (talk) 09:20, 21 May 2011 (UTC)
- Opening statement by Some other user.
Quoting an item from random paragraph.
- Response to quoted text. Some other user (talk) 09:26, 21 May 2011 (UTC)
參見[编辑]
- {{Quote}}——不带边框的引用,可设定高度。
- {{Verse translation}}——引用外文詩歌、歌詞等引文,並附上譯文
带边框式
- {{Wquote}}——带柔和渐变的灰色阴影,采用圆角。
- {{现代显示框}}——同样带柔和渐变的灰色阴影,但更为柔和、没有圆角,且更为美观。
- {{现代蓝边、渐变底纹显示框}}——框内由上至下呈现白色至蓝色的渐变,非常柔和,边线偏蓝且较为柔和。
- {{Quote box}}——带边框的引用,在一个缩小的浮动框中。
- {{Quote frame}}——带边框的引用。
- {{Squote}}——带边框的引用,有立體感。
带引号式
讨论页
- {{Talk quote inline}}——行内引用討論頁的內容。
- {{Talk quote block}}——块状引用討論頁的內容,文字內容會自動添加「綠色」的底色。
- {{Talk quote block general}}——自定義版。
- {{Talk quote block minimalist}}——极简主义版。
参见
- Category:引文模板——更多模板。
<templatedata> { "params": { "text": { "label": "留言內容", "description": "引用的討論內容。", "example": "海納百川,有容乃大,人人可編輯的自由百科全書。", "type": "content" }, "by": { "label": "用戶", "description": "說出這段內容的人。", "example": "範例", "type": "wiki-user-name" }, "source": { "label": "來源", "type": "content" }, "diff": { "label": "網址", "description": "完整的URL網址。", "type": "url" }, "ts": { "label": "時間戳文本", "description": "配合「網址」參數使用。", "type": "date" } }, "format": "inline" } </templatedata>