Difference between revisions of "Template:Person"

From Tsadra Commons
Jump to navigation Jump to search
m (Text replacement - "http://library.tsadra.org" to "https://library.tsadra.org")
((by SublimeText.Mediawiker))
(4 intermediate revisions by the same user not shown)
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 540: 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