Template:Trope: Difference between revisions
Content added Content deleted
(Created page with "<onlyinclude>{| class="wikitable" border="1" |<div align="center">'''[[{{#titleparts: {{PAGENAME}} | 1 }}/Quotes|Quotes]] • {{#titleparts: {{PAGENAME}} | 1 }}/Headscrat...") |
(upgrade to current version of subpages) |
||
(36 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu">{{ #invoke: Subpages 6 |menu|{{#var:curpage}}|trope|{{{wppage|}}}}}</div> |
|||
<onlyinclude>{| class="wikitable" border="1" |
|||
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Trope]]}} |
|||
|<div align="center">'''[[{{#titleparts: {{PAGENAME}} | 1 }}/Quotes|Quotes]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Headscratchers|Headscratchers]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Playing With|Playing With]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Useful Notes|Useful Notes]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Analysis|Analysis]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Image Links|Image Links]] • [[{{#titleparts: {{PAGENAME}} | 1 }}/Laconic|Laconic]]'''</div> |
|||
</includeonly><noinclude> |
|||
|}</onlyinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
|||
[[Category:Wiki Templates]] |
Latest revision as of 09:51, 9 January 2017
- 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.