Template:Model infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 21: Line 21:
{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|
{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|
<div class="model-infobox-cell">'''User / Organization'''</div>
<div class="model-infobox-cell">'''User / Organization'''</div>
<div class="model-infobox-cell">{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization::https://huggingface.co/{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}}</div>
<div class="model-infobox-cell">{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization url::https://huggingface.co/{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}}</div>
}}
}}
</div>
</div>
Line 88: Line 88:
</div>
</div>


{{#if:{{#explode:{{{hugging-face-uri|}}}|/|1}}|[[Has model user-organization::{{#explode:{{{hugging-face-uri|}}}|/|0}}|{{#explode:{{{hugging-face-uri|}}}|/|0}}]]|}}
{{#arraymap:{{{all-tags|}}}|,|x|[[Has all-tags::x]]}}
{{#arraymap:{{{all-tags|}}}|,|x|[[Has all-tags::x]]}}
{{#arraymap:{{{all-lang-tags|}}}|,|x|[[Has all-lang-tags::x]]}}
{{#arraymap:{{{all-lang-tags|}}}|,|x|[[Has all-lang-tags::x]]}}