Difference between revisions of "Template:Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>This template pulls the data from each animal's individual page and formats it into a neat row summary. It is only intended for use on the [[List of animals]] page.
+
<div style="border:2px dotted darkgray; margin-top:0.5em; margin-bottom:1em; padding:0 0.5em;">
 
+
Welcome to the '''{{SITENAME}} sandbox'''!<br />
Usage:  <code><nowiki>{{Animals/RowSandbox|*name*}}</nowiki></code>
+
This page exists so that you can practice editing or formatting without changing any serious content. See [https://en.wikipedia.org/wiki/Help:Editing Help:Editing]. Feel free to try wiki editing out here first.<br />
 
+
There is a [[Help:Tutorial 1|tutorial]] on the Central (coordinating) Wikia that will step you through more of the things you can do. Wiki allow for rather complicated formatting. It can look overwhelming when you begin, but don't let it worry you. Just start with the basics... enter some text, and learn the other pieces as you go. Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.<br />
The template takes a single parameter, the name of the animal being referenced, which must be the exact name of the animal's main page. The parameter defaults to "Wild boar" if not given - used for testing/preview.
+
Best wishes!
 
+
</div><noinclude>
</noinclude><includeonly>![[{{{1|Wild boar}}}]]
+
{{documentation}}</noinclude>
| {{#show: {{{1|Wild boar}}}|?Type#}}
 
| {{#expr: {{#show: {{{1|Wild boar}}}|?Wildness#}} * 100}}%
 
| {{#switch: {{#show: {{{1|Wild boar}}}|?Diet#}}
 
| herbivorous = [[File:Potato plant.png|22px|alt=Plants|link=]]
 
| dendrovorous = [[File:Wood.png|24px|alt=Wood|link=]]
 
| carnivorous = [[File:MeatBig cropped.png|alt=Meat|link=]]
 
| omnivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}
 
| herbivorous and dendrovorous = {{nowrap|[[File:Potato plant.png|22px|alt=Plants|link=]]&nbsp;[[File:Wood.png|24px|alt=Wood|link=]]}}
 
| carnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|26x26px|alt=Raw meat, corpses|Raw meat, corpses|link=]]&nbsp;[[File:Kibble.png|24x24px|alt=Meals, processed food, kibble|Meals, proccessed food, kibble|link=]]&nbsp;[[File:Eggs fertilized cropped.png|18x18px|alt=Eggs, milk|Eggs, milk|link=]]&nbsp;[[File:Hay.png|22x22px|alt=Hay, live plants|Hay, live plants|link=]]&nbsp;[[File:Wood.png|22x22px|alt=Live trees|Live trees|link=]]&nbsp;[[File:Corn.png|26x26px|alt=Vegetables, seeds, liquor|Vegetables, seeds, liquor|link=]]}}
 
| omnivorous and ovivorous = {{nowrap|[[File:MeatBig cropped.png|alt=Meat|link=]]&nbsp;[[File:Eggs fertilized cropped.png|alt=Eggs|link=]]&nbsp;[[File:Potato plant.png|22px|alt=Plants|link=]]}}}}
 
| {{#show: {{{1|Wild boar}}}|?Mob Average DPS#}}
 
| {{#show: {{{1|Wild boar}}}|?Move Speed Base#}}
 
| {{#show: {{{1|Wild boar}}}|?Base Hunger Rate#}}
 
| {{#show: {{{1|Wild boar}}}|?Meat Yield#}}
 
| {{#if: {{#show: {{{1|Wild boar}}}|?Leather Yield#}}|{{#show: {{{1|Wild boar}}}|?Leather Yield#}}|-}}
 
| {{#show: {{{1|Wild boar}}}|?Life Expectancy#}}
 
| {{#show: {{{1|Wild boar}}}|?Maturity Age#}}
 
| {{#show: {{{1|Wild boar}}}|?Gestation Period Days#}}
 
| {{#show: {{{1|Wild boar}}}|?Minimum Handling Skill#}}
 
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Obedience#}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Release#}}  | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Rescue#}}    | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
| {{#switch: {{#show: {{{1|Wild boar}}}|?Can Train Haul#}}      | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}</includeonly>
 

Revision as of 02:45, 1 May 2020

Welcome to the RimWorld Wiki sandbox!
This page exists so that you can practice editing or formatting without changing any serious content. See Help:Editing. Feel free to try wiki editing out here first.
There is a tutorial on the Central (coordinating) Wikia that will step you through more of the things you can do. Wiki allow for rather complicated formatting. It can look overwhelming when you begin, but don't let it worry you. Just start with the basics... enter some text, and learn the other pieces as you go. Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.
Best wishes!

Documentation icon Template documentation[view] [edit] [history] [purge]

Description

This template is placed at the top of sandbox pages. By using a template, it becomes easy to fix if users make a mistake while playing in the sandbox.

Syntax

Type {{sandbox}} at the top of a sandbox.

Output

Welcome to the RimWorld Wiki sandbox!
This page exists so that you can practice editing or formatting without changing any serious content. See Help:Editing. Feel free to try wiki editing out here first.
There is a tutorial on the Central (coordinating) Wikia that will step you through more of the things you can do. Wiki allow for rather complicated formatting. It can look overwhelming when you begin, but don't let it worry you. Just start with the basics... enter some text, and learn the other pieces as you go. Your content contributions are welcome and important. The wiki is a collaborative effort and others can help with formatting and other improvements.
Best wishes!