@extends('worldexpansion.layout') @section('title') {{ $type->name }} @endsection @section('content') {!! breadcrumbs(['World' => 'world', 'Factions Types' => 'world/faction-types', $type->names => 'world/factions/' . $type->id]) !!}

{!! $type->displayName !!} ({!! $type->names !!})

@if ($type->image_extension)
@endif @isset($type->summary)
{!! $type->summary !!}
@endisset
@if (count($type->factions))
All {{ $type->names }} ({{ count($type->factions) }})

@foreach ($type->factions->groupBy('type_id') as $group => $factions) @foreach ($factions as $key => $child)

{!! $child->fullDisplayNameUC !!} @if ($child->parent) (part of {!! $child->parent->fullDisplayName !!}) @endif

@endforeach @endforeach
@else
There aren't any {{ $type->names }} yet
@endif
@isset($type->parsed_description)
{!! $type->parsed_description !!}
@endisset @endsection