• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Cite Tipitaka

  • Template
  • Talk
  • Language
  • Watch
  • Edit

“ ”
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 TemplateData
  • 2 Usage
    • 2.1 How to use
    • 2.2 Required parameters
    • 2.3 Book entry list
  • 3 Types
    • 3.1 side != yes
      • 3.1.1 Without Pali text
      • 3.1.2 With Pali text
    • 3.2 side = yes
  • 4 Subpages

TemplateData

edit

A template for displaying quotations from the Tipitaka, with options for side-by-side display or as a quote box, supporting Pali text and translation.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Translationtranslation

The translated text of the Sutta/Book quotation.

Example
May all sentient beings be happy.
Contentrequired
Palipali

The original text in Pali language (optional).

Example
Sabbasattā bhavantu sukhitattā.
Contentoptional
Bookbook

Abbreviation or name of the specific book in the Tipitaka (e.g., snp, mn, dn). Abbreviations follow those used on SuttaCentral. See the table in this template's documentation.

Example
snp
Stringoptional
Numbernumber

The number of the Sutta or section within the Book. For `Snp 1.8`, write only `1.8`.

Example
1.8
Stringoptional
Titletitle

The name of the Sutta (optional).

Example
Mettā Sutta
Stringoptional
Translatortranslator

The name of the translator (optional).

Example
Bhikkhu Sujato
Stringoptional
Sideside

If filled with 'yes', it will display the translation and Pali in two parallel columns (side-by-side) using a table format. If left empty, it will use the quote box format.

Example
yes
Stringoptional
Floatfloat

Alignment setting for the quote box ('left', 'right', or empty/default 'margin:auto'). Only applies if 'side' is not 'yes'.

Example
right
Stringoptional
Widthwidth

The width of the quote box (e.g., '300px', '50%'). Only applies if 'side' is not 'yes'.

Example
400px
Stringoptional
Widewide

If filled, sets the width of the quote box to 100%. Only applies if 'side' is not 'yes'.

Stringoptional
Bgcolorbgcolor

Background color for the quote box (e.g., 'lightgray', '#f9f9f9'). Only applies if 'side' is not 'yes'.

Example
#f9f9f9
Stringoptional
Qcolorqcolor

Color for the large quotation marks ('“' and '”') in the quote box (default: '#B2B7F2'). Only applies if 'side' is not 'yes'.

Example
#008000
Stringoptional
Sizesize

Size of the large quotation marks ('“' and '”') in the quote box (e.g., '40px'). Only applies if 'side' is not 'yes'.

Example
50px
Stringoptional
Quotewidthquotewidth

Alias for 'size', the size of the large quotation marks ('“' and '”'). Only applies if 'side' is not 'yes'.

Stringoptional
Smallsmall

If filled, reduces the padding around the quote box. Only applies if 'side' is not 'yes'.

Stringoptional
Quotealignquotealign

Text alignment inside the quote box ('center' or empty/default). Only applies if 'side' is not 'yes'.

Example
center
Stringoptional
RTLrtl

If filled, uses right-to-left (RTL) alignment to support certain languages. Only applies if 'side' is not 'yes'.

Stringoptional

Usage

edit

This template is primarily used to quote the contents of the Pali Canon as a canonical reference in Theravāda Buddhism, and not for other Tripitaka versions from other Buddhist schools due to fundamental structural differences.

How to use

edit
{{Cite tipitaka
|side=
|pali=
|translation=
|book=
|number=
|title=
|translator=
}}

Required parameters

edit
  • side
The box type (see the "#Types" section below); use "yes" for the two-column (left-right) style.
  • pali
The Pali language text.
  • translation
The translation text.
  • book
See the "#Book Entry List" section below.
  • number
The reference number within the book, e.g., 20 in MN 20.
  • title
The title of the *sutta* (optional).

Book entry list

edit

Book numbering is based on SuttaCentral's numbering. If you are using the old Pali Text Society numbering, please adjust it first.

Entry Output Name SC
Sutta Piṭaka
dn DN Dīghanikāya https://suttacentral.net/dn
mn MN Majjhimanikāya https://suttacentral.net/mn
sn SN Saṁyuttanikāya https://suttacentral.net/sn
an AN Aṅguttaranikāya https://suttacentral.net/an
kp Kp Khuddakapāṭha https://suttacentral.net/kp
dhp Dhp Dhammapada https://suttacentral.net/dhp
ud Ud Udāna https://suttacentral.net/ud
iti Iti Itivuttaka https://suttacentral.net/iti
snp Snp Suttanipāta https://suttacentral.net/snp
vi Vi Vimānavatthu https://suttacentral.net/vi
pv Pv Petavatthu https://suttacentral.net/pv
thag Thag Theragāthā https://suttacentral.net/thag
thig Thig Therīgāthā https://suttacentral.net/thig
tha-ap Tha Ap Therāpadāna https://suttacentral.net/tha-ap
thi-ap Thi Ap Therīapadāna https://suttacentral.net/thi-ap
bv Bv Buddhavaṁsa https://suttacentral.net/bv
cp Cp Cariyāpiṭaka https://suttacentral.net/cp
ja Ja Jātaka https://suttacentral.net/ja
mnd Mnd Mahāniddesa https://suttacentral.net/mnd
cnd Cnd Cūḷaniddesa https://suttacentral.net/cnd
ps Ps Paṭisambhidāmagga https://suttacentral.net/ps
ne Ne Netti https://suttacentral.net/ne
pe Pe Peṭakopadesa https://suttacentral.net/pe
mil Mil Milindapañha https://suttacentral.net/mil

Types

edit

side != yes

edit

Without Pali text

edit
{{Cite Tipitaka|translation={{lorem ipsum}}|sutta=Testing Sutta|number=1|translator=Bhikhku Sujato|book=dn|twobox=yes}}

“ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. ”
— DN 1
tr. Bhikhku Sujato

With Pali text

edit
{{Cite Tipitaka|pali={{lorem ipsum}}|translation={{lorem ipsum}}|sutta=Testing Sutta|number=2.3|translator=Bhikhku Sujato|book=snp}}

“ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
”
— Snp 2.3
tr. Bhikhku Sujato

side = yes

edit
{{Cite Tipitaka|pali={{lorem ipsum}}|translation={{lorem ipsum}}|sutta=Testing Sutta|number=23|translator=Bhikhku Sujato|book=mn|side=yes}}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
— MN 23
tr. Bhikhku Sujato

Subpages

edit

For the redundant parts of the template, the following are displayed:

  • Template:Cite Tipitaka/if book
  • Template:Cite Tipitaka/if translator
The above documentation is transcluded from Template:Cite Tipitaka/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Cite_Tipitaka&oldid=1350638591"