Template:Trope/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
m (1 revision: reupload of previous page XML upload)
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
;Description
Put this template down on pages for tropes.
: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. This makes a bar that looks like this:
{{trope}}


;Options
'''Usage:'''
: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|wppage=Chintzware}}</nowiki></code> produces:
{{trope|wppage=Chintzware}}


;See Also
<nowiki>{{trope}}</nowiki>
: {{tl|work}} for works, {{tl|creator}} for creators, and {{tl|Useful Notes}} for Useful Notes.
<noinclude>[[Category:ATT Template Documentation]]</noinclude>

<noinclude>[[Category:ATT Template Documentation]]</noinclude><includeonly>
[[Category:ATT Templates]]</includeonly>

Latest revision as of 03:06, 15 March 2018

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.