Template:DisplayLinkTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
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|<!-- xx = model | ||
{{# | -->{{#ifeq: | ||
</includeonly> | {{#show: xx|? HasParticipationState}}|full | ||
|{{#ifeq: | |||
{{#show: xx|? HasProcessState}}|published | |||
|[[{{{1|}}}|xx]]<br/> <!-- display model and link to corresponding page --> | |||
| | |||
}} | |||
{{#ifeq: | |||
{{#show: xx|? HasProcessState}}|under review | |||
|[[{{{1|}}}|xx]]<br/> <!-- display model and link to corresponding page --> | |||
| | |||
}} | |||
| | |||
}} | |||
|}}</includeonly> |
Latest revision as of 13:59, 17 December 2019
template to display a corresponding link only if model is fully documented and HasProcessState=published param1= pagename