Template:Work/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
(document new parameter)
No edit summary
Line 8: Line 8:
:With a page parameter, specify a particular parent page to display the template for. Useful for subpages that have their own subpages, such as "Series/Book 1/..." (e.g. [[Harry Potter (Franchise)/Harry Potter and the Deathly Hallows/YMMV]]). This is what <code><nowiki>{{work|page=Buffy the Vampire Slayer (TV)}}</nowiki></code> produces:
:With a page parameter, specify a particular parent page to display the template for. Useful for subpages that have their own subpages, such as "Series/Book 1/..." (e.g. [[Harry Potter (Franchise)/Harry Potter and the Deathly Hallows/YMMV]]). This is what <code><nowiki>{{work|page=Buffy the Vampire Slayer (TV)}}</nowiki></code> produces:
{{work|page=Buffy the Vampire Slayer (TV)}}
{{work|page=Buffy the Vampire Slayer (TV)}}
<noinclude>

[[Category:ATT Template Documentation]]
[[Category:ATT Template Documentation]]
</noinclude>

Revision as of 21:33, 17 February 2014

Description
This template mimics the subpage links at the top of most works pages on TV Tropes. You have to put it on each page manually, but it serves the same purpose.
Syntax
Place {{Work}} at the top of the article. It makes a bar that looks like this:


Options
With a page parameter, specify a particular parent page to display the template for. Useful for subpages that have their own subpages, such as "Series/Book 1/..." (e.g. Harry Potter (Franchise)/Harry Potter and the Deathly Hallows/YMMV). This is what {{work|page=Buffy the Vampire Slayer (TV)}} produces: