Template:Trope: Difference between revisions
Content added Content deleted
m (Protected "Template:Trope": highly transcluded template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
(update to Module:Subpages 3) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu |
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu">{{ #invoke: Subpages 3 |menu|{{#var:curpage}}|trope|{{{wppage|}}}}}</div> |
||
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Trope]]}} |
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Trope]]}} |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
[[Category:ATT Templates]] |
|||
</noinclude> |
</noinclude> |
Revision as of 03:59, 7 October 2014
- Description
- This template creates the subpage links at the top of most tropes pages on All The Tropes.
- Syntax
- Place {{trope}} 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. Potentially useful for subpages of subtropes, but mainly done for parallelism with {{work}}. This is what
{{trope|page=Lampshade Hanging}}
produces:
- With a wppage parameter, specify a particular Wikipedia article to link to. This is useful for when Wikipedia has an article on the subject in question, but its title doesn't match up. This is what
{{trope|wppage=Chintzware}}
produces:
- See Also
- {{work}} for works, {{creator}} for creators, and {{Useful Notes}} for Useful Notes.