Template:Infobox NaviCust part: Difference between revisions

Template page
No edit summary
No edit summary
 
(49 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{SHORTDESC:NaviCust part series}}{{#subobject:{{{name|}}}
<includeonly>{{SHORTDESC:NaviCust part series (BN{{{gamenumber|}}})}}{{#subobject:{{{gamenumber|}}}-{{#if:{{{number|}}}|{{{number|}}}|EX-{{{excode|}}}}}
|@sortkey={{padleft:{{{number}}}|2|0}}
  |Game number={{{gamenumber|}}}
|Parent page={{PAGENAME}}
|NaviCust part internal ID={{{number|}}}
  |Preferred link={{PAGENAME}}#{{{name|}}}
  |NaviCust part name={{{name|}}}
  |NaviCust part name={{{name|}}}
|NaviCust part full name={{{fullname|}}}
|NaviCust part series={{{series|}}}
|NaviCust part number={{{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|}}}|+sep=,
|NaviCust part compression code={{{compressioncode|}}}
|NaviCust part error code={{{errorcodes|}}}|+sep=,
|NaviCust part EX code={{{excode|}}}
|NaviCust part EX bug={{{exbug|}}}|+sep=,
|NaviCust part compressed mask={{{compressed|}}}
|NaviCust part uncompressed mask={{{uncompressed|}}}
  |NaviCust part name (Japanese)={{{name_ja|}}}
  |NaviCust part name (Japanese)={{{name_ja|}}}
  |NaviCust part description (Japanese)={{{description_ja|}}}
  |NaviCust part description (Japanese)={{{description_ja|}}}
Line 13: Line 23:


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


|label3 = Description
|label3 = Description
Line 19: 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|}}}}}</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|}}}}}
|-|Compressed={{Infobox NaviCust part/grid|mask={{{compressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}
|-|Uncompressed={{Infobox navicust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}
|-|Uncompressed={{Infobox NaviCust part/grid|mask={{{uncompressed|}}}|colors={{{colors|}}}|type={{{type|}}}}}
</tabber>}}
</tabber>}}|}}
|rowclass4 = infobox-tabber
|rowclass4 = infobox-tabber


|label5 = Type
|label5 = Full name
|data5 = [[List of NaviCust parts#{{{type|}}}|{{{type|}}}]]
|data5 = {{{fullname|}}}
|rowclass5 = data-solid infobox-data infobox-col2
|rowclass5 = data-fullname infobox-data infobox-col1


|label6 = Colors
|label6 = Type
|data6 = {{#arraymap:{{{colors|}}}|,|PLACEHOLDER|[[List of NaviCust parts by color#PLACEHOLDER|PLACEHOLDER]] |,\s}}
|data6 = {{#if:{{{type|}}}|[[NaviCust (BN{{{gamenumber|}}})#{{{type|}}}|{{{type|}}}]]|}}
|rowclass6 = data-colors infobox-data infobox-col2
|rowclass6 = data-solid infobox-data infobox-col2


|header7 = <span></span>
|label7 = Colors
|rowclass7 = infobox-button-bar
|data7 = {{#arraymap:{{{colors|}}}|,|PLACEHOLDER|<span style="white-space:nowrap">[[List of NaviCust parts by color (BN{{{gamenumber|}}})#PLACEHOLDER|{{NaviCust color icon|PLACEHOLDER}} PLACEHOLDER]]</span>|,\s}}
|rowclass7 = data-colors infobox-data infobox-col2


}}[[Category:NaviCust parts]][[Category:{{{type|}}} NaviCust parts]]{{#arraymap:{{{colors|}}}|,|PLACEHOLDER|[[Category:PLACEHOLDER-colored NaviCust parts]]|\s}}</includeonly><noinclude>{{/doc}}</noinclude>
|label8 = Compression code
|data8 = {{#if:{{{compressioncode|}}}|<code>{{{compressioncode|}}}</code>|}}
|rowclass8 = data-compressioncode infobox-data {{#if:{{{errorcodes|}}}|infobox-col2|infobox-col1}}
 
|label9 = Error codes
|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}}
 
|label10 = Bug
|data10 = {{#arraymap:{{{bug|}}}|,|PLACEHOLDER|<span style="white-space:nowrap">[[PLACEHOLDER (BN{{{gamenumber}}})|PLACEHOLDER]]</span>|,\s}}
|rowclass10 = data-bug infobox-data infobox-col1
 
|header11 = {{#if:{{{excode|}}}|EX code|}}
|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>

Latest revision as of 20:17, 28 June 2024