Template:Model infobox: Difference between revisions
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 | <div class="model-infobox-row"> | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
<div>'''Name'''</div> | <div>'''Name'''</div> | ||
Line 12: | Line 12: | ||
</div> | </div> | ||
<div | <div class="model-infobox-row"> | ||
{{#if:{{{creator|}}}| | {{#if:{{{creator|}}}| | ||
<div>'''Creator'''</div> | <div>'''Creator'''</div> | ||
Line 20: | Line 20: | ||
</div> | </div> | ||
<div | <div class="model-infobox-row"> | ||
{{#if:{{{ | {{#if:{{{task|}}}| | ||
<div>''' | <div>'''Task'''</div> | ||
<div style="padding-left: 10px; padding-right: 10px;"></div> | <div style="padding-left: 10px; padding-right: 10px;"></div> | ||
<div>{{{ | <div>{{{task}}}</div> | ||
}} | }} | ||
</div> | </div> | ||
<div | <div class="model-infobox-row"> | ||
{{#if:{{{ | {{#if:{{{library|}}}| | ||
<div>''' | <div>'''Library'''</div> | ||
<div style="padding-left: 10px; padding-right: 10px;"></div> | <div style="padding-left: 10px; padding-right: 10px;"></div> | ||
<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 = }}