Mẫu quotation
Bật/tắt thanh bên Show
Tìm kiếm
Công cụ cá nhân Tạo tài khoản Đăng nhập Trang dành cho người dùng chưa đăng nhập tìm hiểu thêm
Điều hướng
Tương tác
Công cụ
In/xuất ra
Ngôn ngữ Ở Wikipedia này, các liên kết giữa ngôn ngữ nằm ở đầu trang, đối diện với tiêu đề bài viết. Đi tới đầu trang.
5 ngôn ngữ
Sửa liên kết
Tiếng Việt
Thêm
Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[tạo] Biên tập viên sửa đổi có thể thử nghiệm trong các trang chỗ thử
(tạo |
sao) và trường hợp kiểm thử
(tạo) của bản mẫu này. Lấy từ “https://vi.wikipedia.org/w/index.php?title=Bản_mẫu:Random_quotation&oldid=60966386”
Cách sử dụng[sửa mã nguồn]
This is easier to type and is more wiki-like than the equivalent HTML Ghi chú: Block quotes do not normally contain quotation marks (see MOS:Blockquote). Bảng tóm tắt[sửa mã nguồn]Sử dụng cơ bản:{{Quote|chữ=Quoted material. |tác giả=Attribution |nguồn=Reference }} Các thông số[sửa mã nguồn]
Chú thích nguồn gốc[sửa mã nguồn]Một chú thích tham khảo có thể được đặt:
Please do not place the citation in a Kiểu[sửa mã nguồn]Styling is applied through CSS rules in MediaWiki:Common.css. /* Styling for bản mẫu:Quote */ blockquote.templatequote { margin-top: 0; } blockquote.templatequote div.templatequotecite { line-height: 1.5em; /* @noflip */ text-align: left; /* @noflip */ padding-left: 1.6em; margin-top: 0; } HTML: <blockquote class="templatequote"> <p>Quote text.p> <cite><div class="templatequotecite">—Tác giả, Nguồndiv>cite> blockquote> Các ví dụ[sửa mã nguồn]
Limitations[sửa mã nguồn]If you do not provide text, the template generates a parser error message, which will appear in red text in the rendered page. If any parameter's actual value
contains an equals sign ( If any parameter's actual value contains characters used for wiki markup syntax (such as pipe, brackets, single quotation marks, etc.), you may need to escape it. See Bản mẫu:! and friends. Be wary of URLs which contain restricted characters. The equals sign is especially common. Put a break (newline) after the template, or the next blank line might be ignored. As noted above, the Next to right-floated boxes[sửa mã nguồn]Tính đến tháng 9 năm 2015, the text of a block quotation may rarely overflow (in Firefox or other Gecko browsers) a right-floated item (e.g. a
There
may be other solutions, and future browser upgrades may eliminate the issue. It arises at all because of the Vanishing quotes[sửa mã nguồn]In rare layout cases, e.g. when quotes are sandwiched between userboxes, a quotation may appear blanked out, in some browsers. The workaround for this problem is to add Line breaks[sửa mã nguồn]
The
The simplest workaround for this is to use the
Dữ liệu bản mẫu[sửa mã nguồn]Adds a block quotation. Tham số bản mẫu
Các lỗi[sửa mã nguồn]Pages where this template is not used correctly populate Thể loại:Các trang không đúng làm bản mẫu quote. Known problems[sửa mã nguồn]This template sets a text style which might ignore one blank line, and so the template must be ended with a break (newline). Otherwise, beware inline, as:
Unless a {{quote|xx}} is ended with a line break, then the next blank line might be ignored and two paragraphs joined. Xem thêm[sửa mã nguồn] |