Difference between revisions of "Template:ExternalLink"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 15: | Line 15: | ||
|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>* For the forums, it is the number right after the "showthread.php" value. <nowiki>https://www.ddo.com/forums/showthread.php/</nowiki> | <b>PTw5oHOi3VE</b> | ||
<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 | ||
}} | }} | ||
</noinclude> | </noinclude> |
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 Indicator | This is an indicator of which site you want the link to go to. Currently only YouTube and the DDO forums are supported. Possible Values:
|
Identifier | This is the identifier to the page Possible Values:
PTw5oHOi3VE
|
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