Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 13: Line 13:
| file  = {{#if: {{{icon|}}} | {{{icon}}} | {{PAGENAME}}.png }}
| file  = {{#if: {{{icon|}}} | {{{icon}}} | {{PAGENAME}}.png }}
| imagewidth  = {{#if: {{{iconwidth|}}} | {{{iconwidth}}}px |}}
| imagewidth  = {{#if: {{{iconwidth|}}} | {{{iconwidth}}}px |}}
}}
}}{{#if:{{{identifier|}}}|
{{#if:{{{identifier|}}}|<span style="margin:auto;text-align:center;color:#808080;"><small>ID: <code>{{{identifier|}}}</code></small></span>}}
<span style="margin:auto;text-align:center;color:#808080;"><small>ID: <code>{{{identifier|}}}</code></small></span>}}{{#if: {{{maxstack|}}}|
{{#if: {{{maxstack|}}}|<span style="text-align:right;">{{{maxstack}}}</span>|}}<!--
<span style="text-align:right;">{{{maxstack}}}</span>|}}<!--


-->{{#if: {{{caption|}}} |<div style="margin:auto;text-align:center;max-width:450px;word-wrap:break-word;"><small>{{{caption}}}</small></div>}}{{#if: {{{sprite|}}} |<br><br>[[File:{{{sprite|}}}|{{{spritewidth|64}}}px]]
-->{{#if: {{{caption|}}} |<div style="margin:auto;text-align:center;max-width:450px;word-wrap:break-word;"><small>{{{caption}}}</small></div>}}{{#if: {{{sprite|}}} |<br><br>[[File:{{{sprite|}}}|{{{spritewidth|64}}}px]]
{{#if: {{{caption2|}}} |<br><small>{{{caption2}}}</small>}}
{{#if: {{{caption2|}}} |<br><small>{{{caption2}}}</small>}}
|}}
|}}
{{#if: {{{description|}}} |<br><br><div style="margin: 0 auto;width:50%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>''<small>{{{description}}}</small>''|}}
{{#if: {{{description|}}} |<div style="margin: 0 auto;width:50%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>''<small>{{{description}}}</small>''|}}
|-<!--
|-<!--



Revision as of 00:14, 17 February 2022

Template:Medical infobox/doc

This template adds rows to the table "Items", which is declared by the template Items infobox. View table.