Difference between revisions of "Template:Person"

From Tsadra Commons
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
(7 intermediate revisions by the same user not shown)
Line 277: Line 277:
  
 
;Wiki Pages{{#ifeq:{{{ HasDrlPage | }}}|Yes|
 
;Wiki Pages{{#ifeq:{{{ HasDrlPage | }}}|Yes|
* [http://research.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DRL]|}}{{#ifeq:{{{ HasLibPage | }}}|Yes|
+
* [https://research.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DRL]|}}{{#ifeq:{{{ HasLibPage | }}}|Yes|
* [http://library.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the LIB]|}}{{#ifeq:{{{ HasRtzPage | }}}|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 446: Line 446:
 
|HasRtzPage={{{HasRtzPage|}}}
 
|HasRtzPage={{{HasRtzPage|}}}
 
|FirstImageURL={{filepath:{{#titleparts:{{PAGENAME:{{FirstValueOfArray|{{#arraymap:{{#arraymap:{{{ images | }}}|{{!}}|@@@|@@@|\n}}|\n|@@@|@@@|;}}|;}}}}}}|1000}}
 
|FirstImageURL={{filepath:{{#titleparts:{{PAGENAME:{{FirstValueOfArray|{{#arraymap:{{#arraymap:{{{ images | }}}|{{!}}|@@@|@@@|\n}}|\n|@@@|@@@|;}}|;}}}}}}|1000}}
|FirstImage={{FirstValueOfArray|{{#arraymap:{{#arraymap:{{{ images | }}}|{{!}}|@@@|@@@|\n}}|\n|@@@|@@@|;}}|;}}
+
|FirstImage={{#if: {{{ images | }}}
 +
| {{FirstValueOfArray
 +
|{{#arraymap: {{#arraymap: {{{ images | }}}
 +
|{{!}}
 +
|@@@
 +
|@@@
 +
|\n
 +
}}
 +
|\n
 +
|@@@
 +
|@@@
 +
|;
 +
}}
 +
|;
 +
}}
 +
| File:Noimagefound.jpg
 +
}}
 
|images={{{images|}}}
 
|images={{{images|}}}
 
|ImagesRaw={{#arraymap:{{#arraymap:{{#regex: {{{ images | }}} | /(.*)\{{!}}(.*)\n?/ | $1; }}|\n|@@@|@@@|;}}|;|@@@|@@@|;}}
 
|ImagesRaw={{#arraymap:{{#arraymap:{{#regex: {{{ images | }}} | /(.*)\{{!}}(.*)\n?/ | $1; }}|\n|@@@|@@@|;}}|;|@@@|@@@|;}}
Line 509: 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 539: Line 556:
 
|BnwPersonEssay={{{ BnwPersonEssay | }}}
 
|BnwPersonEssay={{{ BnwPersonEssay | }}}
 
|BnwFeatured={{{ BnwFeatured | }}}
 
|BnwFeatured={{{ BnwFeatured | }}}
|subclass={{#if:{{{MainNamePhon|}}}{{{MainNameTib|}}}{{{MainNameWylie|}}}|Classical|{{#if:{{{namelast|}}}|Modern|}}}}
+
|subclass={{#if: {{{namelast|}}}
 +
|Modern
 +
|{{#if: {{{MainNamePhon|}}}{{{MainNameTib|}}}{{{MainNameWylie|}}}
 +
|Classical
 +
|  
 +
}}
 +
}}
 
}}{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{{ PersonType| {{{ persontype | }}} }}}
 
}}{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{{ PersonType| {{{ persontype | }}} }}}
 
|MakeCategories
 
|MakeCategories

Revision as of 16:04, 24 July 2020