Template:Infobox fluid: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m 14 revisions imported |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{#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 46: | Line 31: | ||
| Resources with invalid renewability | | Resources with invalid renewability | ||
}}}} | }}}} | ||
}} | }} | ||
| footer = | |||
{{{notes|}}}}}<noinclude> | |||
{{documentation}} | |||
<!-- Put categories/interwiki on the documentation page --> | |||
</noinclude> | |||
Latest revision as of 07:39, 4 July 2024
Infobox fluid
| Renewable |
? |
|---|---|
| Transparent |
? |
| Luminance |
? |
| Blast resistance | |
| Tool |
? |
| Creates sources? |
N/A |
| Flow distance |
Unspecified |
| Flow speed |
Unspecified |
{
"title": "Infobox fluid",
"rows": [
{
"field": "?",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "?",
"label": "(link to Opacity article, displayed as Transparent)"
},
{
"field": "?",
"label": "(link to Light article, displayed as Luminance)"
},
{
"field": "(link to Template:blast resistance values#Missing value article, displayed as ?)",
"label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)"
},
{
"field": "?",
"label": "Tool"
},
{
"field": "N/A",
"label": "Creates sources?"
},
{
"field": "Unspecified",
"label": "Flow distance"
},
{
"field": "Unspecified",
"label": "Flow speed"
}
],
"invimages": [],
"images": []
}
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.