Template:Mapper: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
This template is intended for easy inserting of links to mapper pages, with optional icon ''(for latter feature it's required that the icon exists on /Icon subpage of mapper page; this isn't done yet for all mappers)''.
This template is intended for easy inserting of links to mapper pages, with optional icon ''(for latter feature it's required that the icon exists on /Icon subpage of mapper page; this isn't done yet for all mappers)''.
== Usage ==
== Usage ==
<code><nowiki>{{</nowiki>mapper|''mapper number''|''icon''}}</code>
<code><nowiki>{{</nowiki>mapper|''mapper number''|''include icon?''}}</code>
{| class="wikitable"
{| class="wikitable"
! code
! code

Revision as of 11:28, 2 November 2016

[[INES Mapper {{{1}}}|{{{1}}}]]

Template

This template is intended for easy inserting of links to mapper pages, with optional icon (for latter feature it's required that the icon exists on /Icon subpage of mapper page; this isn't done yet for all mappers).

Usage

{{mapper|mapper number|include icon?}}

code rendered as:
{{mapper|XXX}} XXX
{{mapper|XXX|i}} Template error: INES Mapper XXX/Icon doesn't exist XXX
{{mapper|19|}} 019
{{mapper|0|i}} Mfr icon Nintendo.png 000
{{mapper|0|anything}} Mfr icon Nintendo.png 000