Template:DisplayLinkTemplate: Difference between revisions
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 | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#arraymap:{{#show:{{{1|}}}|?IsDocumentationOf|link=none}}|;|xx|<!-- | -->{{#arraymap:{{#show:{{{1|}}}|?IsDocumentationOf|link=none}}|;|xx|<!-- xx = model | ||
-->{{#ifeq:xx| | -->{{#ifeq: | ||
{{#show: xx|? HasParticipationState}}|full | |||
|{{#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