Difference between revisions of "Template:Editnotice subpages/doc"
Jump to navigation
Jump to search
imported>Andy M. Wang (better description) |
imported>Vanisaac |
||
| (One intermediate revision by one other user not shown) | |||
| Line 4: | Line 4: | ||
Template loads the group editnotice for one of its existing subpages, specified in <code>{{{1}}}</code>, the first unnamed parameter. | 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}}. | + | '''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 === | ||
| Line 13: | Line 13: | ||
'''Parameters''' | '''Parameters''' | ||
| − | *{{para|1}} supports | + | *{{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. | *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
| 40px | 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}} 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.