Template:Logentry

From translatewiki.net
Jump to navigation Jump to search

This is a log entry. Each log entry has three standard parameters:

  • $1 - user who performed the action (usually linked to the user page)
  • $2 - unused, or user who performed the action (to be used with GENDER)
  • $3 - the affected page (usually linked)

Parameters $1 and $3 are invisible to parser functions; you cannot use any magic functions to read their value. Wiki markup is not supported in these messages.

Test Template Info-Icon - Version (2).svg
The documentation of Logentry/doc this template is included from its /doc subpage (Edit)
Usage:
Documentation for all log entry messages. (These are the messages shown in the list on Special:Log that say things like "User:Foo deleted Bar". They are typically called logentry-<type>-<action>.)
  • First optional parameter is a link to the log page filtered to the given log type, ie. [[Special:Log/<type>]].
Syntax:
  • {{ logentry | [[Special:Log/<type>]] }}
Example:
{{ logentry
  | [[Special:Log/foo]]
}}

generates: This is a log entry used on Special:Log/foo. Each log entry has three standard parameters:

  • $1 - user who performed the action (usually linked to the user page)
  • $2 - unused, or user who performed the action (to be used with GENDER)
  • $3 - the affected page (usually linked)

Parameters $1 and $3 are invisible to parser functions; you cannot use any magic functions to read their value. Wiki markup is not supported in these messages.