Template:CyzRootTranslations: Difference between revisions

From Rangjung Yeshe Wiki Texts
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:RbRoot|{{#lst:CyzRbRoot|{{{1}}} }} }}{{#vardefine:EpkRoot|{{#lst:CyzEpkRoot|{{{1}}} }} }}{{#vardefine:ShtrRoot|{{#lst:CyzShtrRoot|{{{1}}} }} }}{{#vardefine:SkRoot|{{#lst:CyzSkRoot|{{{1}}} }} }}{{#vardefine:PadmakaraRoot|{{#lst:CyzPadmakaraRoot|{{{1}}} }} }}{{#vardefine:RbCom|{{#lst:CyzRbComm|{{{1}}} }} }}{{#vardefine:SkCom|{{#lst:CyzSkComm|{{{1}}} }} }}{{#vardefine:KangsarCom|{{#lst:CyzKangsarComm|{{{1}}} }} }}{{#vardefine:ClaudeRoot|{{#lst:CyzClaudeRoot|{{{1}}} }} }}<includeonly>{{#if:{{#var:RbRoot}}|{{#tag:ref|{{#var:RbRoot}}}}|{{#tag:ref|No content provided for RbRoot {{{1}}}}}}}</includeonly><includeonly>{{#if:{{#var:EpkRoot}}|{{#tag:ref|{{#var:EpkRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:ShtrRoot}}|{{#tag:ref|{{#var:ShtrRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:SkRoot}}|{{#tag:ref|{{#var:SkRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:PadmakaraRoot}}|{{#tag:ref|{{#var:PadmakaraRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:RbCom}}|{{#tag:ref|{{#var:RbCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:SkCom}}|{{#tag:ref|{{#var:SkCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:KangsarCom}}|{{#tag:ref|{{#var:KangsarCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:ClaudeRoot}}|{{#tag:ref|{{#var:ClaudeRoot}}}}|{{#tag:ref|No content provided for ClaudeRoot {{{1}}}}}}}</includeonly>
{{#vardefine:RbRoot|{{#lst:CyzRbRoot|{{{1}}} }} }}{{#vardefine:EpkRoot|{{#lst:CyzEpkRoot|{{{1}}} }} }}{{#vardefine:ShtrRoot|{{#lst:CyzShtrRoot|{{{1}}} }} }}{{#vardefine:SkRoot|{{#lst:CyzSkRoot|{{{1}}} }} }}{{#vardefine:PadmakaraRoot|{{#lst:CyzPadmakaraRoot|{{{1}}} }} }}{{#vardefine:RbCom|{{#lst:CyzRbComm|{{{1}}} }} }}{{#vardefine:SkCom|{{#lst:CyzSkComm|{{{1}}} }} }}{{#vardefine:KangsarCom|{{#lst:CyzKangsarComm|{{{1}}} }} }}{{#vardefine:ClaudeRoot|{{#lst:CyzClaudeRoot|{{{1}}} }} }}<includeonly>{{#if:{{#var:RbRoot}}|{{#tag:ref|{{#var:RbRoot}}}}|{{#tag:ref|No content provided for RbRoot {{{1}}}}}}}</includeonly><includeonly>{{#if:{{#var:EpkRoot}}|{{#tag:ref|{{#var:EpkRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:ShtrRoot}}|{{#tag:ref|{{#var:ShtrRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:SkRoot}}|{{#tag:ref|{{#var:SkRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:PadmakaraRoot}}|{{#tag:ref|{{#var:PadmakaraRoot}}}}| }}</includeonly><includeonly>{{#if:{{#var:RbCom}}|{{#tag:ref|{{#var:RbCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:SkCom}}|{{#tag:ref|{{#var:SkCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:KangsarCom}}|{{#tag:ref|{{#var:KangsarCom}}}}| }}</includeonly><includeonly>{{#if:{{#var:ClaudeRoot}}|{{#tag:ref|{{#var:ClaudeRoot}}}}|{{#tag:ref|No content provided for ClaudeRoot {{{1}}}}}}}</includeonly>
<noinclude>
== Multiple Citation Sources Template ==
This template pulls content from multiple source pages and creates footnote references.
=== Usage ===
<pre>
{{MultipleCitations|citation-key}}
</pre>
Where "citation-key" is the key used across different source pages.
</noinclude>
<includeonly>
<!-- Define all variables first -->
{{#vardefine:RbRoot|{{#lst:CyzRbRoot|{{{1}}}}}}}
{{#vardefine:EpkRoot|{{#lst:CyzEpkRoot|{{{1}}}}}}}
{{#vardefine:ShtrRoot|{{#lst:CyzShtrRoot|{{{1}}}}}}}
{{#vardefine:SkRoot|{{#lst:CyzSkRoot|{{{1}}}}}}}
{{#vardefine:PadmakaraRoot|{{#lst:CyzPadmakaraRoot|{{{1}}}}}}}
{{#vardefine:RbCom|{{#lst:CyzRbComm|{{{1}}}}}}}
{{#vardefine:SkCom|{{#lst:CyzSkComm|{{{1}}}}}}}
{{#vardefine:KangsarCom|{{#lst:CyzKangsarComm|{{{1}}}}}}}
{{#vardefine:ClaudeRoot|{{#lst:CyzClaudeRoot|{{{1}}}}}}}
<!-- Create ref tags for primary sources (with fallback text) -->
{{#if:{{#var:RbRoot}}|{{#tag:ref|{{#var:RbRoot}}|name=rb-{{{1}}}}}|{{#if:{{{suppress-errors|no}}}|{{#tag:ref|No content provided for RbRoot {{{1}}}|name=rb-error-{{{1}}}}}}}}}
{{#if:{{#var:ClaudeRoot}}|{{#tag:ref|{{#var:ClaudeRoot}}|name=claude-{{{1}}}}}|{{#if:{{{suppress-errors|no}}}|{{#tag:ref|No content provided for ClaudeRoot {{{1}}}|name=claude-error-{{{1}}}}}}}}}
<!-- Create ref tags for secondary sources (only if content exists) -->
{{#if:{{#var:EpkRoot}}|{{#tag:ref|{{#var:EpkRoot}}|name=epk-{{{1}}}}}}}
{{#if:{{#var:ShtrRoot}}|{{#tag:ref|{{#var:ShtrRoot}}|name=shtr-{{{1}}}}}}}
{{#if:{{#var:SkRoot}}|{{#tag:ref|{{#var:SkRoot}}|name=sk-{{{1}}}}}}}
{{#if:{{#var:PadmakaraRoot}}|{{#tag:ref|{{#var:PadmakaraRoot}}|name=padmakara-{{{1}}}}}}}
{{#if:{{#var:RbCom}}|{{#tag:ref|{{#var:RbCom}}|name=rbcom-{{{1}}}}}}}
{{#if:{{#var:SkCom}}|{{#tag:ref|{{#var:SkCom}}|name=skcom-{{{1}}}}}}}
{{#if:{{#var:KangsarCom}}|{{#tag:ref|{{#var:KangsarCom}}|name=kangsar-{{{1}}}}}}}
</includeonly>

Revision as of 10:50, 14 March 2025



Multiple Citation Sources Template

This template pulls content from multiple source pages and creates footnote references.

Usage

{{MultipleCitations|citation-key}}

Where "citation-key" is the key used across different source pages.