Template:Editnotice userpage/doc
This is a documentation subpage for Template:Editnotice userpage. It contains usage information, categories and other content that is not part of the original template page. |
Usage
To insert, go to Special:MyPage/Editnotice, paste {{Editnotice userpage}}
into the page, and save it. Then, when somebody clicks to edit your userpage, this box notice will appear.
Removing appearance for yourself
To suppress the appearance of this notice when editing your own userpage, add the following code to Special:MyPage/common.css: <syntaxhighlight lang="css"> .page-User_Admin #userpageedn { display: none; } /* Suppress editnotice when editing my userpage */ </syntaxhighlight>
TemplateData
<templatedata> { "params": { "user": { "description": "Overrides username", "type": "wiki-user-name" } }, "description": "An editnotice for your userpage" } </templatedata>
See also