Template:Resource card: Difference between revisions

Template page
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<tr>
<tr>
<td class="res-card">
<td class="res-card">{{#if: {{{Tag|}}}|<div class="res-tags">{{#arraymap: {{{Tag|}}}|,|@|<span class="res-tag">@</span>|}}</div>}}<!--
 
-->{{#if: {{{Task|}}}|<div class="res-process">{{{Task|}}}</div>}}
<div class="res-title">{{#ifeq:{{{Resource scope|}}}
<div class="res-title">{{#ifeq:{{{Resource scope|}}}
   |Local wiki page
   |Local wiki page
Line 6: Line 9:
   |[{{{Resource URL|}}} {{PAGENAME:{{{Page|}}}}}]
   |[{{{Resource URL|}}} {{PAGENAME:{{{Page|}}}}}]
}}</div>
}}</div>
<div class="res-status">{{{Resource status|}}} {{!}} {{{Status change date|}}}</div>
<div class="res-status {{#switch: {{{Resource status|}}}
<div class="res-desciption">{{GETSHORTDESC:{{{Page|}}}}}</div>
  |Effective            = success
  |Deprecated            = destructive
  |Under development    = surface-4
  |Waiting for review    = warning
  |Waiting for approval  = emphasized
}}">{{{Resource status|}}} {{!}} {{{Status change date|}}}</div>
<div class="res-description">{{GETSHORTDESC:{{{Page|}}}}}</div>
<div class="res-process">{{#arraymap: {{{Business unit|}}},{{{Stream|}}},{{{Channel|}}}
<div class="res-process">{{#arraymap: {{{Business unit|}}},{{{Stream|}}},{{{Channel|}}}
   |,
   |,
Line 15: Line 24:
  }}</div>
  }}</div>
</td>
</td>
<td class="res-hidden">{{{Task|}}}</td>
<td class="res-hidden">{{{Business unit|}}}</td>
<td class="res-hidden">{{{Business unit|}}}</td>
<td class="res-hidden">{{{Stream|}}}</td>
<td class="res-hidden">{{{Stream|}}}</td>
Line 22: Line 32:
<td class="res-hidden">{{{Resource status|}}}</td>
<td class="res-hidden">{{{Resource status|}}}</td>
<td class="res-hidden">{{{Status change date|}}}</td>
<td class="res-hidden">{{{Status change date|}}}</td>
</tr>
<td class="res-hidden">{{{Tag|}}}</td>
</tr></includeonly>

Latest revision as of 16:18, 24 April 2023