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

From blackwiki
Jump to navigation Jump to search
imported>Archenzo
m (it:wiki)
imported>Andrybak
 
Line 29: Line 29:
 
For more documentation see {{tl|editnotice load}}.
 
For more documentation see {{tl|editnotice load}}.
  
−
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia editnotices| ]]
 
[[Category:Wikipedia editnotices| ]]
Line 35: Line 35:
  
 
[[it:Template:Editnotice load/core]]
 
[[it:Template:Editnotice load/core]]
−
</includeonly>
+
}}</includeonly>

Latest revision as of 09:19, 14 April 2020

This is the {{editnotice load/core}} sub-template.

Do not use this template directly, use {{editnotice load}} instead.

This template is called from {{editnotice load}}. It holds parts of the code for {{editnotice load}}, while {{editnotice load}} does parameter preprocessing. Thus simplifying the code.

This template is used by the 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:

{{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-->
}}

For more documentation see {{editnotice load}}.