Template:Dlmod

From OpenMW Wiki
Revision as of 13:56, 12 September 2017 by Darklocq (talk | contribs) (→‎Parameters: update)
Jump to navigation Jump to search

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.

This template is for downloads of mods and utilities, not for all external links.

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 (if one is missing the first number, use 0; e.g. for ...download--304 enter 0-304)
    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 (if one is missing the first number, use 0; e.g. for ...download--304 enter 0-304)
    Thus, {{dlmod|flig|11-1169}} produces: F
     
  • {{dlmod|emma|pageID}} or {{dlmod|lovkullen|pageID}} = for Emma's Elder Scrolls Site (lovkullen.net/Emma).
    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 /mods/ in the URL, e.g. hellgate-morrowind in http://www.moddb.com/mods/hellgate-morrowind/downloads
    Thus, {{dlmod|moddb|hellgate-morrowind}} produces: D
     
  • {{dlmod|moddb2|pageID}} = for ModDb (moddb.com), with alternative directory path.
    The pageID you supply is the mod name after /addons/ in the URL, e.g. galsiahs-character-development in http://www.moddb.com/games/morrowind/addons/galsiahs-character-development/downloads
    Thus, {{dlmod|moddb2|galsiahs-character-development}} produces: D
     
  • {{dlmod|bethesda|DLCname}} = for Bethesda Softworks' official DLCs.
    The DLCname you supply is the DLC name preceding .zip in the URL, e.g. adamantiumarmor in https://cdn.bethsoft.com/elderscrolls/morrowind/other/adamantiumarmor.zip
    Thus, {{dlmod|bethesda|adamantiumarmor}} produces: B
     
  • {{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#post}} = for a custom URL to a 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.