Template:Infobox NaviCust part: Difference between revisions

Template page
No edit summary
No edit summary
 
(21 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{SHORTDESC:NaviCust part series (BN{{{gamenumber|}}})}}{{#subobject:{{{gamenumber|}}}-{{{number|}}}
<includeonly>{{SHORTDESC:NaviCust part series (BN{{{gamenumber|}}})}}{{#subobject:{{{gamenumber|}}}-{{#if:{{{number|}}}|{{{number|}}}|EX-{{{excode|}}}}}
  |Game number={{{gamenumber|}}}
  |Game number={{{gamenumber|}}}
  |NaviCust part internal ID={{{number|}}}
  |NaviCust part internal ID={{{number|}}}
  |NaviCust part name={{{name|}}}
  |NaviCust part name={{{name|}}}
  |NaviCust part full name={{{fullname|}}}
  |NaviCust part full name={{{fullname|}}}
|NaviCust part series={{{series|}}}
  |NaviCust part number={{{number|}}}
  |NaviCust part number={{{number|}}}
  |Library sort order={{{number|}}}
  |Library sort order={{{sortorder|{{{number|}}}}}}
  |NaviCust part description={{{description|}}}
  |NaviCust part description={{{description|}}}
  |NaviCust part color={{{colors|}}}|+sep=,
  |NaviCust part color={{{colors|}}}|+sep=,
  |NaviCust part type={{{type|}}}
  |NaviCust part type={{{type|}}}{{#if:{{{excode|}}}|,EX|}}|+sep=,
  |NaviCust part bug={{{bug|}}}
  |NaviCust part bug={{{bug|}}}|+sep=,
  |NaviCust part compression code={{{compressioncode|}}}
  |NaviCust part compression code={{{compressioncode|}}}
  |NaviCust part error code={{{errorcodes|}}}|+sep=,
  |NaviCust part error code={{{errorcodes|}}}|+sep=,
|NaviCust part EX code={{{excode|}}}
|NaviCust part EX bug={{{exbug|}}}|+sep=,
  |NaviCust part compressed mask={{{compressed|}}}
  |NaviCust part compressed mask={{{compressed|}}}
  |NaviCust part uncompressed mask={{{uncompressed|}}}
  |NaviCust part uncompressed mask={{{uncompressed|}}}
Line 19: Line 22:
|bodyclass = floatright
|bodyclass = floatright


|header2 = {{{fullname|}}}
|header2 = {{{name|}}}
|rowclass2 = infobox-title data-fullname
|rowclass2 = infobox-title data-name


|label3 = Description
|label3 = Description
Line 26: Line 29:
|rowclass3 = data-description infobox-subtitle infobox-data infobox-col1
|rowclass3 = data-description infobox-subtitle infobox-data infobox-col1


|data4 = {{#ifeq:{{{compressed|}}}|{{{uncompressed|}}}|<div style="display: flex">{{Infobox NaviCust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}|width={{#ifeq:{{{gamenumber|}}}|6|7|5}}|height={{#ifeq:{{{gamenumber|}}}|6|7|5}}}}</div>|<tabber>
|data4 = {{#if:{{{compressed|}}}{{{uncompressed|}}}|{{#ifeq:{{{compressed|}}}|{{{uncompressed|}}}|<div style="display: flex">{{Infobox NaviCust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}</div>|<tabber>
|-|Compressed={{Infobox NaviCust part/grid|mask={{{compressed|}}}|colors={{{colors|}}}|type={{{type|}}}|width={{#ifeq:{{{gamenumber|}}}|6|7|5}}|height={{#ifeq:{{{gamenumber|}}}|6|7|5}}}}
|-|Compressed={{Infobox NaviCust part/grid|mask={{{compressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}
|-|Uncompressed={{Infobox NaviCust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}|width={{#ifeq:{{{gamenumber|}}}|6|7|5}}|height={{#ifeq:{{{gamenumber|}}}|6|7|5}}}}
|-|Uncompressed={{Infobox NaviCust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}
</tabber>}}
</tabber>}}|}}
|rowclass4 = infobox-tabber
|rowclass4 = infobox-tabber


|label5 = In-game name
|label5 = Full name
|data5 = {{{name|}}}
|data5 = {{{fullname|}}}
|rowclass5 = data-name infobox-data infobox-col1
|rowclass5 = data-fullname infobox-data infobox-col1


|label6 = Type
|label6 = Type
|data6 = [[List of NaviCust parts (BN{{{gamenumber|}}})#{{{type|}}}|{{{type|}}}]]
|data6 = {{#if:{{{type|}}}|[[NaviCust (BN{{{gamenumber|}}})#{{{type|}}}|{{{type|}}}]]|}}
|rowclass6 = data-solid infobox-data infobox-col2
|rowclass6 = data-solid infobox-data infobox-col2


Line 49: Line 52:


|label9 = Error codes
|label9 = Error codes
|data9 = {{#arraymap:{{{errorcodes|}}}|,|PLACEHOLDER|PLACEHOLDER|,\s}}
|data9 = {{#if:{{{errorcodes|}}}|<ul>{{#arraymap:{{{errorcodes|}}}|,|PLACEHOLDER|<li><tt>{{#explode:PLACEHOLDER|:|0}}</tt>: <code>{{#explode:PLACEHOLDER|:|1}}</code></li>|\s}}</ul>|}}
|rowclass9 = data-bug infobox-data {{#if:{{{compressioncode|}}}|infobox-col2|infobox-col1}}
|rowclass9 = data-bug infobox-data {{#if:{{{compressioncode|}}}|infobox-col2|infobox-col1}}


|label10 = Bug
|label10 = Bug
|data10 = {{{bug|}}}
|data10 = {{#arraymap:{{{bug|}}}|,|PLACEHOLDER|<span style="white-space:nowrap">[[PLACEHOLDER (BN{{{gamenumber}}})|PLACEHOLDER]]</span>|,\s}}
|rowclass10 = data-bug infobox-data infobox-col1
|rowclass10 = data-bug infobox-data infobox-col1


|header11 = <span></span>
|header11 = {{#if:{{{excode|}}}|EX code|}}
|rowclass11 = infobox-button-bar
|rowclass11 = infobox-header
 
|label12 = Code
|data12 = {{#if:{{{excode|}}}|<code>{{{excode|}}}</code>|}}
|rowclass12 = data-excode infobox-data infobox-col2
 
|label13 = Bug
|data13 = {{#arraymap:{{{exbug|}}}|,|PLACEHOLDER|<span style="white-space:nowrap">[[Bugs (BN{{{gamenumber}}})#PLACEHOLDER|PLACEHOLDER]]</span>|,\s}}
|rowclass13 = data-exbug infobox-data infobox-col2
 
|header14 = <span></span>
|rowclass14 = infobox-button-bar


}}[[Category:NaviCust parts (BN{{{gamenumber|}}})]][[Category:{{{type|}}} NaviCust parts (BN{{{gamenumber|}}})]]{{#arraymap:{{{colors|}}}|,|PLACEHOLDER|[[Category:PLACEHOLDER-colored NaviCust parts (BN{{{gamenumber|}}})]]|\s}}</includeonly><noinclude>{{/doc}}</noinclude>
}}[[Category:NaviCust parts (BN{{{gamenumber|}}})]][[Category:{{{type|}}} NaviCust parts (BN{{{gamenumber|}}})]]{{#arraymap:{{{colors|}}}|,|PLACEHOLDER|[[Category:PLACEHOLDER-colored NaviCust parts (BN{{{gamenumber|}}})]]|\s}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 20:17, 28 June 2024