Template:Nesdblink: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
Rainwarrior (talk | contribs) m (urlencode?) |
Rainwarrior (talk | contribs) m (more selective urlencode) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1}}}|unif_wild|[ | {{#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> | ||
See also: [[:Template:nesdbbox|Template:Nesdbbox]] | See also: [[:Template:nesdbbox|Template:Nesdbbox]] | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 19:35, 23 April 2015
See also: Template:Nesdbbox
[edit] [ ] 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
- Search by iNES mapper.
- Search by specific PCB name.
- Search for PCB name containing term.
- 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. |