![]() | This is a documentation subpage for Template:ValidateUP/sandbox. It may contain usage information, categories and other content that is not part of the original template page. |
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
editOwner: Refers to the user who the userpage "belongs" to; e.g. User:Example "belongs" to Example, so Example is the "owner"
Usage
editBasic Usage
editBasic usage will show the default message unless the last revision was not made by the owner.
- Use:
{{ValidateUP}}
- Output if last edited by owner:
Validated page to be last changed by me.
- Output if not last edited by owner:
This page was last edited by Izno and not ValidateUP/sandbox
Used Hidden
editUsage 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:
This page was last edited by Izno and not ValidateUP/sandbox
Usage with Custom Message
editUsage 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:
This page was last edited by Izno and not ValidateUP/sandbox