Template:Nesdblink: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (had the LIKE string inverted)
(replacing bootgod link with nescartdb)
 
Line 1: Line 1:
{{#ifeq:{{{1}}}|unif_wild|[http://bootgod.dyndns.org:7777/search.php?unif_op=LIKE+`{{urlencode:%@%}}`&unif={{urlencode:{{Strip whitespace|{{{2}}}}}}} {{Strip whitespace|{{{3}}}}}]|[http://bootgod.dyndns.org:7777/search.php?{{Strip whitespace|{{{1}}}}}={{Strip whitespace|{{{2}}}}} {{Strip whitespace|{{{3}}}}}]}}<noinclude>
{{#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>





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.