Difference between revisions of "Template:Ask/Box"

From RimWorld Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
}}{{#vardefine: other      | {{Q| {{#var:name}} | Nutrition }}
 
}}{{#vardefine: other      | {{Q| {{#var:name}} | Nutrition }}
 
}}<div style='float: left; width: 10em; margin: 1em'
 
}}<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}}'''{{#var:value}}'''</div></div
+
        ><div style='position: absolute; z-index: 0; width: 5em; margin: 10px 0 0 66px'
><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}}'''{{#var:other}}'''</div></div
+
              ><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 Big| {{#var:name}} }}</div
+
                  >{{icon|silver}}'''{{#var:value}}'''<
><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>
+
        /div
 +
        ><div style='position: absolute; z-index: 0; width: 5em; margin: 38px 0 0 66px'
 +
              ><div style='display: {{#ifeq:{{#var:other}}|0|none|inline-block}}; border-radius: 0 2em 2em 0; background: #ddd; border: 1px solid #000; padding: 0.1em 0.3em 0.3em'
 +
                  >{{icon|bmeat}}'''{{#var:other}}'''<
 +
              /div><
 +
        /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 !important'
 +
            >{{#var:name}}<
 +
        /p><
 +
    /div><
 +
/div>

Revision as of 00:22, 29 April 2015

Silver '<
              /div><
        /div
>
Meat big '<
              /div><
        /div
>
[[|none|64px|link=Packaged Survival Meal]]
<
    /div
>

Packaged Survival Meal<

        /p><
    /div><

/div>