Difference between revisions of "Template:Diffwith"

From RimWorld Wiki
Jump to navigation Jump to search
(Removed deletion tag. This template still in active use.)
m (category)
 
Line 19: Line 19:
 
{{Diffwith|Main Page|Diff with current Main Page}}
 
{{Diffwith|Main Page|Diff with current Main Page}}
  
[[Category:Templates|Diffwith]]
+
[[Category:Utility templates|Diffwith]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:02, 6 June 2022

Description[edit]

{{Diffwith|<pagename>|<description>}}

This template can be used to create a link that compares the current page with another. This is often useful for proposed changes in policy drafts. Note that the link does not work from previews.

Note: Due to a MediaWiki bug, this template requires JavaScript to work and can only be used once on a page.

Parameters[edit]

unnamed parameter 1
Pagename. The full name of the page where a diff with the current page is to be made with.
unnamed parameter 2
Optional. Description, the template will show as link text.

Example[edit]

{{Diffwith|Main Page|Diff with current Main Page}}

Diff with current Main Page