Template:Quotedfrom
From Wikipedia, the free encyclopedia
—The preceding text was posted elsewhere.
[edit] Template documentation
- This template adds a line below a quoted text to list: the original location; original posting user; original posting time-and-date; and/or the diff of the original posting.
- This template takes four expected parameters (not required, but expected either in sequence or by named variable):
- location= The page where this text was originally posted (without double-brackets).
- user= The username who posted it (without the "User:" prefix);
- time= The UTC time-and-date of the original posting (as seen first in the entries on, for instance, this user's talkpage history);
- oldid= The "oldid=" number of the post's diff (as seen in the URLs of the entry's "(cur)", "(last)", and time-and-date links).
[edit] Usage
- For the least typing, just provide the values in location - user - time - oldid sequence:
- Code:
- {{quotedfrom|User talk:EVula|Ben|09:47, 26 February 2007|111045354}}
- Result:
- —The preceding text was posted on User talk:EVula by Ben (talk⋅contribs), 09:47, 26 February 2007 (UTC), (diff).
- If the named variables are used, these don't need to be kept in the same sequence:
- Code:
- {{quotedfrom|user=Ben|time=09:47, 26 February 2007|oldid=111045354|location=User talk:EVula}}
- Result:
- —The preceding text was posted on User talk:EVula by Ben (talk⋅contribs), 09:47, 26 February 2007 (UTC), (diff).
- As long as the correct "oldid" is provided, the location is not really necessary:
- Code:
- {{quotedfrom||Ben|09:47, 26 February 2007|111045354}}
- Result:
- If other values are left out, the template will simply bypass them:
- Code:
- {{quotedfrom|WP:APBB}}
- Result:
- —The preceding text was posted on WP:APBB.
- Code:
- {{quotedfrom||Jimbo Wales}}
- Result:
- —The preceding text was posted by Jimbo Wales (talk⋅contribs).