|
|
(17 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 == |
|
| |
|
| === Food/cooking navbox planning ===
| | LL template test. {{ll|Reed}} test {{ll|Cattail}} test {{ll|Turnip|Nabo}} |
|
| |
|
| __NOTOC__
| | == Infobox trials == |
| <div style="clear:both;"></div>
| |
| {| class="wikitable gameplaynavbox" style="text-align: left; margin:0px; width: 90%; font-size:85%;"
| |
| |-
| |
| ! style = "text-align: center;" colspan = "2" | <span style="font-size:120%;">[[Cooking]]</span>
| |
| |-
| |
| | style="text-align: center;" colspan = "2" | <span style="font-size:100%;">[[Wild food|Foraging]] · [[Farming]] · [[Animal husbandry]]</span>
| |
| |-
| |
| | style = "width: 9%; white-space: nowrap; padding: 0.2em 0.4em;" | '''Meals''' || Charred food · Cooked meal · Bread · Pie
| |
| |-
| |
| | '''Food preservation''' || Pickles · Salted meat · Jam · [[Cheese]] · [[Alcohol brewing|Alcohol]] · [[Cellar]]
| |
| |-
| |
| | '''Cooking tools''' || [[Firepit]] · [[Clay Oven]] · [[Cooking pot]] · [[Quern]]
| |
| |-
| |
| | '''Utensils''' || [[Bowl]] · [[Crock]] · [[Storage vessel]]
| |
| |-
| |
| | style="text-align: center;" colspan = "2"|<span style="font-size:100%;">[[Cellar]] · [[Greenhouse]] · [[Satiety]]</span>
| |
| |}
| |
|
| |
|
| === Using the template === | | {{User:Veerserif/Sandbox/Infobox |
| | | title=Dry grass |
| | | image=Grid_Dry_Grass.png |
| | | stackable=64 |
| | | temperature=600 |
| | | duration=4 |
| | | notes = this is a test |
| | }} |
|
| |
|
| {{Navbox | | <pre> |
| |title = Food and Cooking | | {{User:Veerserif/Sandbox/Infobox |
| | | title=Dry grass |
| | | image=Grid_Dry_Grass.png |
| | | stackable=64 |
| | | temperature=600 |
| | | duration=4 |
| | | notes = this is a test |
| | }} |
| | </pre> |
|
| |
|
| |group1 = Finding food
| | 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. |
| |body1 = [[Wild food|Foraging]] • [[Farming]] • [[Animal husbandry]] • [[Cooking]]
| |
|
| |
|
| |group2 = Meals
| |
| |body2 = Charred food • Cooked meal • Bread • Pie
| |
|
| |
|
| |group3 = Food preservation | | {{User:Veerserif/Sandbox/Infobox |
| |body3 = Pickles • Salted meat • Jam • [[Cheese]] • [[Alcohol brewing|Alcohol]] • [[Cellar]] | | | title=Beeswax |
| | | | image= |
| |group4 = Cooking tools | | | stackable=32 |
| |body4 = [[Firepit]] • [[Clay Oven]] • [[Cooking pot]] • [[Quern]]
| | }} |
|
| |
|
| |group5 = Utensils
| | <pre> |
| |body5 = [[Bowl]] • [[Crock]] • [[Storage vessel]] | | {{User:Veerserif/Sandbox/Infobox |
| | | | title=Beeswax |
| |group6 = Other links | | | image= |
| |body6 = [[Cellar]] • [[Greenhouse]] • [[Satiety]] | | | 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. |
|
| |
|
| == DisplayTitle removal test == | | ===Food infobox=== |
| | |
| Redir of Iron ores:
| |
| | |
| * [[Hematite]], [[Iron|Hematite]], [[Hematite|Iron]] was <code><nowiki>[[Hematite]], [[Iron|Hematite]], [[Hematite|Iron]]</nowiki></code>
| |
| | |
| == Link capitalization demonstration == | |
| | |
| Just as an example.
| |
| | |
| <code><nowiki>Lorem ipsum [[clay forming]] dolor sit amet. [[Clay forming]]s vel laoreet massa eleifend. Suspendisse malesuada, [[Clay forming]] sem eu sagittis posuere.</nowiki></code> produces:
| |
| | |
| Lorem ipsum [[clay forming]] dolor sit amet. [[Clay forming]]s vel laoreet massa eleifend. Suspendisse malesuada, [[Clay forming]] sem eu sagittis posuere.
| |
| | |
| '''n.b.''' All of those links will go to the same page, titled "Clay forming". Initial capitalization ''does not matter'' in Mediawiki - however, the link <code><nowiki>[[clay Forming]]</nowiki></code> or <code><nowiki>[[Clay Forming]]</nowiki></code> WILL break, since MediaWiki is looking for a page with the exact title and capitalization "Clay Forming", which no longer exists.
| |
|
| |
|
| == Cooking grid template test ==
| | 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/CookingGrid | | {{User:Veerserif/Sandbox/Food infobox |
| |1=Carrot | | | title=Turnip |
| |1-name=crrt | | | image= |
| |1-image=Grid_Carrot.png
| | | stackable=64 |
| |2=Meat | | | edible=Yes, raw or cooked |
| |2-link=Wild_food | | | satiety=100 |
| |2-image=Redmeat-raw.png | | | category=Vegetable |
| |3=Grain | | | ingredient=meals, pies |
| |3-image=Grain-rye.png | | | FreshTime=21 days |
| |3N=4 | | | TransitionTime=4 days |
| |4=Berry | | | TransitionRatio=0.5 |
| |4-image=Fruit-redcurrant.png
| |
| |Output-name=Meal
| |
| |Output=Meal
| |
| |Output-image=Claypot-raw.png | |
| }} | | }} |
|
| |
|
| {{User:Veerserif/Sandbox/CookingGrid | | <pre> |
| |1-image=Grid_Carrot.png | | {{User:Veerserif/Sandbox/Food infobox |
| |4=Berry | | | title=Turnip |
| |4-image=Fruit-redcurrant.png | | | image= |
| |Output-name=Meal | | | stackable=64 |
| |Output=Meal | | | edible=Yes, raw or cooked |
| |Output-image=Claypot-raw.png | | | satiety=100 |
| | | category=Vegetable |
| | | ingredient=meals, pies |
| | | FreshTime=21 days |
| | | TransitionTime=4 days |
| | | TransitionRatio=0.5 |
| }} | | }} |
| | </pre> |