Difference between revisions of "Template:Ask/Box"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{  #vardefine: name        | {{{?Name       | Simple Meal }}}
+
<noinclude>
 +
{{documentation wanted}} (See also List, Ask/Item, Ask/Item Light
 +
</noinclude>
 +
<includeonly>{{  #vardefine: name        | {{{Name           | Packaged Survival Meal}}}
 
}}{{#vardefine: value      | {{Q| {{#var:name}} | Market Value Base }}
 
}}{{#vardefine: value      | {{Q| {{#var:name}} | Market Value Base }}
 
}}{{#vardefine: other      | {{Q| {{#var:name}} | Nutrition }}
 
}}{{#vardefine: other      | {{Q| {{#var:name}} | Nutrition }}
}}<div style='float: left; width: 10em'
+
}}<div style='float: left; width: 10em; margin: 1em'
 
><div class='infobox {{{userparam|c_01}}}' style='float: none; clear: none; border: none; height: auto; margin: 0 auto !important; width: 74px !important'
 
><div class='infobox {{{userparam|c_01}}}' style='float: none; clear: none; border: none; height: auto; margin: 0 auto !important; width: 74px !important'
><div style='position: absolute; z-index: 0; width: 5em; margin: 10px 0 0 66px'><div style='display: inline-block; border-radius: 0 2em 2em 0; background: #ddd; border: 1px solid #000; padding: 0.1em 0.3em 0.3em'>{{icon|silver}}</div>&nbsp;'''{{#var:value}}'''</div
+
><div style='position: absolute; z-index: 0; width: 5em; margin: 10px 0 0 66px'><div style='display: inline-block; border-radius: 0 2em 2em 0; background: #ddd; border: 1px solid #000; padding: 0.1em 0.3em 0.3em'>{{Icon Small|silver||<b>{{#var:value}}</b>}}</div></div
><div style='position: absolute; z-index: 0; width: 5em; margin: 38px 0 0 66px'><div style='display: inline-block; border-radius: 0 2em 2em 0; background: #ddd; border: 1px solid #000; padding: 0.1em 0.3em 0.3em'>{{icon|bmeat}}</div>&nbsp;'''{{#var:other}}'''</div
+
><div style='position: absolute; z-index: 0; width: 5em; margin: 38px 0 0 66px'><div style='display: {{#ifeq:{{#var:other}}||none|inline-block}}; border-radius: 0 2em 2em 0; background: #ddd; border: 1px solid #000; padding: 0.1em 0.3em 0.3em'>{{Icon Small|meat||<b>{{#var:other}}</b>}}</div></div
 
>{{Icon Big| {{#var:name}} }}</div
 
>{{Icon Big| {{#var:name}} }}</div
><div class='infobox {{{userparam|c_01}}}' style='float: none; clear: none; border: none; height: auto; width: 100% !important; margin: -5px auto !important; width: 74px'><p class='heading' style='font-size: 110% !important; border-radius: 1em; height: auto; vertical-align: middle; padding: 0.5em 2em !important'>{{#var:name}}</p></div
+
><div class='infobox {{{userparam|c_01}}}' style='float: none; clear: none; border: none; height: auto; width: 100% !important; margin: -5px auto !important; width: 74px'><p class='heading' style='font-size: 110% !important; border-radius: 1em; height: auto; vertical-align: middle; padding: 0.5em !important'>{{#var:name}}</p></div
></div>
+
></div></includeonly>
 +
<noinclude>
 +
{{List/Short|Stone|item=Ask/Box|limit=1}}
 +
</noinclude>

Latest revision as of 11:41, 7 June 2022


(See also List, Ask/Item, Ask/Item Light



Silver 0.9
Meat 
Granite blocks C.png

Granite blocks

Silver 0.9
Meat 
Limestone blocks C.png

Limestone blocks

Silver 0.9
Meat 
Marble blocks C.png

Marble blocks

Silver 0.9
Meat 
Sandstone blocks C.png

Sandstone blocks

Silver 0.9
Meat 
Slate blocks C.png

Slate blocks

Silver 5
Meat 
Jade c.png

Jade