Template:Trope: Difference between revisions
Content added Content deleted
(right, category trope should only be included on main pages. variables to again prevent double-work) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="margin: auto" |
|||
! Trope |
|||
|} |
|||
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu" style="margin-top: -1em; border-bottom: #AAA solid 1px; margin-bottom: 0.5em">{{ #invoke: Subpages 2 |subpages|{{#var:curpage}}|trope|{{{wppage|}}}}}</div><div style="clear:both"></div> |
<includeonly>{{#vardefine:curpage|{{{page|{{{1|{{TOPLEVELPAGE}}}}}}}}}}<div class="sp-menu" style="margin-top: -1em; border-bottom: #AAA solid 1px; margin-bottom: 0.5em">{{ #invoke: Subpages 2 |subpages|{{#var:curpage}}|trope|{{{wppage|}}}}}</div><div style="clear:both"></div> |
||
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Trope]]}} |
{{#ifeq: {{#var:curpage}} | {{PAGENAME}} |[[Category:Trope]]}} |
Revision as of 02:37, 5 September 2014
Trope |
---|
- 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:
Trope |
---|
- 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:
Trope |
---|
- 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:
Trope |
---|
- See Also
- {{work}} for works, {{creator}} for creators, and {{Useful Notes}} for Useful Notes.