Go to Vaniquotes | Go to Vanipedia | Go to Vanimedia


Vanisource - the complete essence of Vedic knowledge


Template

CompareVersionsSrcDest: Difference between revisions

(Created page with "{{#vardefine:version1|{{CompareVersionParam|{{{4}}}}}}} {{#vardefine:version2|{{CompareVersionParam|{{{5}}}}}}} <br/> <div style="clear: both"><span class="plainlinks"><b><big...")
 
No edit summary
 
Line 1: Line 1:
{{#vardefine:version1|{{CompareVersionParam|{{{4}}}}}}}
{{#vardefine:version1|{{CompareVersionParam|{{{4}}}}}}}{{#vardefine:version2|{{CompareVersionParam|{{{5}}}}}}}{{#vardefine:sections|{{#ifeq:{{{2}}}|{{{3}}}||({{{2}}} with {{{3}}})}}}}
{{#vardefine:version2|{{CompareVersionParam|{{{5}}}}}}}
<div style="clear: both"><span class="plainlinks"><b><big>[https://vanisource.org/viewdiff/showdiff.php?book={{{1}}}&verse1={{{2}}}&verse2={{{3}}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{4}}} with {{{5}}} {{#var:sections}}]</big></b></span></div><noinclude>
<br/>
<div style="clear: both"><span class="plainlinks"><b><big>[https://vanisource.org/viewdiff/compare.php?domain=vanisource.org&book={{{1}}}&verse1={{{2}}}&verse2={{{3}}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{4}}} with {{{5}}}]</big></b></span></div>
<noinclude>
  Usage: <nowiki>{{CompareVersions|PUBLICATION|VERSE_SRC|VERSE_DEST|VERSION1|VERSION2}}</nowiki>
  Usage: <nowiki>{{CompareVersions|PUBLICATION|VERSE_SRC|VERSE_DEST|VERSION1|VERSION2}}</nowiki>
  Example: <nowiki>{{CompareVersions|KB|31|32|KB 1970|KB 1996+}}</nowiki>
  Example: <nowiki>{{CompareVersions|KB|31|32|KB 1970|KB 1996+}}</nowiki>

Latest revision as of 16:54, 23 May 2020

Usage: {{CompareVersions|PUBLICATION|VERSE_SRC|VERSE_DEST|VERSION1|VERSION2}}
Example: {{CompareVersions|KB|31|32|KB 1970|KB 1996+}}
Template for linking to the Version Compare feature, specifying both and perhaps different source and destination locations.
PUBLICATION - the name of the book, such as BG, SB, CC
VERSE_SRC - the full verse or section number as the source (18.66, 9.1.3, 31)
VERSE_DEST - the full verse or section number to compare with the source(18.66, 9.1.3, 32)
VERSION1 - the original version
VERSION2 - the other version with which to compare