Template:DisplayLinkTemplate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> Page to display a link param1= pagename param2= label </noinclude><includeonly> [[{{{1|}}}|{{{2|}}}]] </includeonly>") |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
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 | ||
[[{{{1|}}}|{{{ | -->{{#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