Template:Work: Difference between revisions
Content added Content deleted
m (Protected "Template:Work": High inclusion template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
(deploy Module:Subpages 3 (source tab, drop-down menus)) |
||
Line 1: | Line 1: | ||
<includeonly><div class="sp-menu |
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu work-menu">{{ #invoke: Subpages 3 |menu|{{#var:curpage}}|work|{{{wppage|}}}}}</div> |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
[[Category:ATT Templates]] |
|||
</noinclude> |
</noinclude> |
Revision as of 00:05, 26 November 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. 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.