@extends('worldexpansion.layout') @section('title') Figure :: {{ $figure->name }} @endsection @section('content') @if (Auth::check() && Auth::user()->hasPower('manage_world')) @endif {!! breadcrumbs(['World' => 'world', 'Figure' => 'world/figures', $figure->name => 'world/figures/' . $figure->id]) !!}

{!! $figure->displayName !!}

{!! $figure->category ? ucfirst($figure->category->displayName) : 'Miscellaneous' !!} {!! $figure->faction ? '・ Part of ' . ucfirst($figure->faction->displayName) : '' !!}{!! $figure->factionRank ? ' (' . $figure->factionRank->name . ')' : null !!} @if ($figure->birth_date || $figure->death_date) {!! $figure->birth_date ? 'Born: ' . format_date($figure->birth_date, false) : 'Born: Unknown' !!} {!! $figure->death_date ? '- Died: ' . format_date($figure->death_date, false) : '- Died: Unknown' !!} @endif
@if ($figure->image_extension)
@endif @isset($figure->summary)
{!! $figure->summary !!}
@endisset @isset($figure->parsed_description)
{!! $figure->parsed_description !!}
@endisset
@if (count(allAttachments($figure))) @foreach (allAttachments($figure) as $type => $attachments)
Associated {{ $type }}{{ count($attachments) == 1 ? '' : 's' }}
@foreach ($attachments as $attachment)

{!! $attachment->displayName !!}

@endforeach
@endforeach @endif
@endsection