User:PartTimeGnome/reledit
(Note to self: relates to this edit.)
This template produces a small note that I can add to talk page comments and my awards to link to a diff of edits mentioned in the comment. This assists in understanding the context of the comment when reading it in archives many years later.
Usage
[edit]{{User:PartTimeGnome/reledit |added= <!-- (optional) oldid of original discussion (before move) --> |addedtext= <!-- (optional) text to use instead of "on my talk page" --> |archivelink= <!-- (optional) page (and #section) where original discussion archived --> |contribdate= <!-- (optional) latest date and time (YYYYMMddHHmmss) for contribs link --> |contribcount= <!-- (required if contribdate= used) count of contribs for contribs link --> |extra= <!-- (optional) text after note, within the parenthesis --> |sig=~~~~ <!-- (optional) text after note, outside parenthesis – for signature --> |oldid1|oldid2|...}} <!-- (optional) up to 5 oldids of related diffs -->
At least one type of link should be specified, whether it be using addedoldid=, the contrib parameters, or the unnamed parameters.
Use by other editors
[edit]This template includes hard-coded references to "PartTimeGnome", so is not directly reusable by other Wikipedians. If you'd like something similar for yourself, you can copy the template to your own userspace (just click the link), then change references to "PartTimeGnome" to your own username. Please attribute "PartTimeGnome" as the author of the original template. The easiest way to do this is to link back to the original template in your edit summary when you take your own copy.
Examples
[edit]Code | Gives |
---|---|
{{User:PartTimeGnome/reledit|514699412|sig=~~~~}}
|
(Note to self: relates to this edit.) – PartTimeGnome (talk | contribs) 22:41, 27 March 2013 (UTC) |
{{User:PartTimeGnome/reledit|added=462038023}}
|
Originally added on my talk page. |
{{User:PartTimeGnome/reledit|added=462038023|462028885}}
|
Originally added on my talk page; relates to this edit. |
{{User:PartTimeGnome/reledit|added=462038023|archivelink=User talk:PartTimeGnome/Archive 1#Example}}
|
Originally added on my talk page (since archived). |
{{User:PartTimeGnome/reledit|contribdate=201211112340|contribcount=9|sig=~~~~}}
|
(Note to self: relates to these edits.) – PartTimeGnome (talk | contribs) 22:41, 27 March 2013 (UTC) |