Difference between revisions of Template:Editnotice load/core/doc

Jump to navigation Jump to search
en>Andrybak
 
Tag: Replaced
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{documentation subpage}}
See [[Wikipedia:Template:Editnotice load/core/doc]]
{{used in system}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
This is the {{tl|editnotice load/core}} sub-template.
 
Do not use this template directly, use {{tl|editnotice load}} instead.
 
This template is called from {{tl|editnotice load}}. It holds parts of the code for {{tlf|editnotice load}}, while {{tlf|editnotice load}}  does parameter preprocessing. Thus simplifying the code.
 
This template is used by the [[Wikipedia:Editnotice|editnotice]] system.
 
=== Technical details ===
 
This sub-template handles the loading of the group and page notices, and the links to them. This template currently expects these parameters:
 
<pre>
{{editnotice load/core
| notice action = {{{notice action|}}}  <!--"view" or empty string-->
| group allowed = {{ns has subpages}}  <!--"yes" or empty string-->
| groupnotice =  <!--The possible group notice pagename-->
| pagenotice =  <!--The possible page notice pagename-->
| userpage =  <!--"yes" if a user editable userpage notice, else empty string-->
| ownuserpage =  <!--"yes" if the user is on his own
                  user or user talk rootpage, else empty string-->
}}
</pre>
 
For more documentation see {{tl|editnotice load}}.
 
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia editnotices| ]]
[[Category:MediaWiki namespace templates]]
 
[[it:Template:Editnotice load/core]]
}}</includeonly>

Latest revision as of 13:38, 5 June 2020