Difference between revisions of "Template:ExternalLink"

From DDO Compendium
Line 14: Line 14:
|parameter2description = This is the identifier to the page
|parameter2description = This is the identifier to the page
|parameter2values =  
|parameter2values =  
* For YouTube is the video id, which is usually the value after the v= in the url. <nowiki>https://www.youtube.com/?v=</nowiki>
* For YouTube is the video id, which is usually the value after the v= in the url. <nowiki>https://www.youtube.com/?v=</nowiki><b>PTw5oHOi3VE</b>
<b>PTw5oHOi3VE</b>
* For the forums, it is the number right after the "showthread.php" value. <nowiki>https://www.ddo.com/forums/showthread.php/</nowiki><b>496050</b>-The-DDO-Chronicle-Issue-281
* For the forums, it is the number right after the "showthread.php" value. <nowiki>https://www.ddo.com/forums/showthread.php/</nowiki><b>496050</b>-The-DDO-Chronicle-Issue-281
}}
}}

Revision as of 18:53, 5 May 2018

ExternalLink[edit]

This template is used top level templates to add youtube and forum links to the page.

Example Usage
{{ExternalLink|youtube|PTw5oHOi3VE|Spyderwolf's YouTube Video Quest Walkthrough}}Spyderwolf's YouTube Video Quest Walkthrough
{{ExternalLink|forum|496050|The DDO Chronicle: Issue 281}}The DDO Chronicle: Issue 281

Usage[edit]

{{ExternalLink|(Site Indicator)|(Identifier)}}

Parameter Documentation
Site IndicatorThis is an indicator of which site you want the link to go to. Currently only YouTube and the DDO forums are supported.
Possible Values:
  • Youtube
  • Forum
IdentifierThis is the identifier to the page
Possible Values:
  • For YouTube is the video id, which is usually the value after the v= in the url. https://www.youtube.com/?v=PTw5oHOi3VE
  • For the forums, it is the number right after the "showthread.php" value. https://www.ddo.com/forums/showthread.php/496050-The-DDO-Chronicle-Issue-281

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Not a valid type