Template:Dlmod: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(|web parameter)
Line 10: Line 10:
|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.
|moddb=ModDb – may also provide patches.
|author=author/team's website
|author=the author/team's website
|custom=author/team's website
|custom=the author/team's website
|custom=the Web forum where its release was announced
|<!-- default= --><noinclude>Nexus Mods</noinclude>
|<!-- default= --><noinclude>Nexus Mods</noinclude>
}}">[{{#switch:{{lc:{{{1}}}}}
}}">[{{#switch:{{lc:{{{1}}}}}
Line 26: Line 27:
|author={{{url}}} A
|author={{{url}}} A
|custom={{{url}}} A
|custom={{{url}}} A
|web={{{url}}} W
|<!-- default= --><noinclude>http://www.nexusmods.com/morrowind/mods/44825/? N</noinclude>
|<!-- default= --><noinclude>http://www.nexusmods.com/morrowind/mods/44825/? N</noinclude>
}}]</sup>&thinsp;<noinclude>
}}]</sup>&thinsp;<noinclude>
Line 39: Line 41:
* <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|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></code> = for a custom URL to an author/team'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></code> = for a custom URL to an author/team'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|web|url=</nowiki><var><nowiki>http://domain.tld/</nowiki>path/page_or_file</var><nowiki>}}</nowiki></code> = for a custom URL to an Web forum where the release was announced.<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 discussion about (or including) the mod or utility, not to a direct archive download, when possible (for the latter, use the above option).<br />Thus <code><nowiki>{{dlmod|web|url=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333}}</nowiki></code> produces: {{dlmod|web|url=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333}}


=== Usage ===
=== Usage ===

Revision as of 07:54, 20 July 2017

N

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=...}} = for a custom URL to an author/team's site.
    Note that the url= 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
  • {{dlmod|web|url=http://domain.tld/path/page_or_file}} = for a custom URL to an Web forum where the release was announced.
    Note that the url= part is required. The URL you supply is a full URL, including http:// or https://
    Please link to the discussion about (or including) the mod or utility, not to a direct archive download, when possible (for the latter, use the above option).
    Thus {{dlmod|web|url=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333}} produces: W

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 MN  – 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.