East Asian religions

East Asian religions

A traditional representation of The Vinegar Tasters, an allegorical image representing Buddhists, Confucianists, and Taoists

In the study of comparative religion, the East Asian religions (also known as Far Eastern religions or Taoic religions) form a subset of the Eastern religions. This group includes Confucianism, Shinto, Taoism, and elements of Mahayana Buddhism; as well as new religious movements such as I-Kuan Tao (Yiguandao), Chen Tao, Cao Đài, Hòa Hảo, Chondogyo, and Jeung San Do.

These traditions or religious philosophies focus on the East Asian concept of Tao ("The Way"; pinyin dào, Korean do, Japanese or , Vietnamese đạo).

The place of East Asian religions among major religious groups is comparable to the Abrahamic religions and Indian religions.[1] East Asian religions are dominant in China, Japan, Korea, Vietnam, and other countries within the East Asian cultural sphere.

Early Chinese philosophies defined Tao and advocated cultivating Te in that Tao.[2] Some ancient schools have merged into traditions with different names or are no longer active, such as Mohism (and many others of the Hundred Schools of Thought), while some such as Taoism persist to the modern day. East Asian beliefs include polytheism, nontheism, henotheism, monotheism, pantheism, panentheism and agnostic.[3] East Asian religions have many Western adherents, though their interpretations may differ significantly from traditional East Asian thought and culture.

Contents

  • Terminology 1
  • Tao 2
    • Te 2.1
  • Traditions 3
    • Taoism 3.1
    • Confucianism 3.2
      • Neo-Confucianism 3.2.1
      • New Confucianism 3.2.2
    • Shinto 3.3
    • Chan Buddhism 3.4
    • Chinese folk religion 3.5
  • Taoism and Confucianism 4
  • Interaction with Indian religions 5
  • See also 6
  • Footnotes and references 7
  • External links 8

Terminology

Despite a wide variety of terms, the traditions described as "Far Eastern religions", "East Asian religions" or "Chinese religions" are recognized by scholars as a distinct religious family.[4][5]

Syncretism is a common feature of East Asian religions, often making it difficult to recognize individual faiths.[6][7] Further complications arise from the inconsistent use of many terms. "Tao religion" is often used for Taoism itself, especially Tao chiao,[8] as well as being used as an identifying term for Tao-based new religious movements.[9] The term "Far Eastern religion" can be used to refer only to faiths incorporating "Tao", may include Ch'an and Japanese Buddhism, and can even inclusively refer to all Asian religions.[10][11][12] These problems in distinguishing religious practices and with inconsistency in terminology can make discussion of East Asian religions difficult.

Tao

The Chinese character for "Tao"

Tao can be roughly stated to be the "flow" of the universe, or the force behind the natural order.[13] Believed to be the influence that keeps the universe balanced and ordered, Tao is associated with nature, due to a belief that nature demonstrates the Tao.[14] The flow of qi, as the essential energy of action and existence, is compared to the universal order of Tao. Similar to the negative theology of Western scholars, Tao is compared to what it is not.[15] It is often considered to be the source of both existence and non-existence.[16]

Te

Tao is often associated with "proper" attitude, morality and lifestyle. In practice, the exact meaning of "proper" varies among the East Asian faiths and their branches. This is intimately tied to the complex concept of Te (literally, "virtue"). Te is the active expression of Tao.[17]

Generally, those religions closer to Taoism express Te as "integrity" or "wholeness", while those faiths closer to Confucianism express this concept as "morality" or "sound character".[18]

Traditions

The three major East Asian traditions are Taoism, Confucianism, and Shinto.[19] Buddhism, although it may be classified as an Indian religion, has significant "Taoic" features in East Asia. Mahayana Buddhism is often considered as having joint heritage in Dharma and Tao traditions. The tentative larger classification of Eastern religions avoids this overlap and cross-pollination of "Indian" and "Far Eastern" religious thought, but loses the importance of the distinction between the doctrines related to Tao and Dharma.

Taoism

Taoism consists of a wide variety of related religious and philosophical traditions; categorization of Taoist schools and movements can be very controversial. This is complicated by hermeneutic (interpretive) difficulties in the categorization of Taoist schools, sects and movements.[20]

Taoism does not fall strictly under an umbrella or a definition of an Abrahamic traditions, nor can it purely be studied as the originator or a variant of Chinese folk religion, as much of the traditional religion is outside of the tenets and core teachings of Taoism. Robinet asserts that Taoism is better understood as a way of life than as a religion, and that its adherents do not approach or view Taoism the way non-Taoist historians have done.[21]

In general, Taoist propriety and ethics place an emphasis on the unity of the universe, the unity of the material world, and the spiritual world, the unity of the past, present and future; Three Jewels of the Tao; love, moderation, humility.[22] Taoist theology focuses on doctrines of wu wei ("non-action"), spontaneity, relativism and emptiness.[23][24]

Most traditional Chinese Taoists are polytheistic, but there are disagreements regarding the proper composition of their pantheon.[25] Popular Taoism typically presents the Jade Emperor as the head deity. Intellectual (or "elite") Taoism usually presents Laozi and the Three Pure Ones at the top of the pantheon.[26]

Nature and ancestor spirits are common in popular Taoism, but this sort of shamanism is eschewed for an emphasis on internal alchemy among the "elite" Taoists. Tao itself is rarely an object of worship, being treated more like the Indian concept of atman.[27]

Confucianism

Confucianism is a complex system of moral, social, political, and religious thought, influential in the history of East Asia. It is commonly associated with legalism, but actually rejects legalism for ritualism.[28] It also endorses meritocracy as the ideal of nobility.[29] Confucianism includes a complicated system governing duties and etiquette in relationships. Confucian ethics focus on familial duty, loyalty and humaneness.[30] Confucianism recognizes the existence of animistic spirits, ghosts and deities. It advocates paying them proper respect, but paradoxically also encourages avoiding them.[31] Confucian thought is notable as the framework upon which the syncretic Neo-Confucianism was built.[32]

Neo-Confucianism

A bronze statue of Confucius

Neo-Confucianism was deliberately created as a syncretism of Taoism, Confucianism and Chinese Buddhism. It is recognized as being formulated and established during the Song dynasty, but its roots can be traced to scholars of the Tang dynasty. It combined Buddhist religious concepts with Taoist yin yang theory and the I Ching, and placed them within the framework of classic Confucianism.[33]

Despite Neo-Confucianism's incorporation of the "best" elements of Buddhism and Taoism, its apologists still decried both faiths.[34] However, its influence on Chinese society has blurred the distinction between all three faiths, even into modern times. Neo-Confucianism was an officially endorsed faith for over five centuries, deeply influencing all of East Asia.[35]

New Confucianism

New Confucianism is a modernist Confucianism, which accommodates modern science and democratic ideals, while remaining conservative in preserving traditional Neo-Confucianist positions.

The influence of New Confucianism prompted since Deng Xiaoping became the leader of China in 1978 and helped cultural exchanges between China and Taiwan.[36]

Shinto

Shinto is an animistic folk religion from Japan. Shinto literally means "the way of the gods". Shinto and Asian Buddhism are inextricably linked in Japan.[37] Many Japanese Shintoists also identify themselves as Buddhists. Japanese Pure Land Buddhism is deeply tied with the Shinto faith.[38] Shinto practitioners commonly affirm tradition, family, nature, cleanliness and ritual observation as core values.[39] Taoist influence is significant in their beliefs about nature and self-mastery. Ritual cleanliness is a central part of Shinto life.[40] Shrines have a significant place in Shinto, reflecting the animistic veneration of the kami.[41] "Folk", or "popular", Shinto features an emphasis on shamanism, particularly divination, spirit possession and faith healing. "Sect" Shinto is a diverse group including mountain-worshippers and Confucian Shintoists.[42]

Chan Buddhism

Chan Buddhism (more commonly known in the West as Zen Buddhism) is a form of Mahayana Buddhism deeply influenced by Taoism[43] which emphasizes awareness, meditation and direct experience. Chan Buddhism takes a critical view of textual hermeneutics, the limitations of language and dogmatic assertions.[44] Zazen, sitting meditation, is a central practice. Eschewing scriptural study for direct communication, Chan places a high regard for the teacher-disciple relationship.[45] Ideal instructors are lionized in Chan stories. The lineage of a teaching is considered more important than its comparison with a test of orthodoxy.[46] Dialogues and stories called koans are a distinctive feature of Chan Buddhism. Koans often appear paradoxical or meaningless, but they are deployed as vehicles for the transformation of the perspective or consciousness of a disciple.[47]

Chinese folk religion

Chinese folk religion is a syncretic faith, originating in ancient tribal shamanism, that incorporates elements of Taoism, Buddhism, Confucianism, ancestor veneration and nature worship. It is historically the main source of Chinese mythology and has co-existed, both alongside and as part of, Taoism, Buddhism and Confucianism.

Taoism and Confucianism

The terms Tao and Te are religious and philosophical terms shared between Taoism and Confucianism.[48] The authorship of the Tao Te Ching is assigned to Laozi, who is traditionally held to have been a teacher of Confucius.[49] However, some scholars believe the Tao Te Ching arose as a reaction to Confucianism.[50] Zhuangzi, reacting to the Confucian-Mohist ethical disputes in his "history of thought", casts Laozi as a prior step to the Mohists by name and the Confucians by implication. However, secular scholars usually consider Laozi and Zhuangzi to have been essentially mythological figures.[51][52]

Early Taoist texts reject the basic assumptions of Confucianism which relied on rituals and order, in favour of the examples of "wild" nature and individualism. Historical Taoists challenged conventional morality, while Confucians considered society debased and in need of strong ethical guidance.[53]

Interaction with Indian religions

A painting of Confucius presenting a young Buddha to Laozi

The entry of


  • Hinduism And Buddhism Vol. 1; Book II, Chapter I Religions Of India And Eastern Asia
  • Internet East Asian History Sourcebook: Religious Traditions
  • Resources for East Asian Religions

External links

  1. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pp 71–72, 75–76. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  2. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 32. University of Massachusetts, 1981.
  3. ^
  4. ^ de Groot, J. J. M. Religion in China: Universism a Key to the Study of Taoism and Confucianism. Pp 45–46. Kessinger Publishing. 2004. ISBN 1-4179-4658-X.
  5. ^ James, Edwin Olver. The Comparative Study of Religions of the East (excluding Christianity and Judaism). Pg 5. University of Michigan Press. 1959.
  6. ^ Ito, Satoshi. Translated by Breen, John and Mark Teeuwen. Shinto – A Short History. Pg 9. Routledge. 2003. ISBN 0-415-31179-9
  7. ^ Fisher, Mary Pat. Living Religions: An Encyclopaedia of the World's Faiths. Pg 164. I.B. Tauris. 1997. ISBN 1-86064-148-2.
  8. ^ Vrijhof, Pieter Hendrik & Waardenburg, Jean Jacques. Official and Popular Religion: Analysis of a Theme for Religious Studies. Pg 419. Walter de Gruyter. 1979. ISBN 90-279-7998-7.
  9. ^ Beversluis, Joel Diederik. Sourcebook of the World's Religions: An Interfaith Guide to Religion and Spirituality. Pg 41. New World Library. 2000. ISBN 1-57731-121-3.
  10. ^ Fisher, Mary Pat. Living Religions: An Encyclopaedia of the World's Faiths. Pp 164–165, 174–175. I.B. Tauris. 1997. ISBN 1-86064-148-2.
  11. ^ Northrop, Filmer Stuart Cuckow. The Meeting of East and West: An Inquiry Concerning World Understanding. Pg 412. The Macmillan company. 1946.
  12. ^ Yamamoto, J. Isamu.Buddhism: Buddhism, Taoism and Other Far Eastern Religions. Zondervan. 1998. ISBN 0-310-48912-1.
  13. ^ Cane, Eulalio Paul. Harmony: Radical Taoism Gently Applied. Pg 13. Trafford Publishing, 2002. ISBN 1-4122-4778-0.
  14. ^ Martinson, Paul Varo A theology of world religions: Interpreting God, self, and world in Semitic, Indian, and Chinese thought. Pp 168–169. Augsburg Publishing House. 1987. ISBN 0-8066-2253-9.
  15. ^ This concept of being unable to accurately describe Tao is common among East Asian religions and Taoist writings. For example, "The Tao that can be told is not the eternal Tao; The name that can be named is not the eternal name." Tao Te Ching, First Chapter
  16. ^ See Wu Chi and Tai Chi for more information about "non-existence" and "existence" in East Asian religious thought.
  17. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pp 77–78, 88. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  18. ^ Yao, Xinzhong. An Introduction to Confucianism. Pp 155–156. Cambridge University Press. 2000. ISBN 0-521-64430-5.
  19. ^ James, Edwin Olver. The Comparative Study of Religions of the East (excluding Christianity and Judaism). Pg 5. University of Michigan Press. 1959.
  20. ^ Mair (2001) p. 174
  21. ^ Robinet (1997), pp. 3–4, 103.
  22. ^ Leaman, Oliver. Key Concepts in Eastern Philosophy . Pg 111. Routledge, 1999. ISBN 0-415-17362-0.
  23. ^ Slingerland, Edward Gilman. Effortless Action: Wu-Wei as Conceptual Metaphor and Spiritual Ideal in Early China. Oxford University Press, 2003. ISBN 0-19-513899-6.
  24. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pg 78. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  25. ^ Segal, Robert Alan. The Blackwell Companion to the Study of Religion. Pg 50. Blackwell Publishing. 2006. ISBN 0-631-23216-8.
  26. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 41. University of Massachusetts, 1981.
  27. ^ LaFargue, Michael. Tao and Method: A Reasoned Approach to the Tao Te Ching. Pg 283. SUNY Press. 1994. ISBN 0-7914-1601-1
  28. ^ Yao, Xinzhong. An Introduction to Confucianism. pp 191–192. Cambridge University Press. 2000. ISBN 0-521-64430-5
  29. ^ Smart, Ninian. World Philosophies. Pp 66. Routledge (UK). 2000. ISBN 0-415-22852-2.
  30. ^ De Bary,William Theodore & Tu, Weiming. Confucianism and Human Rights. Pg 149. Columbia University Press. 1998. ISBN 0-231-10936-9.
  31. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pp 46, 85. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  32. ^ Huang, Siu-chi. Essentials of Neo-Confucianism: Eight Major Philosophers of the Song and Ming Periods. Pg 5. Greenwood Press, 1999. ISBN 0-313-26449-X.
  33. ^ Huang, Siu-chi. Essentials of Neo-Confucianism: Eight Major Philosophers of the Song and Ming Periods. Pp 11–12, 63–64, 106. Greenwood Press, 1999. ISBN 0-313-26449-X.
  34. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 52–53. University of Massachusetts, 1981.
  35. ^ Flew, Antony G. A Dictionary of Philosophy. Pg 62. St. Martin's Griffin. 1984. ISBN 0-312-20923-1.
  36. ^
  37. ^ Pilgrim, Richard B. Buddhism and the Arts of Japan. Pg 1. Columbia University Press. 1999. ISBN 0-231-11347-1
  38. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pp. 161–162. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  39. ^ Ono, Sakyo. Shinto: The Kami Way. Pp 97–99, 103–104. Tuttle Publishing. 2004. ISBN 0-8048-3557-8
  40. ^ Ono, Sakyo. Shinto: The Kami Way. Pp 51–52, 108. Tuttle Publishing. 2004. ISBN 0-8048-3557-8
  41. ^ Markham, Ian S. & Ruparell, Tinu . Encountering Religion: an introduction to the religions of the world. pp 304–306 Blackwell Publishing, 2001. ISBN 0-631-20674-4.
  42. ^ Ono, Sakyo. Shinto: The Kami Way. Pg 12. Tuttle Publishing. 2004. ISBN 0-8048-3557-8
  43. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 48. University of Massachusetts, 1981.
  44. ^ Markham, Ian S. & Ruparell, Tinu . Encountering Religion: an introduction to the religions of the world. pp 199–200, 202. Blackwell Publishing, 2001. ISBN 0-631-20674-4.
  45. ^ Sharot, Stephen. A Comparative Sociology of World Religions: virtuosos, priests, and popular religion. Pp 72, 77. New York: NYU Press, 2001. ISBN 0-8147-9805-5.
  46. ^ Whiting, J.R.S. Religions for Today. Pp 46–47. Nelson Thornes. 1991. ISBN 0-7487-0586-4
  47. ^ Markham, Ian S. & Ruparell, Tinu . Encountering Religion: an introduction to the religions of the world. pp 202–203 Blackwell Publishing, 2001. ISBN 0-631-20674-4.
  48. ^ Markham, Ian S. & Ruparell, Tinu. Encountering Religion: an introduction to the religions of the world. Pg 254. Blackwell Publishing, 2001. ISBN 0-631-20674-4.
  49. ^ Hansen, Chad D. A Daoist Theory of Chinese Thought: A Philosophical Interpretation. Pp 202, 210. Oxford University Press. 2000. ISBN 0-19-513419-2.
  50. ^ Fisher, Mary Pat. Living Religions: An Encyclopaedia of the World's Faiths. Pg 167. I.B. Tauris. 1997. ISBN 1-86064-148-2.
  51. ^ Boltz, William G. "Lao tzu Tao te ching." Early Chinese Texts: A Bibliographical Guide, edited by Michael Loewe. pg 270. Berkeley: University of California, Institute of East Asian Studies. 1993. (Laozi)
  52. ^ Birrell, Anne. Chinese Myths. Pp 16–17. University of Texas Press. 2000. ISBN 0-292-70879-3. (Zhuangzi)
  53. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 39. University of Massachusetts, 1981.
  54. ^ Maspero, Henri. Translated by Frank A. Kierman, Jr. Taoism and Chinese Religion. pg 46. University of Massachusetts, 1981.
  55. ^ a b Prebish, Charles. Buddhism: A Modern Perspective. Pg 192. Penn State Press, 1975. ISBN 0-271-01195-5.
  56. ^ Dumoulin, Heinrich, Heisig, James W. & Knitter, Paul. Zen Buddhism: A History (India and China). Pp 68, 70–73, 167–168. World Wisdom, Inc, 2005. ISBN 0-941532-89-5.
  57. ^ Dumoulin, Heinrich, Heisig, James W. & Knitter, Paul. Zen Buddhism: A History (India and China). Pp 166–167, 169–172. World Wisdom, Inc, 2005. ISBN 0-941532-89-5.
  58. ^ Dumoulin, Heinrich, Heisig, James W. & Knitter, Paul. Zen Buddhism: A History (India and China). Pp 189–190, 268–269. World Wisdom, Inc, 2005. ISBN 0-941532-89-5.
  59. ^ a b Moore, Charles Alexander. The Chinese Mind: Essentials of Chinese Philosophy and Culture. Pp 133, 147. University of Hawaii Press. 1967. ISBN 0-8248-0075-3.
  60. ^ Markham, Ian S. & Ruparell, Tinu . Encountering Religion: an introduction to the religions of the world. pp 248–249. Blackwell Publishing, 2001. ISBN 0-631-20674-4.
  61. ^ Windows on Asia Asian Studies Center, Michigan State University.
return p

end

', table.concat(classes, ' '), s )
%s
function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '

function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end

function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end


-- Helper functions


local p = {}

local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno


return p-------------------------------------------------------------------------------- -- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --

end

', table.concat(classes, ' '), s )
%s
function p._hatnote(s, options) checkType('_hatnote', 1, s, 'string') checkType('_hatnote', 2, options, 'table', true) local classes = {'hatnote'} local extraclasses = options.extraclasses local selfref = options.selfref if type(extraclasses) == 'string' then classes[#classes + 1] = extraclasses end if selfref then classes[#classes + 1] = 'selfref' end return string.format( '

function p.hatnote(frame) local args = getArgs(frame) local s = args[1] local options = {} if not s then return p.makeWikitextError( 'no text specified', 'Template:Hatnote#Errors', args.category ) end options.extraclasses = args.extraclasses options.selfref = args.selfref return p._hatnote(s, options) end


-- Hatnote -- -- Produces standard hatnote text. Implements the template.


function p._formatLink(link, display) -- Find whether we need to use the colon trick or not. We need to use the -- colon trick for categories and files, as otherwise category links -- categorise the page and file links display the file. checkType('_formatLink', 1, link, 'string') checkType('_formatLink', 2, display, 'string', true) link = removeInitialColon(link) local namespace = p.findNamespaceId(link, false) local colon if namespace == 6 or namespace == 14 then colon = ':' else colon = end -- Find whether a faux display value has been added with the | magic -- word. if not display then local prePipe, postPipe = link:match('^(.-)|(.*)$') link = prePipe or link display = postPipe end -- Find the display value. if not display then local page, section = link:match('^(.-)#(.*)$') if page then display = page .. ' § ' .. section end end -- Assemble the link. if display then return string.format('%s', colon, link, display) else return string.format('%s%s', colon, link) end end

function p.formatLink(frame) local args = getArgs(frame) local link = args[1] local display = args[2] if not link then return p.makeWikitextError( 'no link specified', 'Template:Format hatnote link#Errors', args.category ) end return p._formatLink(link, display) end


-- Format link -- -- Makes a wikilink from the given link and display values. Links are escaped -- with colons if necessary, and links to sections are detected and displayed -- with " § " as a separator rather than the standard MediaWiki "#". Used in -- the template.


function p.makeWikitextError(msg, helpLink, addTrackingCategory) -- Formats an error message to be returned to wikitext. If -- addTrackingCategory is not false after being returned from -- Module:Yesno, and if we are not on a talk page, a tracking category -- is added. checkType('makeWikitextError', 1, msg, 'string') checkType('makeWikitextError', 2, helpLink, 'string', true) yesno = require('Module:Yesno') local title = mw.title.getCurrentTitle() -- Make the help link text. local helpText if helpLink then helpText = ' (help)' else helpText = end -- Make the category text. local category if not title.isTalkPage and yesno(addTrackingCategory) ~= false then category = 'Hatnote templates with errors' category = string.format( '%s:%s', mw.site.namespaces[14].name, category ) else category = end return string.format( '%s', msg, helpText, category ) end

function p.formatPageTables(...) -- Takes a list of page/display tables and returns it as a list of -- formatted links. Nil values are not allowed. local pages = {...} local links = {} for i, t in ipairs(pages) do checkType('formatPageTables', i, t, 'table') local link = t[1] local display = t[2] links[i] = p._formatLink(link, display) end return links end

function p.formatPages(...) -- Formats a list of pages using formatLink and returns it as an array. Nil -- values are not allowed. local pages = {...} local ret = {} for i, page in ipairs(pages) do ret[i] = p._formatLink(page) end return ret end

function p.findNamespaceId(link, removeColon) -- Finds the namespace id (namespace number) of a link or a pagename. This -- function will not work if the link is enclosed in double brackets. Colons -- are trimmed from the start of the link by default. To skip colon -- trimming, set the removeColon parameter to true. checkType('findNamespaceId', 1, link, 'string') checkType('findNamespaceId', 2, removeColon, 'boolean', true) if removeColon ~= false then link = removeInitialColon(link) end local namespace = link:match('^(.-):') if namespace then local nsTable = mw.site.namespaces[namespace] if nsTable then return nsTable.id end end return 0 end

local function removeInitialColon(s) -- Removes the initial colon from a string, if present. return s:match('^:?(.*)') end

local function getArgs(frame) -- Fetches the arguments from the parent frame. Whitespace is trimmed and -- blanks are removed. mArguments = require('Module:Arguments') return mArguments.getArgs(frame, {parentOnly = true}) end


-- Helper functions


local p = {}

local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local yesno -- lazily initialise Module:Yesno


-- Module:Hatnote -- -- -- -- This module produces hatnote links and links to related articles. It -- -- implements the and meta-templates and includes -- -- helper functions for other Lua hatnote modules. --


Footnotes and references

See also

Ideological and political rivals for centuries, Taoism, Confucianism, and Buddhism deeply influenced one another.[60] They did share some similar values. All three embraced a humanist philosophy emphasizing moral behavior and human perfection. In time, most Chinese people identified to some extent with all three traditions simultaneously.[61] This became institutionalised when aspects of the three schools were synthesised in the Neo-Confucian school.[59]

The Buddha's "Dharma" seemed alien and amoral to conservative and Confucian sensibilities.[58] Confucianism promoted social stability, order, strong families, and practical living, and Chinese officials questioned how a monk's monasticism and personal attainment of nirvana benefited the empire.[55] However, Buddhism and Confucianism eventually reconciled after centuries of conflict and assimilation.[59]

[57]