Template:Dlmod

From OpenMW Wiki
Jump to navigation Jump to search

[{{#switch:{{{1}}} |nexus=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |mmh=http://mw.modhistory.com/download-{{{2}}} M |modhistory=http://mw.modhistory.com/download-{{{2}}} M |modhist=http://mw.modhistory.com/download-{{{2}}} M |flig=http://download.fliggerty.com/download-{{{2}}} F |fliggerty=http://download.fliggerty.com/download-{{{2}}} F |emma=http://lovkullen.net/Emma/{{{2}}}.htm E |lovkullen=http://lovkullen.net/Emma/{{{2}}}.htm E |moddb=http://www.moddb.com/mods/{{{2}}}/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/{{{2}}} D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/{{{2}}}.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W |http://www.nexusmods.com/morrowind/mods/44825/? N }}]

Documentation[edit]

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[edit]

  • {{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: [{{#switch:nexus

|nexus=http://www.nexusmods.com/morrowind/mods/24561/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/24561/? N |mmh=http://mw.modhistory.com/download-24561 M |modhistory=http://mw.modhistory.com/download-24561 M |modhist=http://mw.modhistory.com/download-24561 M |flig=http://download.fliggerty.com/download-24561 F |fliggerty=http://download.fliggerty.com/download-24561 F |emma=http://lovkullen.net/Emma/24561.htm E |lovkullen=http://lovkullen.net/Emma/24561.htm E |moddb=http://www.moddb.com/mods/24561/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/24561 D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/24561.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:mmh

|nexus=http://www.nexusmods.com/morrowind/mods/42-12387/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/42-12387/? N |mmh=http://mw.modhistory.com/download-42-12387 M |modhistory=http://mw.modhistory.com/download-42-12387 M |modhist=http://mw.modhistory.com/download-42-12387 M |flig=http://download.fliggerty.com/download-42-12387 F |fliggerty=http://download.fliggerty.com/download-42-12387 F |emma=http://lovkullen.net/Emma/42-12387.htm E |lovkullen=http://lovkullen.net/Emma/42-12387.htm E |moddb=http://www.moddb.com/mods/42-12387/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/42-12387 D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/42-12387.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:flig

|nexus=http://www.nexusmods.com/morrowind/mods/11-1169/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/11-1169/? N |mmh=http://mw.modhistory.com/download-11-1169 M |modhistory=http://mw.modhistory.com/download-11-1169 M |modhist=http://mw.modhistory.com/download-11-1169 M |flig=http://download.fliggerty.com/download-11-1169 F |fliggerty=http://download.fliggerty.com/download-11-1169 F |emma=http://lovkullen.net/Emma/11-1169.htm E |lovkullen=http://lovkullen.net/Emma/11-1169.htm E |moddb=http://www.moddb.com/mods/11-1169/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/11-1169 D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/11-1169.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:emma

|nexus=http://www.nexusmods.com/morrowind/mods/Domehome/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/Domehome/? N |mmh=http://mw.modhistory.com/download-Domehome M |modhistory=http://mw.modhistory.com/download-Domehome M |modhist=http://mw.modhistory.com/download-Domehome M |flig=http://download.fliggerty.com/download-Domehome F |fliggerty=http://download.fliggerty.com/download-Domehome F |emma=http://lovkullen.net/Emma/Domehome.htm E |lovkullen=http://lovkullen.net/Emma/Domehome.htm E |moddb=http://www.moddb.com/mods/Domehome/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/Domehome D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/Domehome.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:moddb

|nexus=http://www.nexusmods.com/morrowind/mods/hellgate-morrowind/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/hellgate-morrowind/? N |mmh=http://mw.modhistory.com/download-hellgate-morrowind M |modhistory=http://mw.modhistory.com/download-hellgate-morrowind M |modhist=http://mw.modhistory.com/download-hellgate-morrowind M |flig=http://download.fliggerty.com/download-hellgate-morrowind F |fliggerty=http://download.fliggerty.com/download-hellgate-morrowind F |emma=http://lovkullen.net/Emma/hellgate-morrowind.htm E |lovkullen=http://lovkullen.net/Emma/hellgate-morrowind.htm E |moddb=http://www.moddb.com/mods/hellgate-morrowind/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/hellgate-morrowind D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/hellgate-morrowind.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:moddb2

|nexus=http://www.nexusmods.com/morrowind/mods/galsiahs-character-development/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/galsiahs-character-development/? N |mmh=http://mw.modhistory.com/download-galsiahs-character-development M |modhistory=http://mw.modhistory.com/download-galsiahs-character-development M |modhist=http://mw.modhistory.com/download-galsiahs-character-development M |flig=http://download.fliggerty.com/download-galsiahs-character-development F |fliggerty=http://download.fliggerty.com/download-galsiahs-character-development F |emma=http://lovkullen.net/Emma/galsiahs-character-development.htm E |lovkullen=http://lovkullen.net/Emma/galsiahs-character-development.htm E |moddb=http://www.moddb.com/mods/galsiahs-character-development/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/galsiahs-character-development D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/galsiahs-character-development.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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: [{{#switch:bethesda

|nexus=http://www.nexusmods.com/morrowind/mods/adamantiumarmor/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/adamantiumarmor/? N |mmh=http://mw.modhistory.com/download-adamantiumarmor M |modhistory=http://mw.modhistory.com/download-adamantiumarmor M |modhist=http://mw.modhistory.com/download-adamantiumarmor M |flig=http://download.fliggerty.com/download-adamantiumarmor F |fliggerty=http://download.fliggerty.com/download-adamantiumarmor F |emma=http://lovkullen.net/Emma/adamantiumarmor.htm E |lovkullen=http://lovkullen.net/Emma/adamantiumarmor.htm E |moddb=http://www.moddb.com/mods/adamantiumarmor/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/adamantiumarmor D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/adamantiumarmor.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] 
 

  • {{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 (these pages often have usage and compatibility notes).
    Thus {{dlmod|author|url=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE}} produces: [{{#switch:author

|nexus=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |mmh=http://mw.modhistory.com/download-{{{2}}} M |modhistory=http://mw.modhistory.com/download-{{{2}}} M |modhist=http://mw.modhistory.com/download-{{{2}}} M |flig=http://download.fliggerty.com/download-{{{2}}} F |fliggerty=http://download.fliggerty.com/download-{{{2}}} F |emma=http://lovkullen.net/Emma/{{{2}}}.htm E |lovkullen=http://lovkullen.net/Emma/{{{2}}}.htm E |moddb=http://www.moddb.com/mods/{{{2}}}/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/{{{2}}} D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/{{{2}}}.zip B |author=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE A |custom=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE A |web=https://mega.nz/#!rxslhZRD!d8o60ieZ7jrrxB89LSo61MTYxk1Of1g2JwiFYl1AsCE W | }}] 
 

  • {{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 ( (these pages often have usage and compatibility notes)).
    Thus {{dlmod|web|url=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333}} produces: [{{#switch:web

|nexus=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/{{{2}}}/? N |mmh=http://mw.modhistory.com/download-{{{2}}} M |modhistory=http://mw.modhistory.com/download-{{{2}}} M |modhist=http://mw.modhistory.com/download-{{{2}}} M |flig=http://download.fliggerty.com/download-{{{2}}} F |fliggerty=http://download.fliggerty.com/download-{{{2}}} F |emma=http://lovkullen.net/Emma/{{{2}}}.htm E |lovkullen=http://lovkullen.net/Emma/{{{2}}}.htm E |moddb=http://www.moddb.com/mods/{{{2}}}/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/{{{2}}} D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/{{{2}}}.zip B |author=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333 A |custom=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333 A |web=https://apple.stackexchange.com/questions/271015/how-to-extract-an-ace-compressed-file/273333#273333 W | }}] 

Usage[edit]

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 [{{#switch:mmh

|nexus=http://www.nexusmods.com/morrowind/mods/21-14097/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/21-14097/? N |mmh=http://mw.modhistory.com/download-21-14097 M |modhistory=http://mw.modhistory.com/download-21-14097 M |modhist=http://mw.modhistory.com/download-21-14097 M |flig=http://download.fliggerty.com/download-21-14097 F |fliggerty=http://download.fliggerty.com/download-21-14097 F |emma=http://lovkullen.net/Emma/21-14097.htm E |lovkullen=http://lovkullen.net/Emma/21-14097.htm E |moddb=http://www.moddb.com/mods/21-14097/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/21-14097 D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/21-14097.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}] [{{#switch:nexus |nexus=http://www.nexusmods.com/morrowind/mods/42262/? N |nexusmods=http://www.nexusmods.com/morrowind/mods/42262/? N |mmh=http://mw.modhistory.com/download-42262 M |modhistory=http://mw.modhistory.com/download-42262 M |modhist=http://mw.modhistory.com/download-42262 M |flig=http://download.fliggerty.com/download-42262 F |fliggerty=http://download.fliggerty.com/download-42262 F |emma=http://lovkullen.net/Emma/42262.htm E |lovkullen=http://lovkullen.net/Emma/42262.htm E |moddb=http://www.moddb.com/mods/42262/downloads D |moddb2=http://www.moddb.com/games/morrowind/addons/42262 D |bethesda=https://cdn.bethsoft.com/elderscrolls/morrowind/other/42262.zip B |author={{{url}}} A |custom={{{url}}} A |web={{{url}}} W | }}]  – 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.