Template:Consumable: Difference between revisions

From Subnautica Wiki
No edit summary
Tag: sourceedit
m (Delete request.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Delete|Unused template.}}</noinclude><includeonly><infobox>
<infobox>
<title source="title" style="font-weight:bold; text-align:center;">
<title source="title"><default>{{PAGENAME}}</default></title>
<image source="image"><caption source="caption"/></image>
<default>{{PAGENAME}}</default>
<data source="size"><label>Size</label></data>
</title>
<data source="obtained"><label>Obtained From</label></data>
<image source="image1">
<caption source="caption1"/>
<data source="id"><label>Item ID</label></data>
<data source="category"><label>Category</label></data>
</image>
<data source="size">
<data source="tab"><label>Tab</label></data>
<group layout="horizontal">
<label>Size</label>
<data source="food"><label>Food</label></data>
</data>
<data source="obtained">
<data source="water"><label>Water</label></data>
</group>
<label>Obtained From</label>
</infobox>{{#if:{{PAGENAME}}|{{ns:0}}|[[Category:Consumables|{{PAGENAME}}]]|}}</includeonly><noinclude>{{Documentation}}</noinclude>
</data>
<data source="category">
<label>Category</label>
</data>
<data source="tab">
<label>Tab</label>
</data>
<group layout="horizontal">
<header>Food Values</header>
<data source="food">
<label>Food</label>
</data>
<data source="water">
<label>Water</label>
</data>
</group>
</infobox>
<noinclude>
Example usage:<pre>
{{Consumable
|title1=Example
|image1=Example
|caption1=Example
|row1=Example
|row2=Example
}}
</pre>
</noinclude>

Latest revision as of 06:46, 25 June 2023

Candidates for deletion This template is a candidate for deletion. Reason: Unused template.

Remember to check what links here and the page history before deletion.

Example

<infobox> <title source="title"><default>Consumable</default></title>

<image source="image"></image> <label>Size</label> <label>Obtained From</label> <label>Item ID</label> <label>Category</label> <label>Tab</label> <group layout="horizontal"> <label>Food</label> <label>Water</label> </group> </infobox>
{{Consumable
|title = Nutrient Block
|image = Nutrient Block.png
|size = 1
|obtained =
* [[Lifepod 5]]
* [[Supply Crate (Subnautica)|Supply Crate]]s
* [[Aurora]]
|id = ''nutrientblock''
|category = 
|tab = Food
|food = +75
|water = +0
}}

Empty Template

{{Consumable
|title = 
|image = 
|caption = 
|size = 
|obtained = 
|id = 
|category = 
|tab = 
|food = 
|water = 
}}