Template:Examples on subpages: Difference between revisions
Content added Content deleted
(After double-checking what "Cate3gory:Index" is for, took that category right back out of this template.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div class="examplesbox">{{{1|Examples of {{{art|}}} {{{pre|}}}{{{page|{{PAGENAME}}}}}{{{suf|}}} are listed on these subpages:}}}</div>{{#invoke: Subpages 6 |tree|{{{page|{{FULLPAGENAME}}}}}|filter=trope}} |
<div class="examplesbox">{{{1|Examples of {{{art|}}} {{{pre|}}}{{{page|{{PAGENAME}}}}}{{{suf|}}} are listed on these subpages:}}}</div>{{#invoke: Subpages 6 |tree|{{{page|{{FULLPAGENAME}}}}}|filter=trope}}<noinclude>{{documentation}}[[Category:ATT Templates]]</noinclude> |
||
<noinclude>{{documentation}}[[Category:ATT Templates]]</noinclude> |
Revision as of 14:05, 13 June 2020
Examples of Examples on subpages are listed on these subpages:
- Description
- A header for the examples section for use on trope pages where the examples are stored on subpages. If it has ordinary examples too,[1] you may also want to link to {{examples}} on the following line.
- This template makes a gray box describing the fact that we have subpages, followed by a list of those subpages. These subpages specifically exclude standard types like "/Quotes" or "/YMMV", so that only media subpages are listed.
- Use
- Place the template {{examples on subpages}} where the examples would normally go on a trope page. It will automatically include the name of the trope:
Examples of Examples on subpages are listed on these subpages:
- followed by a list of subpages
- Options
- This takes all of the options that {{examples}} does. See that page for documentation on options.
- ↑ Which looks sloppy and is discouraged - please either move all the examples to subpages or leave all the examples on the trope page,