Editing Template:ExternalMediaLink/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 2: Line 2:
  
 
====Parameters====
 
====Parameters====
*'''date=''' Use YYYY-MM-DD format.
+
*'''date=''' Please use YYYY-MM-DD format for proper alignment.
*'''link=''' Full URL such as <nowiki>http://comp.tf</nowiki>.
+
*'''link=''' Full url with a direct link such as <nowiki>http://www.example.com/test.html</nowiki>. This variable is not optional.
*'''title=''' Title to be displayed. Usually the title used in the source is the best choice.
+
*'''title=''' Title of the link. The headline provided by the source is most often the best choice here.
**If left blank, the URL will be used as the displayed title.
+
*'''by=''' Name of author if available, if not can use name of organization or website.
*'''by=''' Name of author of source. If author is represented by organization, use organizational author (e.g. <nowiki>[[teamfortress.tv]]</nowiki>), otherwise use independent author (e.g. <nowiki>[[Beater]]</nowiki>).
+
*'''of=''' If name of author is known, you can add the organization they represent here. Do not include full URLs here. (Teamliquid or Teamliquid.net but not <nowiki>http://Teamliquid.net</nowiki>)
 
*'''event=''' Name of event, this will create an internal link if you do not use the next parameter.
 
*'''event=''' Name of event, this will create an internal link if you do not use the next parameter.
*'''event-link=''' Link for event if not the event name.
+
*'''event-link=''' If article link on Liquipedia is not pretty, use this to hide the link path.
*'''language=''' Displays [[Template:Flag]] before source link. Leave blank if source is in English.
+
**Set this to '''false''' if you do not wish to have the event parameter create an internal link.
 +
*'''language=''' Use this to indicate which language an interview is in, use corresponding country codes (i.e. se for Swedish, kr for Korean, fr for French, etc.).
 +
**Leave this field empty if the interview is in English.
 +
*'''trans_title=''' Use this to provide a translation of the title in english.
 +
*'''translation=''' Use this to indicate which language an interview is translated into.
 +
*'''translator=''' Name of the translator if available.
  
 
====Copy/Paste Code====
 
====Copy/Paste Code====
Line 18: Line 23:
 
|title=
 
|title=
 
|by=
 
|by=
|of
+
|of=
 
|event=
 
|event=
 
|event-link=
 
|event-link=
 
|language=
 
|language=
 +
|trans_title=
 +
|translation=
 +
|translator=
 
}}
 
}}
 
</pre>
 
</pre>
 
Short form:
 
Short form:
<pre>*{{ExternalMediaLink |date= |link= |title= |by= |event= |event-link= |language= }}</pre>
+
<pre>*{{ExternalMediaLink |date= |link= |title= |by= |of=  |event= |event-link= |language= |translation= }}</pre>
  
 
====Example====
 
====Example====
 
<pre>
 
<pre>
* {{ExternalMediaLink |date=2017-03-22 |link=https://www.youtube.com/watch?v=WZDn0XHr0mw |title=b4nny - An ESA Media Documentary |by= [[Esports Arena]] |of= [[Esports Arena]] |event=Rewind 2017 |event-link= |language= }}
+
*{{ExternalMediaLink
 +
|date=2012-02-13
 +
|link=http://example.com
 +
|title="Noam: Je serais le meilleur codeur de template de l'hémisphère nord l'année prochaine"
 +
|by=the gnome
 +
|of=Liquipedia.net
 +
|event=the Liquipedia yearly convention
 +
|event-link=false
 +
|language=fr
 +
|trans_title="Noam: I will be the best template coder on the nothern hemisphere by next year"
 +
|translation=usuk
 +
|translator=somebody
 +
}}
 
</pre>
 
</pre>
 
creates:
 
creates:
* {{ExternalMediaLink |date=2017-03-22 |link=https://www.youtube.com/watch?v=WZDn0XHr0mw |title=b4nny - An ESA Media Documentary |by= [[Esports Arena]] |of= [[Esports Arena]] |event=Rewind 2017 |event-link= |language= }}
+
*{{ExternalMediaLink
 +
|date=2012-02-13
 +
|link=http://example.com
 +
|title="Noam: Je serais le meilleur codeur de template de l'hémisphère nord l'année prochaine"
 +
|by=the gnome
 +
|of=Liquipedia.net
 +
|event=the Liquipedia yearly convention
 +
|event-link=false
 +
|language=fr
 +
|trans_title="Noam: I will be the best template coder on the nothern hemisphere by next year"
 +
|translation=usuk
 +
|translator=somebody
 +
}}
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: