Template:Infobox fluid: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m rebase dev changes onto prod |
||
Line 1: | Line 1: | ||
< | <includeonly>{{#invoke:infobox|infobox | ||
| rows = | |||
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ? }} }} | |||
{{infobox row|label=[[Opacity|Transparent]]|field={{ #if: {{{transparent|}}} | {{{transparent}}} | ? }} }} | |||
{{infobox row|label=[[Light|Luminance]]|field={{ #if: {{{light|}}} | {{{light}}} | ? }} }} | |||
{{infobox row|label=[[Explosion#Blast resistance|Blast resistance]]|field={{ #if: {{{tntres|}}} | |||
| {{{tntres}}}{{#if: {{NAMESPACE}} || {{translation category|project=0|Pages with overridden tntres}} }} | |||
| {{Blast resistance values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | |||
}} }} | |||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{ | |||
#switch: {{ lc: {{{tool|}}} }} | |||
| bucket = {{SlotSprite|Bucket Required|link=Bucket|This block can only be picked up using a bucket}} | |||
| n/a | none = None | |||
| all | alltools | any | anytool = Any tool | |||
| #default = ? | |||
}}{{ | |||
#if: {{{tool2|}}} | {{ | |||
#switch: {{ lc: {{{tool2}}} }} | |||
| bucket = {{SlotSprite|Bucket Required|link=Bucket}} | |||
}} | |||
}} }} | |||
{{infobox row|label=Creates sources?|field={{ #if: {{{infinite|}}} | {{{infinite}}} | N/A }} }} | |||
{{infobox row|label=Flow distance|field={{ #if: {{{flowdistance|}}} | {{{flowdistance}}} | Unspecified }} }} | |||
{{infobox row|label=Flow speed|field={{ #if: {{{flowrate|}}} | {{{flowrate}}} | Unspecified }} }} | |||
{{#if: {{{tags|}}} | {{infobox row | label= [[Tag]]s | field= {{flatlist|{{#replace:{{{tags}}}|#|#}} }} }} }} | |||
{{#if: {{NAMESPACE}} || | |||
#if: {{NAMESPACE}} || | |||
{{translation category|project=0|{{ | {{translation category|project=0|{{ | ||
#switch: {{lc: {{{renewable|}}} }} | #switch: {{lc: {{{renewable|}}} }} | ||
Line 44: | Line 31: | ||
| Resources with invalid renewability | | Resources with invalid renewability | ||
}}}} | }}}} | ||
}}</ | }} | ||
| footer = | |||
{{{notes|}}}}}</includeonly><noinclude> | |||
{{documentation}} | |||
<!-- Put categories/interwiki on the documentation page --> | |||
</noinclude> |
Revision as of 16:27, 24 September 2023
Usage
This template is used on pages which contain information about a fluid, such as water or lava.
{{Fluid | renewable= | transparent= | light= | tool= | infinite= | flowdistance= | flowrate= }}
Parameter | Function | Default value |
---|---|---|
renewable |
Whether the fluid is renewable or not | ? |
transparent |
Whether the fluid is transparent or not | ? |
light |
Whether the fluid gives off light or not | ? |
tool |
The tool that can be used to obtain the fluid | ? |
infinite |
Whether the fluid can be used to create an infinite source | N/A |
flowdistance |
How long the fluid travels on a flat surface | Unspecified |
flowrate |
How many ticks it takes for the fluid to reach the next block | Unspecified |
Blast resistance values are automatically obtained from Module:Blast resistance values when applicable.
See also
- Minecraft
{{Infobox biome}}
{{Infobox block}}
{{Infobox command}}
{{Infobox development phase}}
{{Infobox enchantment}}
{{Infobox effect}}
{{Infobox entity}}
{{Infobox fluid}}
{{Infobox item}}
{{Infobox item entity}}
{{Infobox structure}}
- Minecraft Earth
- Minecraft Dungeons
{{Infobox Dungeons cosmetic}}
{{Infobox Dungeons enchantment}}
{{Infobox Dungeons entity}}
{{Infobox Dungeons item}}
{{Infobox Dungeons mission}}
- Minecraft Legends
{{Infobox Legends biome}}
{{Infobox Legends entity}}
{{Infobox Legends resource}}
{{Infobox Legends mode}}
{{Infobox Legends skin}}
{{Infobox Legends structure}}
- Minecraft Story Mode
{{Infobox episode}}
- Other
{{Infobox album}}
{{Infobox book}}
{{Infobox board game}}
{{Infobox company}}
{{Fallback infobox}}
{{Infobox guide}}
{{Infobox mash-up}}
{{Infobox music}}
{{Infobox person}}
{{Infobox profile}}
{{Infobox program}}
{{Infobox screen effect}}
{{Infobox server}}
{{Infobox skin pack}}
{{Infobox theme}}
{{Infobox version}}
{{Infobox video}}
{{Infobox website}}
{{Infobox world}}
- Meta
{{Infobox}}
{{Infobox row}}
{{Infobox header}}
- Module:Infobox
es:Plantilla:Fluido pt:Predefinição:Fluido
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Infobox fluid/doc.