User:AlexC: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Good instinct — let's isolate each piece before combining them. Paste this into your User:AlexC sandbox and preview: | |||
wikitext | |||
=== Test A: #pos with semicolon present === | |||
Value: {{#pos:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra;Ch. 4::4::Exhortation to Higher Intention|;}} | |||
=== Test B: #pos with no semicolon (single occurrence) === | |||
Value: {{#pos:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra|;}} | |||
=== Test C: #ifeq using Test A's result === | |||
{{#ifeq:{{#pos:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra;Ch. 4::4::Exhortation to Higher Intention|;}}| | |||
|SINGLE (this means #pos returned empty, so no semicolon was detected) | |||
|MULTIPLE (this means #pos found a semicolon and returned its position) | |||
}} | |||
=== Test D: #ifeq using Test B's result === | |||
{{#ifeq:{{#pos:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra|;}}| | |||
|SINGLE (correct expected result for a single occurrence) | |||
|MULTIPLE (would mean #pos behaved unexpectedly here) | |||
}} | |||
=== Test E: #arraymap splitting on semicolon === | |||
{{#arraymap:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra;Ch. 4::4::Exhortation to Higher Intention|;|@@@|ITEM: [@@@]|<br>}} | |||
=== Test F: #explode inside #arraymap (the real combined case) === | |||
{{#arraymap:Ch. 1::1::Adhyāśaya-saṃcodana-sūtra;Ch. 4::4::Exhortation to Higher Intention|;|@@@|Label={{#explode:@@@|::|0}}, Chapter={{#explode:@@@|::|1}}, Term={{#explode:@@@|::|2}}|<br>}} | |||
[[/My Tasks/]] | [[/My Tasks/]] | ||
Latest revision as of 17:22, 20 August 2026
Good instinct — let's isolate each piece before combining them. Paste this into your User:AlexC sandbox and preview:
wikitext
Test A: #pos with semicolon present[edit]
Value: 35
Test B: #pos with no semicolon (single occurrence)[edit]
Value:
Test C: #ifeq using Test A's result[edit]
MULTIPLE (this means #pos found a semicolon and returned its position)
Test D: #ifeq using Test B's result[edit]
SINGLE (correct expected result for a single occurrence)
Test E: #arraymap splitting on semicolon[edit]
ITEM: [Ch. 1::1::Adhyāśaya-saṃcodana-sūtra]
ITEM: [Ch. 4::4::Exhortation to Higher Intention]
Test F: #explode inside #arraymap (the real combined case)[edit]
Label=Ch. 1, Chapter=1, Term=Adhyāśaya-saṃcodana-sūtra
Label=Ch. 4, Chapter=4, Term=Exhortation to Higher Intention
Check it out: Manage Topic Tags
BCA Chapter 1
BCA Chapter 2
BCA Chapter 3
BCA Chapter 4
BCA Chapter 5
BCA Chapter 6
BCA Chapter 7
BCA Chapter 8
BCA Chapter 9
BCA Chapter 10
Śikṣā Chapter 1
Śikṣā Chapter 2
Śikṣā Chapter 3
Śikṣā Chapter 4
Śikṣā Chapter 5
Śikṣā Chapter 6
Śikṣā Chapter 7
Śikṣā Chapter 8
Śikṣā Chapter 9
Śikṣā Chapter 10
Śikṣā Chapter 11
Śikṣā Chapter 12
Śikṣā Chapter 13
Śikṣā Chapter 14
Śikṣā Chapter 15
Śikṣā Chapter 16
Śikṣā Chapter 17
Śikṣā Chapter 18
Śikṣā Chapter 19
Arousing Bodhicitta
Carefulness
Christian Thought and Śāntideva
Confession
Consciousness
Contemporary
Contemporary American Buddhist
Debate
Dedication
Defining Bodhicitta
Diligence
Doctrine
Drikung Kagyu
Drukpa Kagyu
Emptiness
First Turning
History
History of Buddhism in China
History of Buddhism in India
History of Buddhism in Japan
History of Buddhism in Korea
History of Buddhism in Tibet
Increasing Bodhicitta
Karma Kagyu
Mahamudra
Meditation
Meditative Concentration
Metaphors
Offering
Patience
Praising
Protecting Bodhicitta
Provisional or Definitive
Pure Land
Refuge
Rime
Śāntideva's Life
Second Turning
Sentient beings
Shakyamuni Buddha
Shangpa Kagyu
Taking Hold of Bodhicitta
Terma
Terminology
Textual study
The Bodhisattva Doctrine
The Excellence of Bodhicitta
The Path
Third Turning
Tien Tai
Two Extremes
Two Truths
Universals
Vajrayana
Vigilant Introspection
Wisdom
Zen - Chan
—————— Terms ——————
Actualized Enlightenment
byams chos sde lnga
dbyed sgom
Great Madhyamaka
gzhan stong
Kagyu
kun gzhi
Madhyamaka
Mahāyānottaratantraśāstravyākhyā
ngo bo
Ngok Tradition
Original Enlightenment
prabhāsvara
rang stong
rgyu'i rgyud
sems nyid
tha mal gyi shes pa
Tsen Tradition
Protocols for Entering Topic Tags: Not entering data for translations of the BCA and Śikṣ