Template:Work/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
;Description
;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.
:This template creates the subpage links at the top of most ''works'' pages on All The Tropes.
;Syntax
;Syntax
:Place {{tl|Work}} at the top of the article.
:Place {{tl|work}} at the top of the article. This 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/Harry Potter and the Deathly Hallows/YMMV]]). This is what <code><nowiki>{{work|page=Buffy the Vampire Slayer)}}</nowiki></code> produces:
{{work|page=Buffy the Vampire Slayer}}

:With a wppage parameter, specify a particular Wikipedia article to link to. This is useful for when Wikipedia has an article on the work in question, but its title doesn't match up. This is what <code><nowiki>{{work|wppage=Chintzware}}</nowiki></code> produces:
{{work|wppage=Chintzware}}

;See Also
: {{tl|trope}} for tropes, {{tl|creator}} for creators, and {{tl|Useful Notes}} for Useful Notes.

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

Latest revision as of 03:07, 15 March 2018

Description
This template creates the subpage links at the top of most works pages on All The Tropes.
Syntax
Place {{work}} at the top of the article. This 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/Harry Potter and the Deathly Hallows/YMMV). This is what {{work|page=Buffy the Vampire Slayer)}} produces:


With a wppage parameter, specify a particular Wikipedia article to link to. This is useful for when Wikipedia has an article on the work in question, but its title doesn't match up. This is what {{work|wppage=Chintzware}} produces:


See Also
{{trope}} for tropes, {{creator}} for creators, and {{Useful Notes}} for Useful Notes.