User:Serkan/test7: Difference between revisions
From FANTOM5_SSTAR
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
{{#arrayprint:libids_content_array|<br/> }} | {{#arrayprint:libids_content_array|<br/> }} | ||
{|class="wikitable mw-collapsible mw-collapsed" style="width:auto" | {|class="wikitable mw-collapsible mw-collapsed" style="width:auto" | ||
! links: | ! links: | ||
Line 10: | Line 11: | ||
|<table cellspacing="0" border="1"><tr>{{#loop: p | |<table cellspacing="0" border="1"><tr>{{#loop: p | ||
| 0 | | 0 | ||
| {{#arraysize: | | {{#arraysize:libids_content_array}} | ||
| <nowiki/>{{#vardefine:element|{{#arrayindex: | | <nowiki/>{{#vardefine:element|{{#arrayindex:libids_content_array|{{#var:p}}}}}} {{#vardefine:el|{{#sub:{{#var:element}}|{{#expr:{{#rpos:{{#var:element}} |/}}+1}}|{{#len:{{#var:element}}}} }} }} | ||
{{#arraydefine:elements|{{#var:element}}|:|}}{{#vardefine:raw_element_prefix|{{#arrayindex:elements|0}} }}{{#vardefine:raw_element_postfix|{{#arrayindex:elements|1}} }}{{#vardefine:RESOURCE_URL_BUILD|{{#ifeq: {{#var:raw_element_prefix}} |http|{{#ifexpr:{{#rpos:{{#var:el}}|png}}<0|[{{#arrayindex:xrefs_content_array|{{#var:p}}}}]|[ {{#var:element}} {{#var:el}}]}} |{{#var:raw_element_prefix}}:[http://www.ebi.ac.uk/ontology-lookup/?termId={{#var:raw_element_prefix}}:{{#var:raw_element_postfix}} {{#var:raw_element_postfix}}]}}}}{{#var:RESOURCE_URL_BUILD}}<br>}}</tr></table> | {{#arraydefine:elements|{{#var:element}}|:|}}{{#vardefine:raw_element_prefix|{{#arrayindex:elements|0}} }}{{#vardefine:raw_element_postfix|{{#arrayindex:elements|1}} }}{{#vardefine:RESOURCE_URL_BUILD|{{#ifeq: {{#var:raw_element_prefix}} |http|{{#ifexpr:{{#rpos:{{#var:el}}|png}}<0|[{{#arrayindex:xrefs_content_array|{{#var:p}}}}]|[ {{#var:element}} {{#var:el}}]}} |{{#var:raw_element_prefix}}:[http://www.ebi.ac.uk/ontology-lookup/?termId={{#var:raw_element_prefix}}:{{#var:raw_element_postfix}} {{#var:raw_element_postfix}}]}}}}{{#var:RESOURCE_URL_BUILD}}<br>}}</tr></table> | ||
|} | |} | ||