@if (StyleType.Equals("Plain")) { @if (Entity!.Info().Description != "") {
Description: @((MarkupString)Entity.Info().Description)
} @if (Entity.Info().Notes != "") {
Notes: @((MarkupString)Entity.Info().Notes)
}
@if (Entity.Faction() != null) {
Faction: @Entity.Faction().Faction
} @if (Entity.Tier() != null) {
Tier: @Entity.Tier().Tier
}
@if (Entity.Hotkey() != null) {
Hotkey Group: @Entity.Hotkey().HotkeyGroup
Hotkey: @Entity.Hotkey().Hotkey
Hold Space: @(Entity.Hotkey().HoldSpace ? "Yes" : "No")
}
} else { @if (Entity!.Info().Description != "") {
Description: @((MarkupString)Entity.Info().Description)
} @if (Entity.Info().Notes != "") {
Notes: @((MarkupString)Entity.Info().Notes)
}
@if (Entity.Faction() != null) {
Faction: @Entity.Faction().Faction
} @if (Entity.Tier() != null) {
Tier: @Entity.Tier().Tier
}
@if (Entity.Hotkey() != null) {
Hotkey Group: @Entity.Hotkey().HotkeyGroup
Hotkey: @Entity.Hotkey().Hotkey
Hold Space: @(Entity.Hotkey().HoldSpace ? "Yes" : "No")
}
} @code { [CascadingParameter] public EntityModel? Entity { get; set; } = default!; [CascadingParameter] public string StyleType { get; set; } = "Detailed"; }