— Preceding text originally posted elsewhere
This template should always be substituted (i.e., use
This template, often abbreviated as {{}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline. For a multi-line output, see {{tj}}. ParametersWith the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Unnamed (Positional)This template can take any number of unnamed parameters as parameters accompanying the template link (or name); see Examples below. Examples
See alsoGeneral-purpose formatting
Other formatting templates
With utility links
|
Unsigned templates |
---|
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 (WIKI.org/w/index.php?title=User_talk:EVula&diff=prev&oldid=111045354 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 (WIKI.org/w/index.php?title=User_talk:EVula&diff=prev&oldid=111045354 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 WIKI.org/w/wiki.phtml?oldid=111045354 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)