|
|
| (3 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| <noinclude>
| | <!-- |
| {{#cargo_declare: _table=Nyaya
| |
| | document_id = String
| |
| | chapter_id = String
| |
| | nyaya_id = String
| |
| | nyaya_num = String
| |
| | title = String
| |
| | title_trans = String
| |
| | claim = Text
| |
| | source_verse = String
| |
| }}
| |
| </noinclude><!--
| |
| Template:Nyaya | | Template:Nyaya |
| ══════════════
| |
| Renders a Nyāya (reasoning / argument) block as clean running text.
| |
| Parameters:
| |
| document_id, chapter_id, nyaya_num, title, title_trans,
| |
| claim, body, source_verse
| |
| Auto-ID: {chapter_id}_NY{nyaya_num}
| |
| --> | | --> |
| <div class="nyaya-block" id="{{{chapter_id}}}_NY{{{nyaya_num}}}" style="margin:2em 0; font-family:'Adishila',serif;"> | | <div class="nyaya-block" id="{{{chapter_id}}}_NY{{{nyaya_num}}}"> |
| | | <div class="nyaya-title"> |
| <!-- Label row --> | | {{{title}}}{{#if:{{{title_trans|}}}|<span>{{{title_trans}}}</span>}} |
| <p style="font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:#aaa; margin:0 0 0.3em; font-family:monospace;">
| | </div> |
| ⚖ Nyāya ·
| | {{#if:{{{claim|}}}|<p>{{{claim}}}</p>}} |
| <a href="#{{{chapter_id}}}_NY{{{nyaya_num}}}" style="color:#aaa; text-decoration:none;">{{{chapter_id}}}_NY{{{nyaya_num}}}</a>
| | <div class="nyaya-body"> |
| {{#if:{{{source_verse|}}}| · <a href="#{{{source_verse}}}" style="color:#aaa; text-decoration:none;">↗ {{{source_verse}}}</a>}}
| |
| </p>
| |
| | |
| <!-- Title -->
| |
| <h4 style="font-size:24px; font-weight:bold; color:#1a2e40; margin:0 0 0.2em; font-family:'Adishila',serif;">
| |
| {{{title}}}{{#if:{{{title_trans|}}}| | |
| <span style="font-size:18px; font-weight:normal; font-style:italic; color:#5a7a94; margin-left:0.5em;">{{{title_trans}}}</span>
| |
| }}
| |
| </h4> | |
| | |
| {{#if:{{{claim|}}}| | |
| <!-- Proposition — indented italic -->
| |
| <p style="font-size:18px; font-style:italic; color:#2a3f52; margin:0.6em 0 0.8em 2em; line-height:1.8; font-family:'Adishila',serif;">
| |
| {{{claim}}}
| |
| </p>
| |
| }}
| |
| | |
| <!-- Reasoning body -->
| |
| <div style="font-size:18px; line-height:1.95; color:#1a1a1a; padding-left:1.5em; direction:auto; unicode-bidi:plaintext; font-family:'Adishila',serif;"> | |
| {{{body}}} | | {{{body}}} |
| </div> | | </div> |
|
| |
| </div> | | </div> |
| {{#cargo_store: _table=Nyaya | | {{#cargo_store: _table=Nyaya |