Template:Model infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 35: Line 35:
{{#if:{{{library|}}}|
{{#if:{{{library|}}}|
<div class="model-infobox-cell">'''Library'''</div>
<div class="model-infobox-cell">'''Library'''</div>
<div class="model-infobox-cell">{{#arraymap:{{{library|}}}|,|x|[[Has task::library]]}}</div>
<div class="model-infobox-cell">{{#arraymap:{{{library|}}}|,|x|[[Has library::x]]}}</div>
}}
}}
</div>
</div>
Line 42: Line 42:
{{#if:{{{dataset|}}}|
{{#if:{{{dataset|}}}|
<div class="model-infobox-cell">'''Dataset'''</div>
<div class="model-infobox-cell">'''Dataset'''</div>
<div class="model-infobox-cell">{{#arraymap:{{{dataset|}}}|,|x|[[Has task::dataset]]}}</div>
<div class="model-infobox-cell">{{#arraymap:{{{dataset|}}}|,|x|[[Has dataset::x]]}}</div>
}}
}}
</div>
</div>
Line 56: Line 56:
{{#if:{{{paper|}}}|
{{#if:{{{paper|}}}|
<div class="model-infobox-cell">'''Paper'''</div>
<div class="model-infobox-cell">'''Paper'''</div>
<div class="model-infobox-cell">{{#arraymap:{{{paper|}}}|,|x|[[Has task::paper]]}}</div>
<div class="model-infobox-cell">{{#arraymap:{{{paper|}}}|,|x|[[Has paper::x]]}}</div>
}}
}}
</div>
</div>
Line 63: Line 63:
{{#if:{{{related-to|}}}|
{{#if:{{{related-to|}}}|
<div class="model-infobox-cell">'''Related to'''</div>
<div class="model-infobox-cell">'''Related to'''</div>
<div class="model-infobox-cell">{{#arraymap:{{{related-to|}}}|,|x|[[Has task::related-to]]}}</div>
<div class="model-infobox-cell">{{#arraymap:{{{related-to|}}}|,|x|[[Has related-to::x]]}}</div>
}}
}}
</div>
</div>
Line 70: Line 70:
{{#if:{{{license|}}}|
{{#if:{{{license|}}}|
<div class="model-infobox-cell">'''License'''</div>
<div class="model-infobox-cell">'''License'''</div>
<div class="model-infobox-cell">{{#arraymap:{{{license|}}}|,|x|[[Has task::license]]}}</div>
<div class="model-infobox-cell">{{#arraymap:{{{license|}}}|,|x|[[Has license::x]]}}</div>
}}
}}
</div>
</div>