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

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(needs some documentation)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
−
{{NODOC}}
+
 
 +
Template loads the group editnotice for one of its existing subpages, specified in <code>{{{1}}}</code>, the first unnamed parameter.
 +
 
 +
'''Example''': {{tl|Editnotices/Group/Wikipedia:In the news}} is the group editnotice for [[Wikipedia:In the news]]. It makes a call to {{tl|Editnotice subpages}} with {{para|1|Candidates}}, which loads {{tl|Editnotices/Group/Wikipedia:In the news/Candidates}} for its subpages.
  
 
=== Usage ===
 
=== Usage ===
 +
*<code><nowiki>{{Editnotice subpages|subpage}}</nowiki></code>
 +
or
 +
*<code><nowiki>{{Editnotice subpages|subpage/subpage2}}</nowiki></code>
 +
etc.
  
−
=== See also ===
+
'''Parameters'''
 +
*{{para|1}} supports loading subpage group editnotices with a maximum depth of 6.
 +
*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.