Template:Infobox block: Difference between revisions

mNo edit summary
No edit summary
Line 15: Line 15:
   }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div></div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | </div></div> }} }} }}
   }}{{#ifeq: {{lc: {{{invimage}}} }} | none | | {{#if: {{{invimage|}}} | </div></div> | {{#ifexist: File:Grid {{BASEPAGENAME}}.png | </div></div> }} }} }}
| rows =
| rows =
{{infobox row|label=Type|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{infobox row|label=类型|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }}
{{
{{
   #switch: {{ lc: {{{type|solid}}} }}
   #switch: {{ lc: {{{type|solid}}} }}
Line 26: Line 26:
   }} }}
   }} }}
}}
}}
{{infobox row|label=Physics|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
{{infobox row|label=受重力影响|field={{ #if: {{{gravity|}}} | {{{gravity}}} | ? }} }}
{{infobox row|label=[[Opacity|Transparency]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{infobox row|label=[[Opacity|透明]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }}
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Light|亮度]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }}
{{infobox row|label=[[Explosion#Blast_Resistance|Blast Resistance]] <sup>[{{fullurl|Template:Blast Resistance Values|action{{=}}edit|text=edit}}]</sup>|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast Resistance Values | {{PAGENAME}} }} }} }}
{{infobox row|label=[[Explosion#Blast_Resistance|耐炸力]] <sup>[{{fullurl|Template:Blast Resistance Values|action{{=}}edit|text=edit}}]</sup>|field={{ #if: {{{tntres|}}} | {{{tntres}}} | {{Blast Resistance Values | {{PAGENAME}} }} }} }}
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{
{{infobox row|label=破坏工具{{ #if: {{{tool2|}}} | s }}|field={{
   #switch: {{ lc: {{{tool|}}} }}
   #switch: {{ lc: {{{tool|}}} }}
   | pick  | pickaxe  = [[File:Use-pickaxe.png|32px|link=Pickaxe]]
   | pick  | pickaxe  = [[File:Use-pickaxe.png|32px|link=Pickaxe]]
Line 62: Line 62:
   }}
   }}
}} }}
}} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
{{infobox row|label=可重叠|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A }} }}
{{
{{
   #switch: {{ lc: {{{type|fluid}}} }}
   #switch: {{ lc: {{{type|fluid}}} }}
Line 69: Line 69:
{{infobox row|label=Speed of walking through|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }}
{{infobox row|label=Speed of walking through|field={{ #if: {{{movespeed|}}} | {{{movespeed}}} | ? }} }}
}}
}}
{{#if: {{{firstver|}}} | {{infobox row|label=First Appearance|field={{{firstver}}} }} }}
{{#if: {{{firstver|}}} | {{infobox row|label=首次出现|field={{{firstver}}} }} }}
<!--{{#if: {{{multiplevers|}}} | {{infobox row|label=First Appearances|field={{{multiplevers}}} }} }}
<!--{{#if: {{{multiplevers|}}} | {{infobox row|label=First Appearances|field={{{multiplevers}}} }} }}
  nead confirmation to create a template for this to work-->
  nead confirmation to create a template for this to work-->
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]]|field={{{multipledata}}} }} }}
{{#if: {{{data|}}} | {{infobox row|label=[[数据值]]|field={{dv|{{{data}}} }} }} }}{{#if: {{{multipledata|}}} | {{infobox row|label=[[数据值]]|field={{{multipledata}}} }} }}
| footer =
| footer =
{{{notes|}}}
{{{notes|}}}