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

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(needs some documentation)
imported>Andy M. Wang
(documentation)
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}}.
  
 
=== 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 a subpage group editnotice with a maximum depth of 6.
 +
*If {{para|on base|y}}, the full subpage after the prefix "Template:Editnotices/Group/[base page]" is not tested.
  
 
<includeonly>
 
<includeonly>

Revision as of 07:09, 24 June 2016

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

Usage

  • {{Editnotice subpages|subpage}}

or

  • {{Editnotice subpages|subpage/subpage2}}

etc.

Parameters

  • |1= supports a subpage group editnotice with a maximum depth of 6.
  • If |on base=y, the full subpage after the prefix "Template:Editnotices/Group/[base page]" is not tested.