ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:REVISIONTIMESTAMP/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ


About REVISIONTIMESTAMP

[ਸੋਧੋ]

{{REVISIONTIMESTAMP}} is a "magic word" that returns the last time an article was changed. On November 14, 2013, this feature was expanded to include {{REVISIONTIMESTAMP:(article-name)}}, which makes it possible to query from a given page when any article was edited. This template does not need to be used in place of the magic word normally, but is provided so that a WP:Lua module can use frame:expandTemplate to access this function. (There may well be some other better way to do this).

Example:

  • {{REVISIONTIMESTAMP|Astronomy}}
    • .

It can be used with {{#time}}, like this:

  • {{#time:H:i, j F Y|{{REVISIONTIMESTAMP}}}}
  • 06:20, 15 ਜੂਨ 2023

But you can get this straight from the parser function by typing {{REVISIONTIMESTAMP:Astronomy}}.

Note: Use of REVISIONTIMESTAMP with a parameter appears to be counted as an expensive parser function against the page limit. This can be confirmed using Module:Preview expense.

See also

[ਸੋਧੋ]