Template:Nesdblink: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(unif_wild option)
m (urlencode?)
Line 1: Line 1:
{{#ifeq:{{{1}}}|unif_wild|[http://bootgod.dyndns.org:7777/search.php?unif_op=LIKE+`@?@`&unif={{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|[{{urlencode:http://bootgod.dyndns.org:7777/search.php?unif_op=LIKE+`@%@`&unif={{Strip whitespace|{{{2}}}}}}} {{Strip whitespace|{{{3}}}}}]|[http://bootgod.dyndns.org:7777/search.php?{{Strip whitespace|{{{1}}}}}={{Strip whitespace|{{{2}}}}} {{Strip whitespace|{{{3}}}}}]}}<noinclude>
See also: [[:Template:nesdbbox|Template:Nesdbbox]]
See also: [[:Template:nesdbbox|Template:Nesdbbox]]


{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 19:33, 23 April 2015

{{{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.