Template:Dlmod: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(Adding ModDb, and a lower-casing snippet)
Line 38: Line 38:
* <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|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|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></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}}


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

Revision as of 07:27, 19 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

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.