Template:DrexFiles
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:
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:
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:
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:
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:
External links[edit source]
- Template:DrexFiles at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:DrexFiles/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |