Template:Model infobox: Difference between revisions

From AI Wiki
No edit summary
No edit summary
Line 4: Line 4:
<div style="display: flex; flex-direction: column; width: 400px">
<div style="display: flex; flex-direction: column; width: 400px">


<div style="width: 100%; display: flex; flex-direction: row; justify-content: flex-start">
<div class="model-infobox-row">
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
<div>'''Name'''</div>
<div>'''Name'''</div>
Line 12: Line 12:
</div>
</div>


<div style="width: 100%; display: flex; flex-direction: row; justify-content: flex-start">
<div class="model-infobox-row">
{{#if:{{{creator|}}}|
{{#if:{{{creator|}}}|
<div>'''Creator'''</div>
<div>'''Creator'''</div>
Line 20: Line 20:
</div>
</div>


<div style="width: 100%; display: flex; flex-direction: row; justify-content: flex-start">
<div class="model-infobox-row">
{{#if:{{{tasks|}}}|
{{#if:{{{task|}}}|
<div>'''Tasks'''</div>
<div>'''Task'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{tasks}}}</div>
<div>{{{task}}}</div>
}}
}}
</div>
</div>


<div style="width: 100%; display: flex; flex-direction: row; justify-content: flex-start">
<div class="model-infobox-row">
{{#if:{{{libraries|}}}|
{{#if:{{{library|}}}|
<div>'''Libraries'''</div>
<div>'''Library'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{libraries}}}</div>
<div>{{{library}}}</div>
}}
</div>
 
<div class="model-infobox-row">
{{#if:{{{dataset|}}}|
<div>'''Dataset'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{dataset}}}</div>
}}
</div>
 
<div class="model-infobox-row">
{{#if:{{{language|}}}|
<div>'''Language'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{language}}}</div>
}}
</div>
 
<div class="model-infobox-row">
{{#if:{{{paper|}}}|
<div>'''Paper'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{paper}}}</div>
}}
</div>
 
<div class="model-infobox-row">
{{#if:{{{related-to|}}}|
<div>'''Related to'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{related-to}}}</div>
}}
</div>
 
<div class="model-infobox-row">
{{#if:{{{license|}}}|
<div>'''License'''</div>
<div style="padding-left: 10px; padding-right: 10px;"></div>
<div>{{{license}}}</div>
}}
}}
</div>
</div>

Revision as of 10:03, 31 January 2023

Usage

Use this infobox for defining models.

{{model infobox
| name = 
| hf-name = 
| creator = 
| task =  
| library = 
| dataset = 
| language = 
| paper = 
| related-to = 
| license = 
}}