@page "{id:int}" @model GanjooRazor.Pages.PersonModel @using DNTPersianUtils.Core @{ Layout = "_Layout"; } @section Head { } @if (!string.IsNullOrEmpty(Model.LastError)) { @Model.LastError } else {
 

@Model.Person.Name @if (Model.LoggedIn) { ✎ }

@if (!string.IsNullOrEmpty(Model.Person.FamilyTreeCaption)) {

شجره‌نامه: @Model.Person.FamilyTreeCaption

} @if (Model.Person.BirthYearInLHijri != 0 || Model.Person.DeathYearInLHijri != 0) {

@if (Model.Person.BirthYearInLHijri != 0) { تولد: @Model.Person.BirthYearInLHijri.ToPersianNumbers() (قمری) @(Model.Person.ValidBirthDate ? "" : "- تخمینی") } @if (Model.Person.DeathYearInLHijri != 0) { — وفات: @Model.Person.DeathYearInLHijri.ToPersianNumbers() (قمری) @(Model.Person.ValidDeathDate ? "" : "- تخمینی") }

} @if (!string.IsNullOrEmpty(Model.Person.Description)) {

@Model.Person.Description

} @if (!string.IsNullOrEmpty(Model.Person.WikiUrl)) {

صفحهٔ ویکی‌پدیا

}
@if (Model.RelationRows.Count > 0) {
 

خویشاوندان

    @foreach (var row in Model.RelationRows) {
  • @row.Label — @row.OtherPersonName @if (!string.IsNullOrEmpty(row.Note)) { (@row.Note) }
  • }
} @if (Model.AffiliationRows.Count > 0) {
 

وابستگی‌های غیرخویشاوندی

    @foreach (var row in Model.AffiliationRows) {
  • @row.SentenceBeforeOtherName@row.OtherPersonName@row.SentenceAfterOtherName @if (!string.IsNullOrEmpty(row.Note)) { (@row.Note) }
  • }
} @if (Model.Poems != null && Model.Poems.Length > 0) {
 

اشعار برچسب‌خورده با این شخصیت

} else {
 

هنوز شعری با این شخصیت برچسب‌گذاری نشده است.

}
 
@if (ViewData["TrackingScript"] != null && !string.IsNullOrEmpty(ViewData["TrackingScript"].ToString())) { @Html.Raw(ViewData["TrackingScript"]) } }