Template:Trek Initiative/doc
This is a documentation subpage for Template:Trek Initiative. 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 the Trek Initiative website entries. A variable is required giving the end path to the article in question, and a second variable can be used to alter the linking text.
If no initial variable is given, the link will go to the main webpage, such as:
{{Trek Initiative}}
Which would produce:
To link to an article, for example the 2013 interview with Doug Drexler, you would have a template call as such:
{{Trek Initiative|User_blog:Brandon_Rhea/Interview_with_Doug_Drexler}}
This would produce:
If text is desired, such as "2013 interview", the following format should be used:
{{Trek Initiative|User_blog:Brandon_Rhea/Interview_with_Doug_Drexler|2013 interview}}
This would produce:
If you wish the link to be formatted as an external link, for example on Doug Drexler's page, the following format should be used:
{{Trek Initiative|User_blog:Brandon_Rhea/Interview_with_Doug_Drexler||external}}
This would produce:
If you wish the external link to display different text, the following format should be used:
{{Trek Initiative|User_blog:Brandon_Rhea/Interview_with_Doug_Drexler|2013 Interview with Doug Drexler|external}}
This would produce:
External links[edit source]
- Template:Trek Initiative/doc at Memory Alpha, the wiki for canon Star Trek.