Template:Protected page text/doc

Usage
This template displays text that users see when they're not allowed to operate on a page. It should be called from MediaWiki:Protectedpagetext. Parameters:
 * &mdash; selects a table containing customizing field values for the display.
 * &mdash; name of right needed for the operation.
 * &mdash; attempted action.

Customizing field values are taken from page. If no  is provided, the page doesn't exist, or a given field isn't specified by the page, the field value is taken instead from /lookup/default.

Internals
This template extracts the contents of the  and default tables via /get, giving those tables access to parameters   and , and passes the extracted contents of the tables to /core.