Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a277b0f4b8ee2308

Jump to content

Template:QuoteTranslation/doc

From Wikipedia, the free encyclopedia

Description

[edit]

This template is used to present extended quotes, excerpts from historical texts, or source documents in a distinct visual setting. It allows the original text and its translation to be displayed in a separate block, facilitating parallel reading. It is inspired by the citation style for classical texts.

Usage

[edit]

Copy the following code in your article and fill in the necessary parameters.

{{QuoteTranslation
| title       = 
| description = 
| quote       = 
| label       = 
| translation = 
| color       = 
| width       = 
}}

Parameters

[edit]
Parameter Description Type Default value
title The main title of the source or quoted section. Appears at the top of the frame, in a bold font. Optional (empty)
description Introductory or contextual text which appears under the title. Optional (empty)
quote The original quote. Appears in the upper part of the frame. Optional (empty)
label A short text that appears before the translation (e.g.: Modern translation, In English). Optional (empty)
translation The translated text. Appears in the lower part of the frame. Optional (empty)
color The background color of the frame. Can be a hex code or a color name. Optional #ffffff (white)
width The width of the frame, expressed in percentages. Optional 100%

Examples

[edit]

Complete example (Historical text)

[edit]
{{QuoteTranslation
| title       = 『Nihon Shoki』
| description = Fragment from the 65th year of Emperor Nintoku's reign.
| color       = #ffffff
| quote       = 六十五年 飛騨國有一人 曰宿儺 其為人 壹體有兩面...
| label       = (Modern translation)
| translation = In the year 65, in Hida Province, there was a man named Sukuna...
| width       = 100%
}}
『Nihon Shoki』
Fragment from the 65th year of Emperor Nintoku's reign.
六十五年 飛騨國有一人 曰宿儺 其為人 壹體有兩面...
(Modern translation)
In the year 65, in Hida Province, there was a man named Sukuna...

Simple example with colored background

[edit]
{{QuoteTranslation
| title = Example note
| color = #f9f9f9
| quote = This is a simple quote on a light gray background, with no translation.
| width = 50%
}}
Example note


This is a simple quote on a light gray background, with no translation.