Template:External link/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:External link. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
This template is used to link to exteral website entries without a dedicated template. A variable is required giving the end path to the address in question, and a second variable can be used to alter the linking text.
URLs containing unencoded equal signs ('=') will break this template. To fix this, you will have to encode all equal signs using {{=}}.
The abbreviation "el" can be used in the template instead of the full "external link" designation.
To link to an article, for example one at the Hollywood Reporter, you would have a template call as such:
{{external link|www.hollywoodreporter.com/live-feed/star-trek-second-animated-series-more-short-treks-coming-cbs-all-access-1174218}}
This would produce:
If text is desired, such as "Animated Short Treks", the following format should be used:
{{external link|www.hollywoodreporter.com/live-feed/star-trek-second-animated-series-more-short-treks-coming-cbs-all-access-1174218|Animated ''Short Treks''}}
This would produce:
For example, if you wish the link to be formatted as an external link, add the base website address as a third variable:
{{external link|www.hollywoodreporter.com/live-feed/star-trek-second-animated-series-more-short-treks-coming-cbs-all-access-1174218|Animated ''Short Treks''|www.hollywoodreporter.com}}
This would produce:
If you wish the external link to display different text, the following format should be used:
{{external link|www.hollywoodreporter.com/live-feed/star-trek-second-animated-series-more-short-treks-coming-cbs-all-access-1174218|Animated ''Short Treks''|www.hollywoodreporter.com|The Hollywood Reporter}}
This would produce:
External links[edit source]
- Template:External link/doc at Memory Alpha, the wiki for canon Star Trek.