<div>
	{{#if (eq actor.system.settings.variant 'shadow')}}
		<nav class="sheet-tabs tabs headlineTabs" data-group="primary">
			<a id="tabcore" class="item" data-tab="core" title="{{localize 'wod.tab.core'}}">{{> (dtSvgDie 'stats' actor.type actor.system.settings.variantsheet)}}</a>

			{{#if (not actor.limited)}}
				<a id="tabsettings" class="item" data-tab="settings" data-tab-area="trait" title="{{localize 'wod.tab.settings'}}">{{> (dtSvgDie 'settings' actor.type actor.system.settings.variantsheet)}}</a>
			{{/if}}
			<a href="https://github.com/JohanFalt/Foundry_WoD20/wiki" target="_blank" class="item" title="Wiki">{{> (dtSvgDie 'dice' actor.type actor.system.settings.variantsheet)}}</a>
		</nav>
	{{else}}
		{{#if (eq (checkSystemsetting "viewBiotabPermission") "full")}}
			<nav class="sheet-tabs tabs headlineTabs" data-group="primary">
				<div id="tabbio" class="item" data-tab="bio" data-tab-area="general" title="{{localize 'wod.tab.bio'}}">{{> (dtSvgDie 'bio' actor.type actor.system.settings.variantsheet)}}</div>
				<div id="tabcore" class="item" data-tab="core" data-tab-area="general" title="{{localize 'wod.tab.core'}}">{{> (dtSvgDie 'stats' actor.type actor.system.settings.variantsheet)}}</div>

				{{#if (eq actor.type config.sheettype.mage)}}
					<div id="tabmagic" class="item" data-tab="magic" data-tab-area="rote" title="{{localize 'wod.tab.magic'}}">{{> (dtSvgDie 'magic' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.hasdisciplines}}
					<div id="tabdisciplines" class="item" data-tab="discipline" data-tab-area="power" title="{{localize 'wod.tab.disciplines'}}">{{> (dtSvgDie 'discipline' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if (eqAny actor.type config.sheettype.werewolf config.sheettype.changingbreed)}}
					<div id="tabshapechange" class="item" data-tab="shapechange" data-tab-area="general" title="{{localize 'wod.tab.shapechange'}}">{{> (dtSvgDie 'shapechange' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if (eqAny actor.type config.sheettype.wraith)}}
					<div id="tabdeath" class="item" data-tab="death" data-tab-area="power" title="{{localize 'wod.tab.death'}}">{{> (dtSvgDie 'death' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if (eqAny actor.system.settings.variant "orpheus")}}
					<div id="tabdeath" class="item" data-tab="death" data-tab-area="power" title="{{localize 'wod.tab.death'}}">{{> (dtSvgDie 'death' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.hashekau}}
					<div id="tabscarab" class="item" data-tab="scarab" data-tab-area="power" title="{{localize 'wod.tab.hekau'}}">{{> (dtSvgDie 'scarab' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.hascharms}}
					<div id="tabcharms" class="item" data-tab="charms" data-tab-area="power" title="{{localize 'wod.tab.charms'}}">{{> (dtSvgDie 'power' actor.type actor.system.settings.variantsheet)}}</div>	
				{{/if}}

				{{#if actor.system.settings.powers.hasgifts}}
					<div id="tabgifts" class="item" data-tab="gift" data-tab-area="power" title="{{localize 'wod.tab.gifts'}}">{{> (dtSvgDie 'gift' actor.type actor.system.settings.variantsheet)}}</div>	
				{{/if}}

				{{#if actor.system.settings.powers.hasarts}}
					<div id="tabdreaming" class="item" data-tab="dreaming" data-tab-area="power" title="{{localize 'wod.tab.dreaming'}}">{{> (dtSvgDie 'dreaming' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.hasedges}}
					<div id="tabedges" class="item" data-tab="edge" data-tab-area="power" title="{{localize 'wod.tab.edge'}}">{{> (dtSvgDie 'edge' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.haslores}}
					<div id="tablore" class="item" data-tab="lore" data-tab-area="power" title="{{localize 'wod.tab.lore'}}">{{> (dtSvgDie 'lore' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}
						
				{{#if (eq actor.type config.sheettype.exalted)}}
					<div id="tabexaltedcharm" class="item" data-tab="exaltedcharm" data-tab-area="power" title="{{localize 'wod.tab.exaltedcharm'}}">{{> (dtSvgDie 'exaltedcharm' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.hasnumina}}
					<div id="tabnumina" class="item" data-tab="numina" data-tab-area="power" title="{{localize 'wod.tab.numina'}}">{{> (dtSvgDie 'magic' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				{{#if actor.system.settings.powers.haspowers}}
					<div id="tabpowers" class="item" data-tab="power" data-tab-area="power" title="{{localize 'wod.tab.power'}}">{{> (dtSvgDie 'power' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}

				<div id="tabcombat" class="item" data-tab="combat" data-tab-area="item" title="{{localize 'wod.tab.combat'}}">{{> (dtSvgDie 'combat' actor.type actor.system.settings.variantsheet)}}</div>
				<div id="tabgear" class="item" data-tab="gear" data-tab-area="item" title="{{localize 'wod.tab.gear'}}">{{> (dtSvgDie 'gear' actor.type actor.system.settings.variantsheet)}}</div>		
				<div id="tabnotes" class="item" data-tab="note" data-tab-area="feature" title="{{localize 'wod.tab.notes'}}">{{> (dtSvgDie 'note' actor.type actor.system.settings.variantsheet)}}</div>
				<div id="tabeffects" class="item" data-tab="effect" data-tab-area="bonus" title="{{localize 'wod.tab.effect'}}">{{> (dtSvgDie 'effect' actor.type actor.system.settings.variantsheet)}}</div>
			
				{{#if (not actor.limited)}}
					<div id="tabsettings" class="item" data-tab="settings" data-tab-area="trait" title="{{localize 'wod.tab.settings'}}">{{> (dtSvgDie 'settings' actor.type actor.system.settings.variantsheet)}}</div>
				{{/if}}
				<a href="https://github.com/JohanFalt/Foundry_WoD20/wiki" target="_blank" class="item" title="Wiki">{{> (dtSvgDie 'dice' actor.type actor.system.settings.variantsheet)}}</a>
			</nav>	
		{{else}}
			<nav class="sheet-tabs tabs headlineTabs" data-group="primary">
				<a id="tabbio" class="item" data-tab="bio" title="{{localize 'wod.tab.bio'}}">{{> (dtSvgDie 'bio' actor.type actor.system.settings.variantsheet)}}</a>
			</nav>
		{{/if}}
	{{/if}}
</div>
