قالب:أصل تنبيه/شرح

  • This template adds a line below a warning to list: the original location (defaults to page-user's talkpage); original posting user; original posting time-and-date; and/or the diff of the original warning.
  • This may be useful if you want to indicate the author and time-and-date of an unsigned warning; if you archive warnings off your talk page; or if you want to quote a warning anywhere else.
  • This template takes four expected parameters (not required, but expected either in sequence or by named variable):
    1. location=   The page where this warning was originally posted (without double-brackets). If you are using this template in your own userspace, for instance on your own /Warnings subpage, location defaults to your own talkpage. If you are using this template outside your own userspace, or referring to a warning posted on any other page, then specify the pagename (without double-brackets) as location=pagename.
    2. user=   The username who posted it (without the "User:" prefix); if unsigned, see your talkpage history.
    3. time=   The UTC time-and-date of the original warning, as seen first in its entry on your talkpage history.
    4. oldid=   The "oldid=" number of the warning's diff, as seen in the URLs of the entry's "(cur)", "(last)", and time-and-date links.

الاستخدام

عدل
  • For the least typing, just provide the values in location - user - time - oldid sequence:
Code:
{{warningorigin|User talk:EVula|Ben|09:47, 26 February 2007|111045354}}
Result:
— نُشر التنبيه السابق في الأصل في User talk:EVulaبواسطة Ben (نقاشمساهمات)، 09:47, 26 February 2007 (ت ع م)، (فرق).
  • If the named variables are used, these don't need to be kept in the same sequence:
Code:
{{warningorigin|user=Ben|time=09:47, 26 February 2007|oldid=111045354|location=User talk:EVula}}
Result:
— نُشر التنبيه السابق في الأصل في User talk:EVulaبواسطة Ben (نقاشمساهمات)، 09:47, 26 February 2007 (ت ع م)، (فرق).
  • As long as the correct "oldid" is provided, the location is not really necessary:
Code:
{{warningorigin||Ben|09:47, 26 February 2007|111045354}}
Result:
— نُشر التنبيه السابق في الأصل هنا بواسطة Ben (نقاشمساهمات)، 09:47, 26 February 2007 (ت ع م).
  • If other values are left out, the template will simply bypass them:
Code:
{{warningorigin|User talk:EVula}}
Result:
— نُشر التنبيه السابق في الأصل في User talk:EVula.