Template:Work/doc: Difference between revisions
Content added Content deleted
m (update links) |
No edit summary |
||
Line 1: | Line 1: | ||
;Description |
;Description |
||
:This template |
:This template creates the subpage links at the top of most ''works'' pages on All The Tropes. |
||
;Syntax |
;Syntax |
||
:Place {{tl| |
:Place {{tl|work}} at the top of the article. It makes a bar that looks like this: |
||
{{work}} |
{{work}} |
||
;Options |
;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: |
: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}} |
{{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> |
<noinclude> |
||
[[Category:ATT Template Documentation]] |
[[Category:ATT Template Documentation]] |
Revision as of 02:41, 5 September 2014
- 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. 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/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.