Template:Infobox: Difference between revisions
From The Robot's Guide to Humanity
Created page with "<!-- Template:Infobox --> <includeonly> {{#invoke:Infobox|infobox}} </includeonly> <noinclude> This template is a meta-template used to build Infoboxes. It relies on Lua-based modules and acts as a core infobox wrapper. == Usage == To use this template, call it from another template that sets the parameters. For instance, within another template: <nowiki>{{Infobox |name = Example |image = Example.jpg |caption = This is an example infobox |... }}</nowiki> == See also =..." |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- Template:Infobox --> | <!-- Template:Infobox --> | ||
<includeonly> | <includeonly> | ||
{{# | {| class="infobox" style="width:22em; border:1px solid #aaa; background:#f9f9f9; font-size:90%;" | ||
|- | |||
! colspan="2" style="text-align:center; background:#f2f2f2; font-size:110%;" | {{{name|}}} | |||
|- | |||
{{#if:{{{image|}}}|{{!}} colspan="2" style="text-align:center;" | [[File:{{{image}}}|200px|{{{caption|}}}]]|}} | |||
{{#if:{{{caption|}}}|{{!}}-{{!}} colspan="2" style="text-align:center; font-style:italic;" | {{{caption}}}|}} | |||
{{#if:{{{developer|}}}|{{!}}-{{!}} style="text-align:left; background:#f2f2f2;"|Developer{{!}}{{{developer}}}|}} | |||
{{#if:{{{date_created|}}}|{{!}}-{{!}} style="text-align:left;"|Date Created{{!}}{{{date_created}}}|}} | |||
{{#if:{{{genre|}}}|{{!}}-{{!}} style="text-align:left; background:#f2f2f2;"|Genre{{!}}{{{genre}}}|}} | |||
{{#if:{{{license|}}}|{{!}}-{{!}} style="text-align:left;"|License{{!}}{{{license}}}|}} | |||
{{#if:{{{language|}}}|{{!}}-{{!}} style="text-align:left; background:#f2f2f2;"|Language{{!}}{{{language}}}|}} | |||
{{#if:{{{website|}}}|{{!}}-{{!}} style="text-align:left;"|Website{{!}}{{{website}}}|}} | |||
|} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
This | This is a basic Infobox template for AI-related articles. | ||
== Usage == | == Usage == | ||
<nowiki>{{Infobox | <nowiki>{{Infobox | ||
|name = | | name = | ||
|image = | | image = | ||
|caption = | | caption = | ||
| | | developer = | ||
| date_created = | |||
| genre = | |||
| license = | |||
| language = | |||
| website = | |||
}}</nowiki> | }}</nowiki> | ||
== | == Parameters == | ||
* | * <code>name</code>: Name of the subject. | ||
* | * <code>image</code>: Filename of the image (e.g., Example.jpg). | ||
* <code>caption</code>: Caption for the image. | |||
* <code>developer</code>: Developer or organization responsible. | |||
* <code>date_created</code>: When it was created. | |||
* <code>genre</code>: Type or category (e.g., Large Language Model). | |||
* <code>license</code>: License type. | |||
* <code>language</code>: Supported language(s). | |||
* <code>website</code>: Official website URL. | |||
</noinclude> | </noinclude> |
Revision as of 20:13, 5 December 2024
This is a basic Infobox template for AI-related articles.
Usage
{{Infobox | name = | image = | caption = | developer = | date_created = | genre = | license = | language = | website = }}
Parameters
name
: Name of the subject.image
: Filename of the image (e.g., Example.jpg).caption
: Caption for the image.developer
: Developer or organization responsible.date_created
: When it was created.genre
: Type or category (e.g., Large Language Model).license
: License type.language
: Supported language(s).website
: Official website URL.