Jump to content

Template:Logentry

From translatewiki.net

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 - (optional) the 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.

The documentation of this template is included from its /doc subpage.
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 - (optional) the 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.