Template:Work: Difference between revisions
Content added Content deleted
(Undo revision 1151044 by QuestionableSanity (talk)) |
No edit summary Tag: Undo |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="sp-menu |
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu work-menu">{{ #invoke: Subpages 5 |menu|{{#var:curpage}}|work|{{{wppage|}}}|{{{nowp|}}}}}</div> |
||
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Work]] |
|||
}} |
|||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
[[Category:ATT Templates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 01:30, 19 June 2021
- 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.