User:Veerserif/Sandbox: Difference between revisions

From Vintage Story Wiki
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is my sandbox so I don't catastrophically break the wiki.
This is my sandbox so I don't catastrophically break the wiki.


== Scratchpad ==
'''Notes to self'''
* Probably can't rely on {{tl|Messagebox}}, will need to copy its source and modify for better collapse toggle alignment
* Should be considered an "in-line" template therefore do not center it
Testing spoilers:
<code><nowiki>{{User:Veerserif/Sandbox/Spoiler|This sentence should be hidden until expanded}}</nowiki></code>
{{User:Veerserif/Sandbox/Spoiler|This sentence should be hidden until expanded}}
<code><nowiki>{{User:Veerserif/Sandbox/Spoiler|Curabitur nulla dolor, fermentum vitae risus sit amet, viverra tincidunt turpis. Ut leo nisl, congue vel commodo consequat, iaculis at nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam fringilla, mauris sed auctor laoreet, nibh purus ultrices sem, non consequat tortor nisl sed lectus. Nunc tempor turpis ut lorem dapibus lobortis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent sit amet pretium tortor. In nec purus consectetur, venenatis felis quis, laoreet enim. Integer feugiat quam non scelerisque finibus. Morbi vel nunc sit amet odio vulputate facilisis. Fusce ultricies mattis velit in viverra.}}</nowiki></code>
{{User:Veerserif/Sandbox/Spoiler|Curabitur nulla dolor, fermentum vitae risus sit amet, viverra tincidunt turpis. Ut leo nisl, congue vel commodo consequat, iaculis at nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam fringilla, mauris sed auctor laoreet, nibh purus ultrices sem, non consequat tortor nisl sed lectus. Nunc tempor turpis ut lorem dapibus lobortis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent sit amet pretium tortor. In nec purus consectetur, venenatis felis quis, laoreet enim. Integer feugiat quam non scelerisque finibus. Morbi vel nunc sit amet odio vulputate facilisis. Fusce ultricies mattis velit in viverra.}}


== Infobox trials ==
== Infobox trials ==
=== Infobox version 1 ===


{{User:Veerserif/Sandbox/Infobox
{{User:Veerserif/Sandbox/Infobox
Line 31: Line 44:
{{User:Veerserif/Sandbox/Infobox
{{User:Veerserif/Sandbox/Infobox
| title=Beeswax
| title=Beeswax
| image=File:Beeswax.png
| image=
| stackable=32
| stackable=32
}}
}}
Line 38: Line 51:
{{User:Veerserif/Sandbox/Infobox
{{User:Veerserif/Sandbox/Infobox
| title=Beeswax
| title=Beeswax
| image=File:Beeswax.png
| image=
| stackable=32
| stackable=32
}}
</pre>
Images default to <code><nowiki>$title.png</nowiki></code>, and if that doesn't exist, a "no image" placeholder is used instead.
===Food infobox===
It just made sense to me to split off item subtypes into their own infoboxes, seeing as we already do that. And this way I don't need twelve million optional lines that make the infobox slow to load.
{{User:Veerserif/Sandbox/Food infobox
| title=Turnip
| image=
| stackable=64
| edible=Yes, raw or cooked
| satiety=100
| category=Vegetable
| ingredient=meals, pies
| FreshTime=21 days
| TransitionTime=4 days
| TransitionRatio=0.5
}}
<pre>
{{User:Veerserif/Sandbox/Food infobox
| title=Turnip
| image=
| stackable=64
| edible=Yes, raw or cooked
| satiety=100
| category=Vegetable
| ingredient=meals, pies
| FreshTime=21 days
| TransitionTime=4 days
| TransitionRatio=0.5
}}
}}
</pre>
</pre>

Latest revision as of 13:31, 16 August 2024

This is my sandbox so I don't catastrophically break the wiki.

Scratchpad

Notes to self

  • Probably can't rely on {{Messagebox}}, will need to copy its source and modify for better collapse toggle alignment
  • Should be considered an "in-line" template therefore do not center it

Testing spoilers:

{{User:Veerserif/Sandbox/Spoiler|This sentence should be hidden until expanded}}

Book-normal-brickred.png
Spoilers hidden here!

This sentence should be hidden until expanded

{{User:Veerserif/Sandbox/Spoiler|Curabitur nulla dolor, fermentum vitae risus sit amet, viverra tincidunt turpis. Ut leo nisl, congue vel commodo consequat, iaculis at nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam fringilla, mauris sed auctor laoreet, nibh purus ultrices sem, non consequat tortor nisl sed lectus. Nunc tempor turpis ut lorem dapibus lobortis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent sit amet pretium tortor. In nec purus consectetur, venenatis felis quis, laoreet enim. Integer feugiat quam non scelerisque finibus. Morbi vel nunc sit amet odio vulputate facilisis. Fusce ultricies mattis velit in viverra.}}

Book-normal-brickred.png
Spoilers hidden here!

Curabitur nulla dolor, fermentum vitae risus sit amet, viverra tincidunt turpis. Ut leo nisl, congue vel commodo consequat, iaculis at nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nullam fringilla, mauris sed auctor laoreet, nibh purus ultrices sem, non consequat tortor nisl sed lectus. Nunc tempor turpis ut lorem dapibus lobortis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent sit amet pretium tortor. In nec purus consectetur, venenatis felis quis, laoreet enim. Integer feugiat quam non scelerisque finibus. Morbi vel nunc sit amet odio vulputate facilisis. Fusce ultricies mattis velit in viverra.

Infobox trials

Dry grass
Grid Dry Grass.png
Stackable

64

Fuel

600°C, 4 seconds

{{User:Veerserif/Sandbox/Infobox
| title=Dry grass
| image=Grid_Dry_Grass.png
| stackable=64
| temperature=600
| duration=4
| notes = this is a test
}}

Dry grass is an item that is harvested from the world, using a knife, or more efficiently using a scythe. It is used for crafting, or as a source of food for large animals. See animal husbandry for more information.


Beeswax
Beeswax.png
Stackable

32

{{User:Veerserif/Sandbox/Infobox
| title=Beeswax
| image=
| stackable=32
}}

Images default to $title.png, and if that doesn't exist, a "no image" placeholder is used instead.

Food infobox

It just made sense to me to split off item subtypes into their own infoboxes, seeing as we already do that. And this way I don't need twelve million optional lines that make the infobox slow to load.

Turnip
No image.png
Stackable

64

Edible

Yes, raw or cooked

Satiety

100 vegetable

Ingredient

Yes (meals, pies)

Fresh for

21 days, turns into 0.5x rot over 4 days

{{User:Veerserif/Sandbox/Food infobox
| title=Turnip
| image=
| stackable=64
| edible=Yes, raw or cooked
| satiety=100
| category=Vegetable
| ingredient=meals, pies
| FreshTime=21 days
| TransitionTime=4 days
| TransitionRatio=0.5
}}