Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(44 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__ | <includeonly>__NOTOC__ | ||
− | |||
− | |||
<div class="white-box depth-2 person-infobox"> | <div class="white-box depth-2 person-infobox"> | ||
− | + | <div class="plainlinks" style="text-align: right;">[http://commons.tsadra.org/index.php/Special:FormEdit/Person/{{PAGENAMEE}} <i class="fas fa-edit"></i>]</div> | |
− | < | + | <div style="text-align: right; font-size: small; ">{{#arraymap:{{{ PersonType | }}}|;|@@@|[[:Category:@@@|@@@]]| <span style="color: #ea4100;">•</span> }}</div> |
− | + | <div style="font-size: large; text-align: left; margin-bottom: 15px;"><span style="font-size: xx-large; text-align: left; padding: 0 .75rem;">{{#if: {{{ MainNameTib | }}} | {{{ MainNameTib | }}} | {{{ namefirst | }}} {{{ namemiddle | }}} {{{ namelastpre | }}} {{{ namelast | }}} }}</span>{{#if: {{{ MainNameWylie | }}}{{{ MainNameDev | }}}{{{ MainNameSkt | }}}{{{ MainNamePhon | }}}{{{ MainNameChi | }}}{{{ MainNamePin | }}}{{{ nametitlepre | }}}{{{ nameprefix | }}}{{{ namesuffix | }}}{{{ nametitlesuf | }}} | | |
− | <div style=" | + | {{{!}} class="bootstable" style="width: inherit; font-size: .8em;" {{#if: {{{ MainNameWylie | }}} | <br> |
− | |||
− | |||
− | |||
− | <div style="font-size: large; text-align: left; margin-bottom: 15px;"> | ||
− | |||
− | |||
{{!}}- | {{!}}- | ||
! Wylie | ! Wylie | ||
Line 25: | Line 17: | ||
{{!}}- | {{!}}- | ||
! English Phonetics | ! English Phonetics | ||
− | {{!}} {{{ MainNamePhon | }}} | }}{{#if: {{{ MainNameChi | }}} | <br> | + | {{!}} {{{ MainNamePhon | }}} | }}{{#if: {{{ SortName | }}} | <br> |
+ | {{!}}- | ||
+ | ! Sort Name | ||
+ | {{!}} {{{ SortName | }}} | }}{{#if: {{{ MainNameChi | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Chinese Script | ! Chinese Script | ||
Line 31: | Line 26: | ||
{{!}}- | {{!}}- | ||
! Chinese Transliteration | ! Chinese Transliteration | ||
− | {{!}} {{{ MainNamePin | }}} | }}{{#if: {{{ nametitlepre | }}} | <br> | + | {{!}} {{{ MainNamePin | }}} | }}{{#if: {{{ MainNameJap | }}} | <br> |
+ | {{!}}- | ||
+ | ! Japanese Script | ||
+ | {{!}} {{{ MainNameJap | }}} | }}{{#if: {{{ MainNameJapTranslit | }}} | <br> | ||
+ | {{!}}- | ||
+ | ! Japanese Transliteration | ||
+ | {{!}} {{{ MainNameJapTranslit | }}} | }}{{#if: {{{ MainNameKor | }}} | <br> | ||
+ | {{!}}- | ||
+ | ! Korean Script | ||
+ | {{!}} {{{ MainNameKor | }}} | }}{{#if: {{{ MainNameKorTranslit | }}} | <br> | ||
+ | {{!}}- | ||
+ | ! Korean Transliteration | ||
+ | {{!}} {{{ MainNameKorTranslit | }}} | }}{{#if: {{{ nametitlepre | }}} | <br> | ||
{{!}}- | {{!}}- | ||
! Title Prefix | ! Title Prefix | ||
Line 44: | Line 51: | ||
! Name Suffix | ! Name Suffix | ||
{{!}} {{{ nametitlesuf | }}} | }} | {{!}} {{{ nametitlesuf | }}} | }} | ||
− | |} | + | {{!}}} | }} |
− | |||
− | |||
− | |||
</div>{{#if:{{{ images | }}}| | </div>{{#if:{{{ images | }}}| | ||
Line 205: | Line 209: | ||
</dl> | }}{{#if: {{{ EmanationOf | }}} | | </dl> | }}{{#if: {{{ EmanationOf | }}} | | ||
− | ; | + | ;Is emanation of |
− | :{{{ EmanationOf | }}} | }}{{#if: {{{ | + | : {{#arraymap: {{{ EmanationOf | }}} |
+ | |; | ||
+ | |@@@ | ||
+ | |{{#if: {{#show: @@@|?MainNamePhon}} | ||
+ | | [[@@@|{{#show: @@@|?MainNamePhon}}]] | ||
+ | | [[@@@]] | ||
+ | }} | ||
+ | | <span style="color: #ea4100;">·</span> | ||
+ | }} | }}{{#if: {{#ask:[[Category:People]][[EmanationOf::{{PAGENAME}}]]}} | | ||
− | + | ; Has following emanations | |
− | + | : {{#arraymap: {{#ask:[[Category:People]][[EmanationOf::{{PAGENAME}}]]|?MainNamePhon|link=none|format=list|template=EmanationsList|import-annotation=true}} | |
− | + | |, | |
− | {{ | + | |@@@ |
− | </ | + | |[[{{#ask: [[MainNamePhon::@@@]]|link=none}}|@@@]] |
+ | | <span style="color: #ea4100;">·</span> | ||
+ | }} | }}{{#if: {{{ studentof | {{{ StudentOf | }}} }}} | | ||
;Teachers | ;Teachers | ||
Line 263: | Line 277: | ||
;Wiki Pages{{#ifeq:{{{ HasDrlPage | }}}|Yes| | ;Wiki Pages{{#ifeq:{{{ HasDrlPage | }}}|Yes| | ||
− | * [ | + | * [https://research.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DRL]|}}{{#ifeq:{{{ HasLibPage | }}}|Yes| |
− | * [ | + | * [https://library.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the LIB]|}}{{#ifeq:{{{ HasRtzPage | }}}|Yes| |
* [http://rtz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the RTZ]|}}{{#ifeq:{{{ HasDnzPage | }}}|Yes| | * [http://rtz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the RTZ]|}}{{#ifeq:{{{ HasDnzPage | }}}|Yes| | ||
* [http://dnz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DNZ]|}}{{#ifeq:{{{ HasBnwPage | }}}|Yes| | * [http://dnz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DNZ]|}}{{#ifeq:{{{ HasBnwPage | }}}|Yes| | ||
Line 292: | Line 306: | ||
= Wylie = | = Wylie = | ||
− | {{{ GyatsaBioWylie | }}}| }} | + | {{{ GyatsaBioWylie | }}} |
+ | |||
+ | = English = | ||
+ | |||
+ | {{{ GyatsaBioTrans | }}}| }} | ||
<headertabs/> | <headertabs/> | ||
Line 410: | Line 428: | ||
|EmanationOf={{{EmanationOf|}}}|+sep=; | |EmanationOf={{{EmanationOf|}}}|+sep=; | ||
|EmanationOfRaw={{{EmanationOf|}}} | |EmanationOfRaw={{{EmanationOf|}}} | ||
+ | |HasEmanations={{#ask:[[Category:People]][[EmanationOf::{{PAGENAME}}]]|?MainNamePhon|link=none|format=list|template=EmanationsList|import-annotation=true}}|+sep=, | ||
|GyatsaBioEndFolio={{{GyatsaBioEndFolio|}}} | |GyatsaBioEndFolio={{{GyatsaBioEndFolio|}}} | ||
|GyatsaBioEndPage={{{GyatsaBioEndPage|}}} | |GyatsaBioEndPage={{{GyatsaBioEndPage|}}} | ||
Line 416: | Line 435: | ||
|GyatsaBioTib={{{GyatsaBioTib|}}} | |GyatsaBioTib={{{GyatsaBioTib|}}} | ||
|GyatsaBioWylie={{{GyatsaBioWylie|}}} | |GyatsaBioWylie={{{GyatsaBioWylie|}}} | ||
+ | |GyatsaBioTrans={{{GyatsaBioTrans|}}} | ||
|GyatsaNameTib={{{GyatsaNameTib|}}} | |GyatsaNameTib={{{GyatsaNameTib|}}} | ||
|GyatsaNameWylie={{{GyatsaNameWylie|}}} | |GyatsaNameWylie={{{GyatsaNameWylie|}}} | ||
Line 425: | Line 445: | ||
|HasLibPage={{{HasLibPage|}}} | |HasLibPage={{{HasLibPage|}}} | ||
|HasRtzPage={{{HasRtzPage|}}} | |HasRtzPage={{{HasRtzPage|}}} | ||
− | |FirstImageURL={{filepath:{{PAGENAME:{{FirstValueOfArray|{{#arraymap:{{#arraymap:{{{ images | }}}|{{!}}|@@@|@@@|\n}}|\n|@@@|@@@|;}}|;}}}}}} | + | |FirstImageURL={{filepath:{{#titleparts:{{PAGENAME:{{FirstValueOfArray|{{#arraymap:{{#arraymap:{{{ images | }}}|{{!}}|@@@|@@@|\n}}|\n|@@@|@@@|;}}|;}}}}}}|1000}} |
+ | |FirstImage={{#if: {{{ images | }}} | ||
+ | | {{FirstValueOfArray | ||
+ | |{{#arraymap: {{#arraymap: {{{ images | }}} | ||
+ | |{{!}} | ||
+ | |@@@ | ||
+ | |@@@ | ||
+ | |\n | ||
+ | }} | ||
+ | |\n | ||
+ | |@@@ | ||
+ | |@@@ | ||
+ | |; | ||
+ | }} | ||
+ | |; | ||
+ | }} | ||
+ | | File:Noimagefound.jpg | ||
+ | }} | ||
|images={{{images|}}} | |images={{{images|}}} | ||
− | |ImagesRaw={{#arraymap:{{# | + | |ImagesRaw={{#arraymap:{{#arraymap:{{#regex: {{{ images | }}} | /(.*)\{{!}}(.*)\n?/ | $1; }}|\n|@@@|@@@|;}}|;|@@@|@@@|;}} |
|Incarnations={{{Incarnations|}}}|+sep=; | |Incarnations={{{Incarnations|}}}|+sep=; | ||
|IncarnationsRaw={{{Incarnations|}}} | |IncarnationsRaw={{{Incarnations|}}} | ||
Line 444: | Line 481: | ||
|MainNameChi={{{MainNameChi|}}} | |MainNameChi={{{MainNameChi|}}} | ||
|MainNamePin={{{MainNamePin|}}} | |MainNamePin={{{MainNamePin|}}} | ||
+ | |MainNameJap={{{MainNameJap|}}} | ||
+ | |MainNameJapTranslit={{{MainNameJapTranslit|}}} | ||
+ | |MainNameKor={{{MainNameKor|}}} | ||
+ | |MainNameKorTranslit={{{MainNameKorTranslit|}}} | ||
|namealt={{{namealt|}}}|+sep=; | |namealt={{{namealt|}}}|+sep=; | ||
|namealtRaw={{{namealt|}}} | |namealtRaw={{{namealt|}}} | ||
Line 459: | Line 500: | ||
|PersonalAffiliationRaw={{{PersonalAffiliation|}}} | |PersonalAffiliationRaw={{{PersonalAffiliation|}}} | ||
|PersonType={{{PersonType|}}}|+sep=; | |PersonType={{{PersonType|}}}|+sep=; | ||
+ | |PersonTypeRaw={{{PersonType|}}} | ||
|phduniversity={{{phduniversity|}}} | |phduniversity={{{phduniversity|}}} | ||
|phone={{{phone|}}} | |phone={{{phone|}}} | ||
Line 483: | Line 525: | ||
|religiousaffiliation={{{religiousaffiliation|}}};{{{ReligiousAffiliation|}}}|+sep=; | |religiousaffiliation={{{religiousaffiliation|}}};{{{ReligiousAffiliation|}}}|+sep=; | ||
|religiousaffiliationRaw={{{religiousaffiliation|}}}{{{ReligiousAffiliation|}}} | |religiousaffiliationRaw={{{religiousaffiliation|}}}{{{ReligiousAffiliation|}}} | ||
+ | |SortName={{{ SortName | }}} | ||
|studentof={{{studentof|}}};{{{StudentOf|}}}|+sep=; | |studentof={{{studentof|}}};{{{StudentOf|}}}|+sep=; | ||
|studentofRaw={{#arraymap:{{{studentof|}}};{{{StudentOf|}}}|;|@@@|@@@|;}} | |studentofRaw={{#arraymap:{{{studentof|}}};{{{StudentOf|}}}|;|@@@|@@@|;}} | ||
Line 513: | Line 556: | ||
|BnwPersonEssay={{{ BnwPersonEssay | }}} | |BnwPersonEssay={{{ BnwPersonEssay | }}} | ||
|BnwFeatured={{{ BnwFeatured | }}} | |BnwFeatured={{{ BnwFeatured | }}} | ||
− | |subclass={{#if:{{{ | + | |subclass={{#if: {{{namelast|}}} |
− | }}{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{{ PersonType| {{{ persontype | }}} }}} | + | |Modern |
+ | |{{#if: {{{MainNamePhon|}}}{{{MainNameTib|}}}{{{MainNameWylie|}}} | ||
+ | |Classical | ||
+ | | | ||
+ | }} | ||
+ | }} | ||
+ | }}{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{{ PersonType| {{{ persontype | }}} }}} | ||
|MakeCategories | |MakeCategories | ||
|; | |; |