Jump to content

Template:ValidateUP/sandbox/doc

From Wikipedia, the free encyclopedia

Documentation Incomplete

This template is designed to be placed at the top of userpages so that if someone other than the owner of the userpage edits it (for instance changes the SHA or PGP key) this template will notify viewers.

Terms

[edit]

Owner: Refers to the user who the userpage "belongs" to; e.g. User:Example "belongs" to Example, so Example is the "owner"

Usage

[edit]

Basic Usage

[edit]

Basic usage will show the default message unless the last revision was not made by the owner.

Use:
{{ValidateUP}}
Output if last edited by owner:
checkY Validated page to be last changed by me.
Output if not last edited by owner:
☒N This page was last edited by Gonnym and not ValidateUP/sandbox

Used Hidden

[edit]

Usage hidden will only be visible if the last edit was not by the owner.

Use:
{{ValidateUP|default=hidden}}
Output if last edited by owner:
Output if not last edited by owner:
☒N This page was last edited by Gonnym and not ValidateUP/sandbox

Usage with Custom Message

[edit]

Usage with custom message will show the custom message unless the page was not edited by the owner. This message can be the content of the page, in order to hide the content in the case of malicious edits. It should be noted that headers (e.g. ==Header== ) will break the template and should be replaced with header levels (e.g. <h2>Header</h2> ).

Use:
{{ValidateUP|Custom message}} (Where "Custom message" is the message.)
Output if last edited by owner:
Custom message
Output if not last edited by owner:
☒N This page was last edited by Gonnym and not ValidateUP/sandbox