Go to Vaniquotes | Go to Vanipedia | Go to Vanimedia


Vanisource - the complete essence of Vedic knowledge


Template

CompareVersionsForOverviews: Difference between revisions

(Show a link to Version Compare for overview pages, where the corresponding title is named differently over two or more editions)
 
(Installed new Version Compare, with quicker page extracts)
 
Line 1: Line 1:
{{#vardefine:version1|{{CompareVersionParam|{{{4}}}}}}}
{{#vardefine:version1|{{CompareVersionParam|{{{4}}}}}}}{{#vardefine:version2|{{CompareVersionParam|{{{5}}}}}}}{{#ifeq:{{{6}}}|Followup||<br/><br/>}}
{{#vardefine:version2|{{CompareVersionParam|{{{5}}}}}}}
<div style="clear: both"><span class="plainlinks"><b><big>[https://vanisource.org/viewdiff/showdiff.php?book={{{1}}}&page={{{2}}}&parallel={{{3}}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{4}}} with {{{5}}}]</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}}}&page={{{2}}}&parallel={{{3}}}&version1={{#var:version1}}&version2={{#var:version2}} Compare Versions: {{{4}}} with {{{5}}}]</big></b></span></div>
<noinclude>
  Usage: <nowiki>{{CompareVersionsForOverviews|PUBLICATION|OVERVIEWPAGE|OVERVIEWPARALLEL|VERSION1|VERSION2}}</nowiki>
  Usage: <nowiki>{{CompareVersionsForOverviews|PUBLICATION|OVERVIEWPAGE|OVERVIEWPARALLEL|VERSION1|VERSION2}}</nowiki>
  Example: <nowiki>{{CompareVersionsForOverviews|BG|9.10|BG 1972|BG 1983+}}</nowiki>
  Example: <nowiki>{{CompareVersionsForOverviews|BG|Preface|Preface|BG 1972|BG 1983+}}</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:34, 23 May 2020



Usage: {{CompareVersionsForOverviews|PUBLICATION|OVERVIEWPAGE|OVERVIEWPARALLEL|VERSION1|VERSION2}}
Example: {{CompareVersionsForOverviews|BG|Preface|Preface|BG 1972|BG 1983+}}
Template for linking to the Version Compare feature.
PUBLICATION - the name of the book, such as BG, SB, CC
OVERVIEWPAGE - the name of the overview page
OVERVIEWPARALLEL - the name of the overview page's parallel in the other version
VERSION1 - the original version
VERSION2 - the other version with which to compare