Anton Krom (talk | contribs) (Created page with "Category:Resources") |
Anton Krom (talk | contribs) No edit summary |
||
| (48 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="document-data"> | |||
[[Category:Resources]] | [[Category:Resources]] | ||
{{SHORTDESC: {{{Has short description|}}}}} | |||
{{#set: | |||
|Business unit={{{Business unit}}} | |||
|Stream={{{Stream|}}} | |||
|Channel={{{Channel|}}} | |||
|Task={{{Task|}}} | |||
|Resource scope={{{Resource scope|}}} | |||
|Resource type={{{Resource type}}} | |||
|Resource format={{{Resource format}}} | |||
|Resource status={{{Resource status}}} | |||
|Status change date={{{Status change date|}}} | |||
|Resource URL={{#switch:{{{Resource scope|}}}|Local wiki page={{fullurl:{{FULLPAGENAME}}}}|#default={{{Resource URL|}}}}} | |||
|Tag={{lc:{{{Tags|}}}}}|+sep=, | |||
}} | |||
{{#if: {{{Attached resources|}}}|<div id="attached-resources"> | |||
<h2 class="section-heading"><span class="section-indicator citizen-ui-icon mw-ui-icon-wikimedia-collapse"></span><span>Attached resources</span></h2><section class="section-collapsible" id=""><ul>{{{Attached resources|}}}</ul></section></div> | |||
}} | |||
</div> | |||
<div class="resource-data"> | |||
<div class="process"> | |||
{{#arraymap: Business unit,Stream,Channel | |||
|, | |||
|@@@ | |||
|{{{@@@|}}} | |||
|\s{{!}}\s | |||
}} | |||
</div> | |||
<div class="status"> | |||
{{{Resource status}}} {{!}} {{#ifeq: {{#time:Y|{{{Status change date|}}}}}|{{CURRENTYEAR}}|{{#time:M j|{{{Status change date|}}}}}|{{#time:M j, Y|{{{Status change date|}}}}}}} | |||
</div> | |||
<div class="type"> | |||
{{{Resource type}}} {{!}} {{{Resource format}}} | |||
</div> | |||
</div><!-- | |||
-->{{#if: {{{Task|}}}{{{Tags|}}} | |||
|<div class="task-data"><b>{{{Task|}}}</b> | |||
<div class="tags-data">{{#arraymap: {{{Tags|}}} | |||
|, | |||
|@ | |||
|<span class="res-tag">{{lc:@}}</span> | |||
|\s\s | |||
}}</div> | |||
</div> | |||
}}<!-- | |||
--><div class="contributor-data"><!-- | |||
-->{{#ask: [[{{FULLPAGENAME}}]] | |||
|?Page creator | |||
|format=plainlist | |||
|mainlabel=- | |||
|headers=hide | |||
|intro=<div>Created by:   | |||
|outro=</div> | |||
}}<!-- | |||
-->{{#ask: [[{{FULLPAGENAME}}]] | |||
|?Last editor is | |||
|format=plainlist | |||
|mainlabel=- | |||
|headers=hide | |||
|intro=<div>Last edited by:   | |||
|outro=</div> | |||
}} | |||
</div> | |||
</includeonly><noinclude> | |||
{{template documentation}} | |||
</noinclude> | |||
Latest revision as of 15:56, 24 April 2023
This is the main template for the knowledge base. It allows annotating both wiki pages and external resources.