Template:DrexFiles

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

This template is used to link to the [dead link] website entries. A variable is required giving the end path to the article or file 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 DrexFiles webpage, such as:

{{DrexFiles}}

Which would produce:

[dead link]

To link to an article or file, for example the article about the Warp Delta or the file including notes about the rank of Commodore, you would have a template call as such:

{{DrexFiles|2009/04/24/ste-warp-delta-pictorial/}}
{{DrexFiles|file=2011/02/untitled-6.jpg}}

This will produce:

[dead link]
[dead link]

If text is desired, such as "Warp Delta" or "rank notes", the following format should be used:

{{DrexFiles|2009/04/24/ste-warp-delta-pictorial/|Warp Delta}}
{{DrexFiles|file=2011/02/untitled-6.jpg|rank notes}}

This will produce:

[dead link]
[dead link]

For example, if you wish the links to be formatted as an external link on the Unnamed Earth starship classes or Commodore pages, the following format should be used:

{{DrexFiles|2009/04/24/ste-warp-delta-pictorial/||external}}
{{DrexFiles|file=2011/02/untitled-6.jpg||external}}

This will produce:

[dead link] at the[dead link]
[dead link] at the[dead link]

If you wish the external link to display different text, the following format should be used:

{{DrexFiles|2009/04/24/ste-warp-delta-pictorial/|Warp Delta|external}}
{{DrexFiles|file=2011/02/untitled-6.jpg|Rank notes|external}}

This would produce:

[dead link] at the[dead link]
[dead link] at the[dead link]

External links[edit source]