Template:Examples on subpages: Difference between revisions
Content added Content deleted
mNo edit summary |
No 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}}<noinclude>{{documentation}}[[Category:ATT Templates]]</noinclude> |
<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}}<include>[[Category:Pages with examples on subpages]]</includeonly><noinclude>{{documentation}}[[Category:ATT Templates]]</noinclude> |
Revision as of 19:04, 5 February 2022
Examples of Examples on subpages are listed on these subpages:
<include></includeonly>
- 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:
<include>
- 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,