Template:DisplayLinkTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
template to display a link
template to display a corresponding link only if model is fully documented and HasProcessState=published
param1= pagename
param1= pagename
param2= label
</noinclude><includeonly><!--
</noinclude><includeonly><!--
-->{{#arraymap:{{#show:{{{1|}}}|?IsDocumentationOf|link=none}}|;|xx|<!--
-->{{#arraymap:{{#show:{{{1|}}}|?IsDocumentationOf|link=none}}|;|xx|<!-- xx = model
-->{{#ifeq:xx|IPETS||<!--
  -->{{#ifeq:
-->{{#ifeq:xx|DNE21+||<!--
      {{#show: xx|? HasParticipationState}}|full
--><br/>[[{{{1|}}}|xx]] }} }} |}}</includeonly>
      |{{#ifeq:
          {{#show: xx|? HasProcessState}}|published
          |[[{{{1|}}}|xx]]<br/> <!-- display model and link to corresponding page -->
          |
        }}
      |
    }}  
|}}</includeonly>

Revision as of 10:57, 22 June 2018

template to display a corresponding link only if model is fully documented and HasProcessState=published param1= pagename