Template:Infobox block: Difference between revisions

only ever seen this on item and itementity, but chances are i'll just copy and paste this over to all the infobox templates anyway
all things considered...
Line 14: Line 14:
{{#if: {{{fluidspeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{fluidspeed}}} }} }}
{{#if: {{{fluidspeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{fluidspeed}}} }} }}
{{#if: {{{movespeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{movespeed}}} }} }}
{{#if: {{{movespeed|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{movespeed}}} }} }}
{{#if: {{{type|}}} | {{infobox row|label=THIS INFOBOX IS LIKELY OUTDATED[[Category:Infobox uses deprecated parameters]]|field={{{type}}} }} }}
{{#if: {{{data|}}} | {{infobox row|label=Uses deprecated data parameter[[Category:Infobox uses deprecated parameters]]|field={{{data}}} }} }}
{{#if: {{{multipledata|}}} | {{infobox row|label=Uses deprecated multipledata parameter[[Category:Infobox uses deprecated parameters]]|field={{{multipledata}}} }} }}
{{#if: {{{nameid|}}} | {{infobox row|label=Uses deprecated nameid parameter[[Category:Infobox uses deprecated parameters]]|field={{{nameid}}} }} }}
{{#if: {{{tags|}}} | {{infobox row|label=Uses deprecated tags parameter[[Category:Infobox uses deprecated parameters]]|field={{{tags}}} }} }}
{{#if: {{{notes|}}} | {{infobox row|label=Does anything still use notes?[[Category:Infobox uses deprecated parameters]]|field={{{notes}}} }} }}
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{#if: {{{rarity|}}} | {{infobox row|class=list-style-none|label=[[Rarity]]|field={{ucfirst:{{{rarity|}}}}} }} | }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? [[Category:Missing transparency]] }} }}
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? [[Category:Missing transparency]] }} }}
Line 60: Line 64:
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A [[Category:Missing stackability]] }} }}
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | N/A [[Category:Missing stackability]] }} }}
{{infobox row|label=[[Flammable|Flammability]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?[[Category:Missing flammability]] }} }}
{{infobox row|label=[[Flammable|Flammability]]|field={{ #if: {{{flammable|}}} | {{{flammable}}} | ?[[Category:Missing flammability]] }} }}
{{infobox row|label=Catches fire from [[lava]]?|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?[[Category:Missing lava susceptibility]] }} }}
{{infobox row|label=Catches fire from [[lava]]?|field={{ #if: {{{lavasusceptible|}}} | {{{lavasusceptible}}} | ?[[Category:Missing lava susceptibility]] }} }} }}
{{#if: {{{data|}}} | {{infobox row|label=[[Data values|Data value]] delet <abbr title="Transfer to ID table">*</abbr>|field={{data value|{{{data}}} }} }} }}
{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data values]] delet <abbr title="Transfer to ID table">*</abbr>|field={{{multipledata}}} }} }}
{{#if: {{{nameid|}}} | {{infobox row|label=[[Namespaced ID]] delet <abbr title="Transfer to ID table">*</abbr>|field={{{nameid|}}} }} }}
{{#if: {{{tags|}}} | {{infobox row | label= [[Tag]]s delet <abbr title="Transfer to ID table">*</abbr>| field= {{flatlist|{{#replace:{{{tags}}}|#|&#x23;}} }} }} }}
{{#if: {{NAMESPACE}} ||
{{#if: {{NAMESPACE}} ||
{{translation category|project=0|{{
{{translation category|project=0|{{
Line 74: Line 74:
}}
}}
| footer =
| footer =
{{{notes|}}}}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->
</noinclude>
</noinclude>