Template:Nesdbbox: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (numbering typo)
(is 52 some parameter limit? cutting back to max 17 ??)
 
Line 68: Line 68:
{{#if:{{{49|}}}|
{{#if:{{{49|}}}|
{{!}} {{nesdblink|{{{49}}}|{{{50}}}|{{{51}}}}}
{{!}} {{nesdblink|{{{49}}}|{{{50}}}|{{{51}}}}}
{{!}}-
|}}
{{#if:{{{52|}}}|
{{!}} {{nesdblink|{{{52}}}|{{{53}}}|{{{54}}}}}
{{!}}-
|}}
{{#if:{{{55|}}}|
{{!}} {{nesdblink|{{{55}}}|{{{56}}}|{{{57}}}}}
{{!}}-
|}}
{{#if:{{{58|}}}|
{{!}} {{nesdblink|{{{58}}}|{{{59}}}|{{{60}}}}}
{{!}}-
{{!}}-
|}}
|}}

Latest revision as of 19:17, 30 May 2015

NESCartDB
{{{3}}}

A box containing the In NesCartDB category tag and 1 or more links to NesDB searches.

Single use:

{{nesdbbox|ines|1|iNES 001}}

Multi use:

{{nesdbbox
|ines|1|iNES 001
|unif|NES-CNROM|NES-CNROM
|unif_wild|AOROM|AOROM
|unif_wild|-A%ROM|AxROM
}}

The parameters are simply a batched set of nesdblink templates, documentation included below.

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