Template:Quotedfrom/doc
This is a documentation subpage for Template:Quotedfrom. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:Quotedfrom}}). Any accidental transclusions will be automatically substituted by a bot. |
Lua error in Module:Sidebar at line 123: attempt to call local 'gfind' (a nil value).
Usage
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.
{{subst:quotedfrom|location|user|time|oldid}}
Parameters
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).
Examples
For the least typing, just provide the values in location - user - time - oldid sequence:
Code: {{subst:quotedfrom|User talk:EVula|Ben|09:47, 26 February 2007|111045354}}
Result: — Preceding text originally posted on User talk:EVula (diff) by Ben (talk⋅contribs) 09:47, 26 February 2007 (UTC)
If the named variables are used, these don't need to be kept in the same sequence:
Code: {{subst:quotedfrom|user=Ben|time=09:47, 26 February 2007|oldid=111045354|location=User talk:EVula}}
Result:— Preceding text originally posted on User talk:EVula (diff) by Ben (talk⋅contribs) 09:47, 26 February 2007 (UTC)
As long as the correct "oldid" is provided, the location is not really necessary:
Code:{{subst:quotedfrom||Ben|09:47, 26 February 2007|111045354}}
Result:— Preceding text originally posted here by Ben (talk⋅contribs) 09:47, 26 February 2007 (UTC)
If other values are left out, the template will simply bypass them:
Code:{{subst:quotedfrom|WP:APBB}}
Result:— Preceding text originally posted on WP:APBB
Code:{{subst:quotedfrom||Jimbo Wales}}
Result:— Preceding text originally posted by Jimbo Wales (talk⋅contribs)
User information templates provide informational links for a user; they are similar to signatures, but often provide additional information, and may be used by other users. List:
- Demo user used is User:Example
Lua error in Module:Navbox at line 485: attempt to call local 'gfind' (a nil value).