Template:Nesdblink: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (Rainwarrior moved page User:Rainwarrior/nesdblink to Template:Nesdblink: created simple template for NesDB linking)
(replacing bootgod link with nescartdb)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://bootgod.dyndns.org:7777/search.php?{{{1}}}={{{2}}} {{{3}}}]
{{#ifeq:{{{1}}}|unif_wild|[https://nescartdb.com/search/advanced?unif_op=LIKE+`{{urlencode:%@%}}`&unif={{urlencode:{{Strip whitespace|{{{2}}}}}}} {{Strip whitespace|{{{3}}}}}]|[https://nescartdb.com/search/advanced?{{Strip whitespace|{{{1}}}}}={{Strip whitespace|{{{2}}}}} {{Strip whitespace|{{{3}}}}}]}}<noinclude>
<noinclude>
A simple template for creating links to Bootgod's NES Cart Database.


Usage:
<pre>{{nesdblink
| search type (ines/unif)
| search parameter (number/board)
| link text
}}


Examples:
See also: [[:Template:nesdbbox|Template:Nesdbbox]]
1. {{nesdblink|ines|1|iNES 001}}
 
2. {{nesdblink|unif|NES-CNROM|CNROM}}
 
</pre>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:30, 30 June 2022

{{{3}}}


See also: Template:Nesdbbox


[edit] [purge] Template documentation

Template:Nesdblink Documentation

A simple template for creating links to Bootgod's NES Cart Database.

Usage:

{{nesdblink
 | search type (ines/unif/unif_wild)
 | search parameter (number/board)
 | link text
}}

Examples:

1. {{nesdblink|ines|1|iNES 001}}
2. {{nesdblink|unif|NES-CNROM|NES-CNROM}}
3. {{nesdblink|unif_wild|CNROM|CNROM}}
4. {{nesdblink|unif_wild|-A%ROM|AxROM}} - this currently doesn't work since the migration to nescartdb
  1. Search by iNES mapper.
  2. Search by specific PCB name.
  3. Search for PCB name containing term.
  4. Use % as a wildcard to include multiple variations. (Here the - prefix is to match NES-AOROM and HVC-AOROM but exclude TAITO-CNROM.)
The above documentation is transcluded from Template:Nesdblink/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.