Difference between revisions of "Template:Download"
Jump to navigation
Jump to search
sc4e>Warrior m (Changed slightly) |
sc4e>JoeST m (changed back, OTHER is not needed, if you put OTHER it should still work anyway) |
||
Line 22: | Line 22: | ||
| TPP = http://www.theplanningpages.com/community/downloads.php?do=file&id={{{id}}} | | TPP = http://www.theplanningpages.com/community/downloads.php?do=file&id={{{id}}} | ||
| STMOD = http://www.simtropolis.com/modding/index.cfm?p=details&id={{{id}}} | | STMOD = http://www.simtropolis.com/modding/index.cfm?p=details&id={{{id}}} | ||
− | | | + | |{{{id}}} |
}} {{{text|Download {{#if:{{{exchange|}}}|from {{{exchange}}}|Here}}}}}{{#if:{{{vers|}}}| ({{{vers}}})}}]</includeonly> | }} {{{text|Download {{#if:{{{exchange|}}}|from {{{exchange}}}|Here}}}}}{{#if:{{{vers|}}}| ({{{vers}}})}}]</includeonly> |
Revision as of 10:50, 16 September 2008
This template is designed to include a link to the appropriate download site
Syntax
{{Download |exchange = |id = }}
- exchange - the name of the exchange. Can be; LEX, STEX, TPP or PLEX.
- id - the id of the lot on that exchange if Exchange isnt specified, ID is the full URL.
Example
[{{{id}}} Download Here]
To add an Exchange
- Get the url to a file on the exchange (for example: http://www.theplanningpages.com/community/downloads.php?do=file&id=15 is a link to a file on TPP) and remove the unique identifier (usualy prefixed by id= ) with {{{id}}}.
- Find/make an acronym for that exchange that is unique.
- Add this before (}} Download Here]) in the <includeonly> section:
| acronym = link-with-id
eg:
| TPP = http://www.theplanningpages.com/community/downloads.php?do=file&id={{{id}}}