Template:Medical infobox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(nvm)
m (fixed colspan if unbuyable)
Line 205: Line 205:
! class="infobox3 responsive-table" colspan="10" {{!}} [[Store]]
! class="infobox3 responsive-table" colspan="10" {{!}} [[Store]]
{{!}}-
{{!}}-
{{!}} style="width:{{#if: {{{unbuyable|}}}|5|4}}0%;font-size:105%;" colspan="{{#if: {{{unbuyable|}}}|5|4}} {{!}} [[File:Outpost.png|32px|Outpost|link=Campaign#Location]][[Campaign#Location|Outpost]]
{{!}} style="width:40%;font-size:105%;" colspan="4 {{!}} [[File:Outpost.png|32px|Outpost|link=Campaign#Location]][[Campaign#Location|Outpost]]
{{#if: {{{unbuyable|}}} | | {{!}} style="width:30%;font-size:105%;text-align:center;vertical-align:middle;" colspan="3" {{!}} Buy }}
{{#if: {{{unbuyable|}}} | | {{!}} style="width:30%;font-size:105%;text-align:center;vertical-align:middle;" colspan="3" {{!}} Buy }}
{{!}} style="width:{{#if: {{{unbuyable|}}}|5|3}}0%;font-size:105%;text-align:center;vertical-align:middle;" colspan="{{#if: {{{unbuyable|}}}|5|3}}" {{!}} Sell
{{!}} style="width:{{#if: {{{unbuyable|}}}|6|3}}0%;font-size:105%;text-align:center;vertical-align:middle;" colspan="{{#if: {{{unbuyable|}}}|6|3}}" {{!}} Sell
{{!}}-
{{!}}-
{{!}} style="height:0;padding:0;" colspan="10" {{!}} <div style="margin: 0 auto;width:95%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>
{{!}} style="height:0;padding:0;" colspan="10" {{!}} <div style="margin: 0 auto;width:95%;float:center;border-bottom: 1px #E2D9A4 dotted;"></div>

Revision as of 12:19, 28 November 2021

Template:Medical infobox/doc

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