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=''' | + | *'''date=''' Please use YYYY-MM-DD format for proper alignment. |
− | *'''link=''' Full | + | *'''link=''' Full url with a direct link such as <nowiki>http://www.example.com/test.html</nowiki>. This variable is not optional. |
− | *'''title=''' Title | + | *'''title=''' Title of the link. The headline provided by the source is most often the best choice here. |
− | + | *'''by=''' Name of author if available, if not can use name of organization or website. | |
− | *'''by=''' Name of author of | + | *'''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=''' | + | *'''event-link=''' If article link on Liquipedia is not pretty, use this to hide the link path. |
− | *'''language=''' | + | **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= | + | *{{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= | + | *{{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> |