Template:Moddb/doc: Difference between revisions
Jump to navigation
Jump to search
(Temporary note for new doc page.) |
(Finished doc.) |
||
| Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page.) --> | <!-- Please place categories where indicated at the bottom of this page.) --> | ||
Link to {{Moddb}}. | |||
Link to {{ | |||
== Parameters and Examples == | == Parameters and Examples == | ||
| Line 14: | Line 12: | ||
|- | |- | ||
| style="text-align:center" | No Parameters | | style="text-align:center" | No Parameters | ||
| Creates a link to ''' | | Creates a link to '''ModDB'''. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{ | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{ | | style="padding:.2em .5em" | {{Capsule| {{Moddb}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param}} }} | | style="text-align:center" | {{Code| {{param}} }} | ||
| | | Creates a link to a mod*, game, or other pages on '''ModDB'''.<br>* - Default for compatibility reasons. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{ | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|the-stanley-parable}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{ | | style="padding:.2em .5em" | {{Capsule| {{Moddb|the-stanley-parable}} }} | ||
|- | |- | ||
| 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>{{ | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|black-mesa|Black Mesa on ModDB}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{ | | style="padding:.2em .5em" | {{Capsule| {{Moddb|black-mesa|Black Mesa on ModDB}} }} | ||
|- | |||
| style="text-align:center" | {{Code| {{param|page}} }} | |||
| Changes the page URL from {{code|mod}} (default) to {{code|games}} or {{code|other}} to allow input other ModDB pages.<br>Added to avoid breaking pages using the template prior to it being updated. | |||
| 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=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=other|about|About ModDB}} }} | |||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|icon}} }} | | style="text-align:center" | {{Code| {{param|icon}} }} | ||
| Hide/shows the icon.<br>Values: {{code|show}} (default), {{code|hide}} | | Hide/shows the icon.<br>Values: {{code|show}} (default), {{code|hide}} | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{ | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{Moddb|icon=hide}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{ | | style="padding:.2em .5em" | {{Capsule| {{Moddb|icon=hide}} }} | ||
|- | |- | ||
|} | |} | ||
== See Also == | == See Also == | ||
{{External link templates}} | {{External link templates}} | ||
Revision as of 06:27, 22 December 2023
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.
Link to
ModDB.
Parameters and Examples
| Parameter | Description | Example | Preview |
|---|---|---|---|
| No Parameters | Creates a link to ModDB. | ||
{{{1}}}
|
Creates a link to a mod*, game, or other pages on ModDB. * - Default for compatibility reasons. |
||
{{{2}}}
|
Alternative name of the link. | ||
{{{page}}}
|
Changes the page URL from mod (default) to games or other to allow input other ModDB pages.Added to avoid breaking pages using the template prior to it being updated. |
||
{{{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}} |