Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Imdb-link: Difference between revisions

From Encyclopedia Dramatica
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
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<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>
<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'''.
<br />
'''''Note''''': remember to remove all whitespaces (except for the ones in description) and put everything in one long line, otherwise it might get broken.


==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 }}
  1. id - the last portion of the URL to an IMDb page, the part after the slash. ie: http://www.imdb.com/(this part here)
  2. 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