Template:Moddb

From Open Fortress Wiki
Revision as of 07:28, 4 January 2025 by Kate (talk | contribs) (Created page with "{{Doc}} <includeonly><onlyinclude>{{#if:{{{1|}}} | {{#switch: {{{icon}}}|#default|show|yes=16px|link=https://moddb.com{{#switch: {{{page}}}|mod|mods=/mods/|game|games=/games/|rtx=/rtx/|#default|other=/}}{{{1|}}}|{{{2|{{{1|}}}}}}|hide|no=}} <span class="plainlinks" title="{{{2|ModDB page}}}">[https://moddb.com{{#switch: {{{page}}}|mod|mods=/mods/|game|games=/games/|rtx=/rtx/|#default|other=/}}{{{1|}}} <font style="color:#8BB9E0">{{{2|ModDB page}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template Documentation [edit]

Important:This template has been recently edited to allow users to links any ModDB pages outside "mods", if you encounter a page using old ModDB links with "numbers" instead of "game-id", or if they appear to be broken, please update them.

Link to ModDB ModDB.

Parameters and Examples

Parameter Description Example Preview
No Parameters Creates a link to ModDB home page.
{{Moddb}}
{{{1}}} Creates a link to a mod, game, or other pages on ModDB.
By default it was set to other, allowing any ModDB links to be used, one downsides is that some older pages (and even some newer one) with old ModDB links will stops working, but it will be eventually fixed.
{{Moddb|mods/black-mesa}}
{{{2}}} Alternative name of the link.
{{Moddb||ModDB Home page}}
{{Moddb|mods/black-mesa|Black Mesa on ModDB}}
{{{page}}} Changes the page URL from other (default) to mods, games or rtx. We recommend using the default other settings as this will allow any ModDB links to be used, without requiring another parameters.
{{Moddb|page=mod|black-mesa|Black Mesa on ModDB}}
{{Moddb|page=games|half-life-2|Half-Life 2 on ModDB}}
{{Moddb|page=rtx|1=/|2=RTX Remix Compatible Games}}
{{Moddb|page=other|about|About ModDB}}
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{Moddb|icon=hide}}

See also

Template:External link templates