Template:Dlmod: Difference between revisions
(ce) |
(Adding ModDb, and a lower-casing snippet) |
||
Line 1: | Line 1: | ||
<sup title="Download {{#if:{{{url|}}}|from|page at}} {{#switch:{{{1}}} | <sup title="Download {{#if:{{{url|}}}|from|page at}} {{#switch:{{lc:{{{1}}}}} | ||
|nexus=Nexus Mods – click 'Manual Download' for file and sometimes patches. | |nexus=Nexus Mods – click 'Manual Download' for file and sometimes patches. | ||
|nexusmods=Nexus Mods – click 'Manual Download' for file and sometimes patches. | |nexusmods=Nexus Mods – click 'Manual Download' for file and sometimes patches. | ||
Line 9: | Line 9: | ||
|emma=Emma's Elder Scrolls Site (Lovkullen) – download links there may not all work, but at least one should. | |emma=Emma's Elder Scrolls Site (Lovkullen) – download links there may not all work, but at least one should. | ||
|lovkullen=Emma's Elder Scrolls Site (Lovkullen) – download links there may not all work, but at least one should. | |lovkullen=Emma's Elder Scrolls Site (Lovkullen) – download links there may not all work, but at least one should. | ||
|moddb=ModDb – may also provide patches. | |||
|author=author/team's website | |author=author/team's website | ||
|custom=author/team's website | |custom=author/team's website | ||
|<!-- default= --><noinclude>Nexus Mods</noinclude> | |<!-- default= --><noinclude>Nexus Mods</noinclude> | ||
}}">[{{#switch:{{{1}}} | }}">[{{#switch:{{lc:{{{1}}}}} | ||
|nexus=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N | |nexus=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N | ||
|nexusmods=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N | |nexusmods=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N | ||
Line 22: | Line 23: | ||
|emma=http://lovkullen.net/Emma/{{{2}}}.htm E | |emma=http://lovkullen.net/Emma/{{{2}}}.htm E | ||
|lovkullen=http://lovkullen.net/Emma/{{{2}}}.htm E | |lovkullen=http://lovkullen.net/Emma/{{{2}}}.htm E | ||
|moddb=http://www.moddb.com/mods/{{{2}}}/downloads D | |||
|author={{{url}}} A | |author={{{url}}} A | ||
|custom={{{url}}} A | |custom={{{url}}} A | ||
Line 31: | Line 33: | ||
=== Parameters === | === Parameters === | ||
* <code><nowiki>{{dlmod|nexus|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|nexusmods|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Nexus Mods (nexusmods.com).<br />The <kbd><var>pageID</var></kbd> you supply the is number near the end of the URL, e.g. <kbd>24561</kbd> in < | * <code><nowiki>{{dlmod|nexus|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|nexusmods|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Nexus Mods (nexusmods.com).<br />The <kbd><var>pageID</var></kbd> you supply the is number near the end of the URL, e.g. <kbd>24561</kbd> in <samp><nowiki>http://www.nexusmods.com/</nowiki>morrowind/mods/<u>24561</u>/?</samp><br /><code><nowiki>Thus, <code><nowiki>{{dlmod|nexus|24561}}</nowiki></code> produces: {{dlmod|nexus|24561}} | ||
* <code><nowiki>{{dlmod|mmh|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|modhistory|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Morrowind Modding History (mw.modhistory.com).<br />The <kbd><var>pageID</var></kbd> you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. <kbd>42-12387</kbd> in < | * <code><nowiki>{{dlmod|mmh|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|modhistory|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Morrowind Modding History (mw.modhistory.com).<br />The <kbd><var>pageID</var></kbd> you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. <kbd>42-12387</kbd> in <samp><nowiki>http://mw.modhistory.com/</nowiki>download-<u>42-12387</u></samp><br />Thus, <code><nowiki>{{dlmod|mmh|42-12387}}</nowiki></code> produces: {{dlmod|mmh|42-12387}} | ||
* <code><nowiki>{{dlmod|flig|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|fliggerty|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Great House Fliggerty (dowload.fliggerty.com).<br />The <kbd><var>pageID</var></kbd> you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. <kbd>11-1169</kbd> in < | * <code><nowiki>{{dlmod|flig|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|fliggerty|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Great House Fliggerty (dowload.fliggerty.com).<br />The <kbd><var>pageID</var></kbd> you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. <kbd>11-1169</kbd> in <samp><nowiki>http://download.fliggerty.com/</nowiki>download-<u>11-1169</u></samp><br />Thus, <code><nowiki>{{dlmod|flig|11-1169}}</nowiki></code> produces: {{dlmod|flig|11-1169}} | ||
* <code><nowiki>{{dlmod|emma|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|lovkullen|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Emma's Elder Scrolls Site (lovkullen.net).<br />The <kbd><var>pageID</var></kbd> you supply is the <em>case-sensitive</em> mod name right before the <samp>.htm</samp> at the end of the URL, e.g. <kbd>Domehome</kbd> in < | * <code><nowiki>{{dlmod|emma|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|lovkullen|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for Emma's Elder Scrolls Site (lovkullen.net).<br />The <kbd><var>pageID</var></kbd> you supply is the <em>case-sensitive</em> mod name right before the <samp>.htm</samp> at the end of the URL, e.g. <kbd>Domehome</kbd> in <samp><nowiki>http://lovkullen.net/</nowiki>Emma/<u>Domehome</u>.htm</samp><br />Thus, <code><nowiki>{{dlmod|emma|Domehome}}</nowiki></code> produces: {{dlmod|emma|Domehome}} | ||
* <code><nowiki>{{dlmod|moddb|</nowiki><var>pageID</var><nowiki>}}</nowiki></code> = for ModDb (moddb.com).<br/>The <kbd><var>pageID</var></kbd> you supply is the mod name after <samp>/games/</samp> in the URL, e.g. <kbd></kbd> in <samp><nowiki>http://www.moddb.com/mods/</nowiki><u>hellgate-morrowind</u>/downloads</samp><br />Thus, <code><nowiki>{{dlmod|moddb|hellgate-morrowind}}</nowiki></code> produces: {{dlmod|moddb|hellgate-morrowind}} | |||
* <code><nowiki>{{dlmod|author|url=</nowiki><var><nowiki>http://domain.tld/</nowiki>path/page_or_file</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|custom|url=</nowiki><var><nowiki>http://domain.tld/</nowiki>path/page_or_file</var><nowiki>}}</nowiki></code> = for a custom URL to an author's site.<br />Note that the <code><nowiki>url=</nowiki></code> part is required. The URL you supply is a full URL, including <kbd>http://</kbd> or <kbd>https://</kbd><br />Please link to the page about the mod or utility, not to a direct archive download, when possible.<br />Thus <code><nowiki>{{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}}</nowiki></code> produces: {{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}} | * <code><nowiki>{{dlmod|author|url=</nowiki><var><nowiki>http://domain.tld/</nowiki>path/page_or_file</var><nowiki>}}</nowiki></code> or <code><nowiki>{{dlmod|custom|url=</nowiki><var><nowiki>http://domain.tld/</nowiki>path/page_or_file</var><nowiki>}}</nowiki></code> = for a custom URL to an author's site.<br />Note that the <code><nowiki>url=</nowiki></code> part is required. The URL you supply is a full URL, including <kbd>http://</kbd> or <kbd>https://</kbd><br />Please link to the page about the mod or utility, not to a direct archive download, when possible.<br />Thus <code><nowiki>{{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}}</nowiki></code> produces: {{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}} | ||
Revision as of 07:22, 19 July 2017
Documentation
This template is used for creating links to download pages of mods, utilities, and other resources at particular sites (with a mouse-over tooltip showing where you'll be downloading from), for use in mod and utility testing lists. The supported options are detailed below. Feel free to add more (should be multi-author sites), or to correct the URL coding if a site changes its structure, or to remove one if a site sadly goes down permanently. Various mod archives are already gone: PlanetElderScrolls.GameSpy.com, ElricM.com, the archive part of Rethan-Manor.net, Morrowind.UFRealms.net, GHFMod.us, and many more.
Parameters
{{dlmod|nexus|pageID}}
or{{dlmod|nexusmods|pageID}}
= for Nexus Mods (nexusmods.com).
The pageID you supply the is number near the end of the URL, e.g. 24561 in http://www.nexusmods.com/morrowind/mods/24561/?Thus, <code><nowiki>{{dlmod|nexus|24561}}
produces: N{{dlmod|mmh|pageID}}
or{{dlmod|modhistory|pageID}}
= for Morrowind Modding History (mw.modhistory.com).
The pageID you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. 42-12387 in http://mw.modhistory.com/download-42-12387
Thus,{{dlmod|mmh|42-12387}}
produces: M{{dlmod|flig|pageID}}
or{{dlmod|fliggerty|pageID}}
= for Great House Fliggerty (dowload.fliggerty.com).
The pageID you supply is the two-part, hyphenated numeric sequence at the end of the URL, e.g. 11-1169 in http://download.fliggerty.com/download-11-1169
Thus,{{dlmod|flig|11-1169}}
produces: F{{dlmod|emma|pageID}}
or{{dlmod|lovkullen|pageID}}
= for Emma's Elder Scrolls Site (lovkullen.net).
The pageID you supply is the case-sensitive mod name right before the .htm at the end of the URL, e.g. Domehome in http://lovkullen.net/Emma/Domehome.htm
Thus,{{dlmod|emma|Domehome}}
produces: E{{dlmod|moddb|pageID}}
= for ModDb (moddb.com).
The pageID you supply is the mod name after /games/ in the URL, e.g. in http://www.moddb.com/mods/hellgate-morrowind/downloads
Thus,{{dlmod|moddb|hellgate-morrowind}}
produces: D{{dlmod|author|url=http://domain.tld/path/page_or_file}}
or{{dlmod|custom|url=http://domain.tld/path/page_or_file}}
= for a custom URL to an author's site.
Note that theurl=
part is required. The URL you supply is a full URL, including http:// or https://
Please link to the page about the mod or utility, not to a direct archive download, when possible.
Thus{{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}}
produces: A
Usage
Example mod-testing list entry with the template used to provide two offsite download-page links:
* ''Better Clothes'' 1.1 by Psychodog Studios {{dlmod|mmh|21-14097}}{{dlmod|nexus|42262}} – <strong>Working, and highly recommended</strong>. Detailed and more natural-looking replacements for almost all the vanilla clothing in the game.
Renders as:
- Better Clothes 1.1 by Psychodog Studios M N – Working, and highly recommended. Detailed and more natural-looking replacements for almost all the vanilla clothing in the game.
Note that the back-to-back instances of {{dlmod}}
need not be separated by a space; a thin space is included in the template's code to keep the link icon of the first instance from butting up against the link letter of the second.