Difference between revisions of "Template:Editnotice subpages/doc"
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 --> | ||
| − | {{ | + | |
| + | 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. | ||
| − | + | '''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
| This is a documentation subpage for Template:Editnotice subpages. It contains usage information, categories and other content that is not part of the original template page. |
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.