Go to Vaniquotes | Go to Vanipedia | Go to Vanimedia


Vanisource - the complete essence of Vedic knowledge


Template

CompareVersions: Difference between revisions

(Created page with "{{#vardefine:version1|{{#switch: {{{3}}} | BG 1972 = 1972 | BG 1983+ = 1983%2B}}}} {{#vardefine:version2|{{#switch: {{{4}}} | BG 1972 = 1972 | BG 1983+ = 1983%2B}}}} <br/><br/...")
 
(Installed new Version Compare, with quicker page extracts)
 
Line 1: Line 1:
{{#vardefine:version1|{{#switch: {{{3}}} | BG 1972 = 1972 | BG 1983+ = 1983%2B}}}}
{{#vardefine:version1|{{CompareVersionParam|{{{3}}}}}}}{{#vardefine:version2|{{CompareVersionParam|{{{4}}}}}}}{{#ifeq:{{{5}}}|Followup||<br/><br/>}}{{#vardefine:verse|{{urlencode:{{{2}}}}}}}
{{#vardefine:version2|{{#switch: {{{4}}} | BG 1972 = 1972 | BG 1983+ = 1983%2B}}}}
<div style="clear: both"><span class="plainlinks"><b><big>[https://vanisource.org/viewdiff/showdiff.php?&book={{{1}}}&verse={{#var:verse}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{3}}} with {{{4}}}]</big></b></span></div><noinclude>
<br/><br/>
  Usage: <nowiki>{{CompareVersions|PUBLICATION|VERSE|VERSION1|VERSION2}}</nowiki>
<div style="clear: both"><span class="plainlinks"><b><big>[https://vanisource.org/viewdiff/compare.php?domain=vanisource.org&book={{{1}}}&verse={{{2}}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{3}}} with {{{4}}}]</big></b></span></div>
Example: <nowiki>{{CompareVersions|BG|9.10|BG 1972|BG 1983+}}</nowiki>
<noinclude>
  usage: <nowiki>{{CompareVersions|PUBLICATION|VERSE|VERSION1|VERSION2}}</nowiki>
  Template for linking to the Version Compare feature.
  Template for linking to the Version Compare feature.
  PUBLICATION - the name of the book, such as BG, SB, CC
  PUBLICATION - the name of the book, such as BG, SB, CC

Latest revision as of 16:33, 23 May 2020



Usage: {{CompareVersions|PUBLICATION|VERSE|VERSION1|VERSION2}}
Example: {{CompareVersions|BG|9.10|BG 1972|BG 1983+}}
Template for linking to the Version Compare feature.
PUBLICATION - the name of the book, such as BG, SB, CC
VERSE - the full verse number (18.66, 9.1.3)
VERSION1 - the original version
VERSION2 - the other version with which to compare