Template:Editnotice userpage/doc

< Template:Editnotice userpage

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