Template:ExternalMediaLink/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
mNo edit summary  | 
				mNo edit summary  | 
				||
| Line 2: | Line 2: | ||
====Parameters====  | ====Parameters====  | ||
*'''date='''   | *'''date=''' Use YYYY-MM-DD format.  | ||
*'''link=''' Full   | *'''link=''' Full URL such as <nowiki>http://comp.tf</nowiki>.  | ||
*'''title=''' Title   | *'''title=''' Title to be displayed. Usually the title used in the source is the best choice.  | ||
*'''by=''' Name of author   | **If left blank, the URL will be used as the displayed title.  | ||
*'''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>).  | |||
*'''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=''' Link for event if not the event name.  | ||
*'''language=''' Displays [[Template:Flag]] before source link. Leave blank if source is in English.  | |||
*'''language='''   | |||
====Copy/Paste Code====  | ====Copy/Paste Code====  | ||
| Line 23: | Line 18: | ||
|title=  | |title=  | ||
|by=  | |by=  | ||
|event=  | |event=  | ||
|event-link=  | |event-link=  | ||
|language=  | |language=  | ||
}}  | }}  | ||
</pre>  | </pre>  | ||
Short form:  | Short form:  | ||
<pre>*{{ExternalMediaLink   | <pre>*{{ExternalMediaLink |date= |link= |title= |by= |event= |event-link= |language= }}</pre>  | ||
====Example====  | ====Example====  | ||
<pre>  | <pre>  | ||
*{{ExternalMediaLink  | * {{ExternalMediaLink |date=2017-03-22 |link=https://www.youtube.com/watch?v=WZDn0XHr0mw |title=b4nny - An ESA Media Documentary |by= [[Esports Arena]] |event=Rewind 2017 |event-link= |language= }}  | ||
|date=  | |||
|link=  | |||
|title=  | |||
|by=  | |||
|event=  | |||
|event-link=  | |||
|language=  | |||
}}  | |||
</pre>  | </pre>  | ||
creates:  | creates:  | ||
*{{ExternalMediaLink  | * {{ExternalMediaLink |date=2017-03-22 |link=https://www.youtube.com/watch?v=WZDn0XHr0mw |title=b4nny - An ESA Media Documentary |by= [[Esports Arena]] |event=Rewind 2017 |event-link= |language= }}  | ||
|date=  | |||
|link=  | |||
|title=  | |||
|by=  | |||
|event=  | |||
|event-link=  | |||
|language=  | |||
}}  | |||
<noinclude>[[Category:Template Documentation Pages]]</noinclude>  | <noinclude>[[Category:Template Documentation Pages]]</noinclude>  | ||
Revision as of 11:05, 12 December 2019
Template:ExternalMediaLink helps with formatting for external media links such as interviews or image galleries.
Parameters
- date= Use YYYY-MM-DD format.
 - link= Full URL such as http://comp.tf.
 - title= Title to be displayed. Usually the title used in the source is the best choice.
- If left blank, the URL will be used as the displayed title.
 
 - by= Name of author of source. If author is represented by organization, use organizational author (e.g. [[teamfortress.tv]]), otherwise use independent author (e.g. [[Beater]]).
 - 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.
 - language= Displays Template:Flag before source link. Leave blank if source is in English.
 
Copy/Paste Code
*{{ExternalMediaLink
|date=
|link=
|title=
|by=
|event=
|event-link=
|language=
}}
Short form:
*{{ExternalMediaLink |date= |link= |title= |by= |event= |event-link= |language= }}
Example
* {{ExternalMediaLink |date=2017-03-22 |link=https://www.youtube.com/watch?v=WZDn0XHr0mw |title=b4nny - An ESA Media Documentary |by= [[Esports Arena]] |event=Rewind 2017 |event-link= |language= }}
creates:
- 2017-03-22 | b4nny - An ESA Media Documentary (by Esports Arena at Rewind 2017)