Template:Examples/doc: Difference between revisions

Everything About Fiction You Never Wanted to Know.
Content added Content deleted
No edit summary
mNo edit summary
Line 14: Line 14:
: Use the <code>page</code> argument to replace the default trope name. This is <code><nowiki>{{examples|page=A Completely Different Trope}}</nowiki></code>:
: Use the <code>page</code> argument to replace the default trope name. This is <code><nowiki>{{examples|page=A Completely Different Trope}}</nowiki></code>:
{{examples|page=A Completely Different Trope}}
{{examples|page=A Completely Different Trope}}
: To provide entirely alternate text, use an unnamed argument, like {{t|examples|I can't believe it's not ''Troper''!}}:
: To provide entirely alternate text, use an unnamed argument, like {{t|examples|I can't believe it's not Troper!}}:
{{examples|I can't believe it's not ''Troper''!}}
{{examples|I can't believe it's not Troper!}}


<includeonly>[[Category:ATT Templates]]</includeonly>
<includeonly>[[Category:ATT Templates]]</includeonly>

Revision as of 01:40, 22 March 2015

Description
A header for the examples section for use on trope pages (see the nearly identical {{tropelist}} for use on work pages). This makes a gray box that clearly delineates description from examples listings, and allows use of all of the normal headers for subsections.
Use
Place the template {{examples}} immediately above examples for in a trope list. It will automatically include the name of the trope:
Examples of Examples/doc include:
Options
Description
Use the art argument (short for "article") to precede the trope name with additional words, namely articles (a, an, the). This is {{examples|art=The}}:
Examples of The Examples/doc include:
Use the pre argument (short for "prefix") to append extra characters to the start of the title. This is {{examples|pre=Prefixed-}}:
Examples of Prefixed-Examples/doc include:
Use the suf argument (short for "suffix") to append extra characters to the end of the title. This is {{examples|suf=ample}}:
Examples of Examples/docample include:
Use the page argument to replace the default trope name. This is {{examples|page=A Completely Different Trope}}:
Examples of A Completely Different Trope include:
To provide entirely alternate text, use an unnamed argument, like {{examples|I can't believe it's not Troper!}}:
I can't believe it's not Troper!