Template:Moddb/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param}} }} | | style="text-align:center" | {{Code| {{param}} }} | ||
| Creates a link to a mod | | Creates a link to a mod, game, or other pages on '''ModDB'''.<br> By default it was set to {{Code|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. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|black-mesa}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|mods/black-mesa}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{Moddb|black-mesa}} }} | | style="padding:.2em .5em" | {{Capsule| {{Moddb|mods/black-mesa}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|2}} }} | | style="text-align:center" | {{Code| {{param|2}} }} | ||
| Alternative name of the link. | | Alternative name of the link. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb||ModDB Home page}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|black-mesa|Black Mesa on ModDB}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb||ModDB Home page}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|mods/black-mesa|Black Mesa on ModDB}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule|{{Moddb||ModDB Home page}}<br>{{Moddb|black-mesa|Black Mesa on ModDB}} }} | | style="padding:.2em .5em" | {{Capsule|{{Moddb||ModDB Home page}}<br>{{Moddb|mods/black-mesa|Black Mesa on ModDB}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|page}} }} | | style="text-align:center" | {{Code| {{param|page}} }} | ||
| Changes the page URL from {{code| | | Changes the page URL from {{code|other}} (default) to {{code|mods}}, {{code|games}} or {{code|rtx}}. We recommend using the default {{code|other}} settings as this will allow any ModDB links to be used, without requiring another parameters. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|black-mesa|Black Mesa on ModDB}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=games|half-life-2|Half-Life 2 on ModDB}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=rtx|1=/|2=RTX Remix Compatible Games}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=other|about|About ModDB}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|page=mod|black-mesa|Black Mesa on ModDB}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=games|half-life-2|Half-Life 2 on ModDB}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=rtx|1=/|2=RTX Remix Compatible Games}}</nowiki>}}{{CodeBlock|<nowiki>{{Moddb|page=other|about|About ModDB}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{Moddb|page=mod|black-mesa|Black Mesa on ModDB}}<br>{{Moddb|page=games|half-life-2|Half-Life 2 on ModDB}}<br>{{Moddb|page=rtx|1=/|2=RTX Remix Compatible Games}}<br>{{Moddb|page=other|about|About ModDB}} }} | | style="padding:.2em .5em" | {{Capsule| {{Moddb|page=mod|black-mesa|Black Mesa on ModDB}}<br>{{Moddb|page=games|half-life-2|Half-Life 2 on ModDB}}<br>{{Moddb|page=rtx|1=/|2=RTX Remix Compatible Games}}<br>{{Moddb|page=other|about|About ModDB}} }} | ||
|- | |- | ||
Revision as of 00:08, 25 June 2024
This is a documentation subpage for Template:Moddb.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Todo: Edit all pages and change all ModDB links to temporarily uses the
page=other parameters, before updating this template to use that parameters by default, allowing users to use any ModDB links without page=other for backward compatibility. This major change will remove backward compatibility with older ModDB links prior to this template being updated.Link to
ModDB.
Parameters and Examples
| Parameter | Description | Example | Preview |
|---|---|---|---|
| No Parameters | Creates a link to ModDB home page. | ||
{{{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.
|
||
{{{2}}}
|
Alternative name of the link. | ||
{{{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.
|
||
{{{icon}}}
|
Hide/shows the icon. Values: show (default), hide
|
See also
| Template | Preview |
|---|---|
| {{wikipedia}} {{wiki}} {{w}} |
|
| {{cow}} | |
| {{l4dwiki}} | |
| {{pcgw}} | |
| {{portalwiki}} | |
| {{sboxwiki}} | |
| {{tfwiki}} | |
| {{twhl}} | |
| {{quakewiki}} | |
| {{cswiki}} |
| Template | Preview |
|---|---|
| {{bluesky}} | |
| {{discord}} | |
| {{reddit}} | |
| {{steam community}} | |
| {{twitch}} | |
| {{twitter}} {{x}} |
|
| {{youtube}} |
| Template | Preview |
|---|---|
| {{steam store}} | |
| {{epic}} {{egs}} |
|
| {{gplay}} | |
| {{gog}} | |
| {{ms store}} (PC, |
|
| {{xbox store}} ( |
|
| {{nintendo store}} |
| Template | Preview |
|---|---|
| {{steam}} | Steam Protocol |
| {{email}} {{e}} |
gaben@valvesoftware.com |
| {{github}} | |
| {{gamebanana}} | |
| {{moddb}} | |
| {{rtsl}} | |
| {{protondb}} | |
| {{steamdb}} {{sdb}} |
|
| {{gdrive}} {{gd}} |
|
| {{fragnet}} {{fn}} |