Teamplaid:Quotedfrom/documentation

O Wiktionary

Ùsaid - Usage[deasaich]

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}}


Paramadairean - Parameters[deasaich]

This template takes four expected parameters (not required, but expected either in sequence or by named variable):

  1. location=   The page where this text was originally posted (without double-brackets).
  2. user=   The username who posted it (without the "User:" prefix);
  3. time=   The UTC time-and-date of the original posting (as seen first in the entries on, for instance, this user's talkpage history);
  4. 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).

Eisimpleirean - Examples[deasaich]

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 (talkcontribs) 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 (talkcontribs) 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 (talkcontribs) 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 (talkcontribs)

Faic cuideachd - Also see