Template:Nesdbbox: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (formatting)
(is 52 some parameter limit? cutting back to max 17 ??)
 
(3 intermediate revisions by the same user not shown)
Line 40: Line 40:
{{#if:{{{28|}}}|
{{#if:{{{28|}}}|
{{!}} {{nesdblink|{{{28}}}|{{{29}}}|{{{30}}}}}
{{!}} {{nesdblink|{{{28}}}|{{{29}}}|{{{30}}}}}
{{!}}-
|}}
{{#if:{{{31|}}}|
{{!}} {{nesdblink|{{{31}}}|{{{32}}}|{{{33}}}}}
{{!}}-
|}}
{{#if:{{{34|}}}|
{{!}} {{nesdblink|{{{34}}}|{{{35}}}|{{{36}}}}}
{{!}}-
|}}
{{#if:{{{37|}}}|
{{!}} {{nesdblink|{{{37}}}|{{{38}}}|{{{39}}}}}
{{!}}-
|}}
{{#if:{{{40|}}}|
{{!}} {{nesdblink|{{{40}}}|{{{41}}}|{{{42}}}}}
{{!}}-
|}}
{{#if:{{{43|}}}|
{{!}} {{nesdblink|{{{43}}}|{{{44}}}|{{{45}}}}}
{{!}}-
|}}
{{#if:{{{46|}}}|
{{!}} {{nesdblink|{{{46}}}|{{{47}}}|{{{48}}}}}
{{!}}-
|}}
{{#if:{{{49|}}}|
{{!}} {{nesdblink|{{{49}}}|{{{50}}}|{{{51}}}}}
{{!}}-
{{!}}-
|}}
|}}
Line 53: Line 81:
<pre>{{nesdbbox
<pre>{{nesdbbox
|ines|1|iNES 001
|ines|1|iNES 001
|unif|NES-CNROM|CNROM
|unif|NES-CNROM|NES-CNROM
|ines|5|iNES 005
|unif_wild|AOROM|AOROM
|unif_wild|NES-A%ROM|AxROM
|unif_wild|-A%ROM|AxROM
}}</pre>
}}</pre>



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