Template:ExternalLink

From DDO Compendium
Revision as of 12:35, 6 December 2018 by MNDeveloper (talk | contribs)

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)|(Link Text)|(Forum Post Number)}}

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
  • 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
Link TextThis is the text you want displayed to the user on the link.
Forum Post NumberThis the post number, optional

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