模板:Talk quote block/doc
| File:Edit-copy green.svg | 此頁面是Template:Talk quote block的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
| 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>