Template:Work/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
No edit summary
(document new parameter)
Line 2: Line 2:
: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.
: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
;Syntax
:Place {{tl|Work}} at the top of the article.
:Place {{tl|Work}} at the top of the article. It makes a bar that looks like this:

Makes a bar that looks like this:
{{work}}
{{work}}

;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 <code><nowiki>{{work|page=Buffy the Vampire Slayer (TV)}}</nowiki></code> produces:
{{work|page=Buffy the Vampire Slayer (TV)}}


[[Category:ATT Template Documentation]]
[[Category:ATT Template Documentation]]

Revision as of 10:59, 5 January 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: