Difference between revisions of "Template:Editnotice subpages/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andy M. Wang
(tweaks)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 16: Line 16:
 
*If {{para|on base|no}}, the subpage group editnotice is shown only on subpages of <code><nowiki>{{FULLROOTPAGENAME}}/{{{1}}}</nowiki></code>, not on that page itself.
 
*If {{para|on base|no}}, the subpage group editnotice is shown only on subpages of <code><nowiki>{{FULLROOTPAGENAME}}/{{{1}}}</nowiki></code>, not on that page itself.
  
−
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia editnotices]]
 
[[Category:Wikipedia editnotices]]
  
−
</includeonly>
+
}}</includeonly>

Latest revision as of 01:02, 25 April 2020

Template loads the group editnotice for one of its existing subpages, specified in {{{1}}}, the first unnamed parameter.

Example: {{Editnotices/Group/Wikipedia:In the news}} is the group editnotice for Wikipedia:In the news. It makes a call to {{Editnotice subpages}} with |1=Candidates, which loads {{Editnotices/Group/Wikipedia:In the news/Candidates}} for its subpages.

Usage

  • {{Editnotice subpages|subpage}}

or

  • {{Editnotice subpages|subpage/subpage2}}

etc.

Parameters

  • |1= supports loading subpage group editnotices with a maximum depth of 6.
  • If |on base=no, the subpage group editnotice is shown only on subpages of {{FULLROOTPAGENAME}}/{{{1}}}, not on that page itself.