- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Imdb-link: Difference between revisions
Jump to navigation
Jump to search
imported>Raffingoutroud →Linking to an actor/actress/person: Correcting example syntax. Originally said "Twitter" instead of "imdb-link" |
imported>TabbyGarf 1 revision imported |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:IMDB-favicon.png|link=http://www.imdb.com/{{{1}}}]] [http://www.imdb.com/{{{1}}} '''{{{2|{{{1}}}}}}''']</span></includeonly><noinclude> | ||
== Usage == | |||
Indicates a link to an [[IMDb]] entry. | Indicates a link to an [[IMDb]] entry. | ||
==Syntax== | |||
=== Syntax === | |||
'''<nowiki>{{ imdb-link | id | description }}</nowiki>''' | '''<nowiki>{{ imdb-link | id | description }}</nowiki>''' | ||
# '''id''' - the last portion of the URL to an IMDb page, the part after the slash. ie: <nowiki> http://www.imdb.com/(this part here) </nowiki> | # '''id''' - the last portion of the URL to an IMDb page, the part after the slash. ie: <nowiki> http://www.imdb.com/(this part here) </nowiki> | ||
# '''description''' - replaces the page id with your text. '''IMPORTANT'''. | # '''description''' - replaces the page id with your text. '''IMPORTANT'''. | ||
==Examples== | '''Note:''' do not use whitespace immediately before or after vertical bars or curly brackets | ||
=== Linking to a TV show/movie === | |||
=== Examples === | |||
==== Linking to a TV show/movie ==== | |||
<nowiki>{{imdb-link|title/tt0852863/|Phineas and Ferb}}</nowiki> | <nowiki>{{imdb-link|title/tt0852863/|Phineas and Ferb}}</nowiki> | ||
produces:<br /> | produces:<br /> | ||
{{imdb-link|title/tt0852863/|Phineas and Ferb}} | {{imdb-link|title/tt0852863/|Phineas and Ferb}} | ||
<br /> | <br /> | ||
=== Linking to an actor/actress/person === | |||
==== Linking to an actor/actress/person ==== | |||
<nowiki>{{imdb-link|name/nm0000221|Charlie Sheen}}</nowiki> | <nowiki>{{imdb-link|name/nm0000221|Charlie Sheen}}</nowiki> | ||
produces:<br /> | produces:<br /> |
Latest revision as of 13:43, 25 March 2021
Usage
Indicates a link to an IMDb entry.
Syntax
{{ imdb-link | id | description }}
- id - the last portion of the URL to an IMDb page, the part after the slash. ie: http://www.imdb.com/(this part here)
- description - replaces the page id with your text. IMPORTANT.
Note: do not use whitespace immediately before or after vertical bars or curly brackets
Examples
Linking to a TV show/movie
{{imdb-link|title/tt0852863/|Phineas and Ferb}}
produces:
Phineas and Ferb
Linking to an actor/actress/person
{{imdb-link|name/nm0000221|Charlie Sheen}}
produces:
Charlie Sheen