Open main menu

Changes

109 bytes added ,  17:43, 22 January 2023
no edit summary
--><!--
-->}}<!-- arrayprint
--><!--
--><!-- also construct an array with links or red links to be displayed at the bottom
-->{{#arraydefine: arrayParentPageLinks<!--
-->|{{#arrayprint: arrayIntersectTerms||varTerm<!--
-->|<!--
-->{{#vardefine: varTitle| {{DecodeTitleFormula|formula={{#var: varTitleFormula}}|subject=varTerm|predicate={{#var: varPredicate}}|object={{#var: varObject}}|}} }}<!--
--><!--
--><!-- check if the page exists
-->{{#ifexist:{{#var: varTitle}}<!--
-->|<!-- exist: add the link to the page
-->[[{{#var: varTitle}}]]<!--
-->|<!-- doesn't exist: add the formlink
-->{{#formlink:form=Topic|link text={{#var: varTitle}}|target={{#var: varTitle}}|query string=Topic[Subject]=varTerm&Topic[Inherited From]={{{Inherited From|}}}|}}<!--
-->}}<!-- if exists
--><!--
-->}}<!-- arrayprint
-->| , |unique<!--
-->}}<!-- arraydefine
--><!--
-->|<!-- not inherited: still construct an empty array for the use below
-->{{#arraydefine: arrayIntersectTermsarrayParentPageLinks}}<!--
--><!--
-->}}<!-- if inherited from
-->}}<!--
--><!--
--><!-- construct the array of links or redlinks-->{{#arraydefine: arrayParentPageLinks<!-- -->|{{#arrayprint: arrayIntersectTerms||varTerm<!-- -->|<!-- -->{{#vardefine: varTitle| {{DecodeTitleFormula|formula={{#var: varTitleFormula}}|subject=varTerm|predicate={{#var: varPredicate}}|object={{#var: varObject}}|}} }}<!-- --><!-- --><!-- check if the page exists -->{{#ifexist:{{#var: varTitle}}<!-- -->|<!-- exist: add the link to the page -->[[{{#var: varTitle}}]]<!-- -->|<!-- doesn't exist: add the formlink -->{{#formlink:form=Topic|link text={{#var: varTitle}}|target={{#var: varTitle}}|query string=Topic[Subject]=varTerm&Topic[Inherited From]={{{Inherited From|}}}|}}<!-- -->}}<!-- if exists --><!-- -->}}<!-- arrayprint -->| , |unique<!---->}}<!-- arraydefine--><!----><!-- create the union of the two manual and calculated arraysof parent topics
-->{{#arrayunion: arrayMerged|arrayManual|arrayParentPageLinks}}<!--
--><!--