Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tropes: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
Created page with "<includeonly>[[tropes:{{#replace:{{#replace:{{{1}}}|<nowiki> </nowiki>|<nowiki</nowiki>}}|-|<nowiki></nowiki>}}|{{{2|{{{1}}}}}}}}]]</includeonly><noinclude> = Documentation =..."
 
Joe Beaudoin Jr. (talk | contribs)
m Protected "Template:Tropes": Sensitive Page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[tropes:{{#replace:{{#replace:{{{1}}}|<nowiki> </nowiki>|<nowiki</nowiki>}}|-|<nowiki></nowiki>}}|{{{2|{{{1}}}}}}}}]]</includeonly><noinclude>
<includeonly>[[tropes:{{#replace:{{#replace:{{{1}}}|<nowiki> </nowiki>|<nowiki></nowiki>}}|-|<nowiki></nowiki>}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
= Documentation =
= Documentation =


As [[tropes:|TV Tropes]] strips human-readable links to remove spaces and other characters in its URL, this template allows simple linkage to an article on TV Tropes without having to deal with <pre><nowiki>[[tropes:ILied|I Lied]]</nowiki></pre>.  
As [[tropes:|TV Tropes]] strips human-readable links to remove spaces and other characters in its URL, this template allows simple linkage to an article on TV Tropes without having to deal with <code><nowiki>[[tropes:ILied|I Lied]]</nowiki></code>.  


== Usage ==
== Usage ==


<code>{{tropes:Train-Station Goodbye}}</code>
<code><nowiki>{{tropes|Train-Station Goodbye}</nowiki>}</code>


Prints:
Prints:


{{tropes:Train-Station Goodbye}}
{{tropes|Train-Station Goodbye}}


The deployment of a second variable also allows the end user to re-write the text to be hyperlinked, thus:
The deployment of a second variable also allows the end user to re-write the text to be hyperlinked, thus:


<code>{{tropes:Train-Station Goodbye|a farewell of star-crossed lovers}}</code>
<code><nowiki>{{tropes|Train-Station Goodbye|a farewell of star-crossed lovers}}</nowiki></code>


Prints:
Prints:


{{tropes:Train-Station Goodbye|a farewell of star-crossed lovers}}
{{tropes|Train-Station Goodbye|a farewell of star-crossed lovers}}
</noinclude>
</noinclude>

Latest revision as of 06:11, 22 April 2020

Documentation

As TV Tropes strips human-readable links to remove spaces and other characters in its URL, this template allows simple linkage to an article on TV Tropes without having to deal with [[tropes:ILied|I Lied]].

Usage

{{tropes|Train-Station Goodbye}}

Prints:

Train-Station Goodbye

The deployment of a second variable also allows the end user to re-write the text to be hyperlinked, thus:

{{tropes|Train-Station Goodbye|a farewell of star-crossed lovers}}

Prints:

a farewell of star-crossed lovers