Template:Trope/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 2:
:This template creates the subpage links at the top of most ''tropes'' pages on All The Tropes.
;Syntax
:Place {{tl|trope}} at the top of the article. ItThis makes a bar that looks like this:
{{trope}}
 
Line 8:
: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 {{tl|work}}. This is what <code><nowiki>{{trope|page=Lampshade Hanging}}</nowiki></code> produces:
{{trope|page=Lampshade Hanging}}
: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 <code><nowiki>{{trope|wpagewppage=Chintzware}}</nowiki></code> produces:
<!-- Doesn't work.
{{trope|wpagewppage=Chintzware}}
: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 <code><nowiki>{{trope|wpage=Chintzware}}</nowiki></code> produces:
{{trope|wpage=Chintzware}}
-->
 
;See Also
: {{tl|work}} for works, and {{tl|creator}} for creators, and {{tl|Useful Notes}} for Useful Notes.
 
<noinclude>[[Category:ATT Template Documentation]]</noinclude><includeonly>
[[Category:ATT Templates]]</includeonly>
132

edits