Template:Tropelist/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
(template category)
m (copyedits)
(One intermediate revision by one other user not shown)
Line 2: Line 2:
: A header for the examples section for use on '''works pages''' (see the nearly identical {{tl|examples}} for use on trope pages). This makes a gray box that clearly delineates description from trope examples listings, and allows use of all of the normal headers for subsections.
: A header for the examples section for use on '''works pages''' (see the nearly identical {{tl|examples}} for use on trope pages). This makes a gray box that clearly delineates description from trope examples listings, and allows use of all of the normal headers for subsections.
; Use
; Use
: Place the template {{tl|tropelist}} immediately above examples for in a trope list. It will automatically include the name of the work in italics:
: Place the template {{t|tropelist}} immediately above examples for in a trope list. It will automatically include the name of the work in italics:
{{tropelist}}
{{tropelist}}
; Options
; Options
: With an argument named <code>page</code> will alter the default trope name. This is <code><nowiki>{{tropelist|page=And Now for Something Completely Different}}</nowiki></code>:
: With an argument named <code>page</code> will alter the default work name. This is <code><nowiki>{{tropelist|page=And Now for Something Completely Different}}</nowiki></code>:
{{tropelist|page=And Now for Something Completely Different}}
{{tropelist|page=And Now for Something Completely Different}}
: To provide entirely alternate text, provide it as an unnamed argument to the template, like <code><nowiki>{{tropelist|A long time ago, in a ''tropelist'' far far away...}}</nowiki></code>.
: To provide entirely alternate text, provide it as an unnamed argument to the template, like {{t|tropelist|A long time ago, in a ''tropelist'' far far away...}}.
{{tropelist|A long time ago, in a ''tropelist'' far far away...}}
{{tropelist|A long time ago, in a ''tropelist'' far far away...}}


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

Revision as of 13:54, 3 August 2019

Description
A header for the examples section for use on works pages (see the nearly identical {{examples}} for use on trope pages). This makes a gray box that clearly delineates description from trope examples listings, and allows use of all of the normal headers for subsections.
Use
Place the template {{tropelist}} immediately above examples for in a trope list. It will automatically include the name of the work in italics:
Tropes used in Tropelist/doc include:
Options
With an argument named page will alter the default work name. This is {{tropelist|page=And Now for Something Completely Different}}:
Tropes used in And Now for Something Completely Different include:
To provide entirely alternate text, provide it as an unnamed argument to the template, like {{tropelist|A long time ago, in a tropelist far far away...}}.
A long time ago, in a tropelist far far away...