Jump to content

Template:FOSS/Infobox: Difference between revisions

From Wikibase
logo cell falls back to the item's image statement ({{#item-image:}}) (via update-page on MediaWiki MCP Server)
Add wb-infobox class to the infobox table (media credits / open-link exclusion) (via update-page on MediaWiki MCP Server)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right;clear:right;width:300px;margin:0 0 1em 1em;"
{| class="wikitable wb-infobox" style="float:right;clear:right;width:300px;margin:0 0 1em 1em;"
|-
|-
! colspan="2" style="background:#f8f9fa;text-align:center;" | {{PAGENAME}}
! colspan="2" style="background:#f8f9fa;text-align:center;" | {{PAGENAME}}
|-
|-
| colspan="2" style="text-align:center;" | {{{logo|{{#item-image:}}}}}
| colspan="2" style="text-align:center;" | {{{logo|{{#item-image:}}}}}
|-
{{#statement-row:Instance of|instance of}}
| Instance of || {{#statements:instance of}}
{{#statement-row:Developed by|developer}}
|-
{{#statement-row:Licence|license}}
| Developed by || {{#statements:developer}}
{{#statement-row:Operating system|operating system}}
|-
{{#statement-row:Programming language|programming language}}
| Licence || {{#statements:license}}
{{#statement-row:Official website|official website}}
|-
{{#statement-row:Source code repository|source code repository}}
| Operating system || {{#statements:operating system}}
{{#statement-row:Documentation|documentation URL}}
|-
{{#statement-row:User interface|user interface}}
| Programming language || {{#statements:programming language}}
{{#statement-row:Usecase|has use}}
|-
{{#statement-row:Succeeds/can replace|replaces}}
| Official website || {{#statements:official website}}
|-
| Source code repository || {{#statements:source code repository}}
|-
| Documentation || {{#statements:documentation URL}}
|-
| User interface || {{#statements:user interface}}
|-
| Usecase || {{#statements:has use}}
|-
| Succeeds/can replace || {{#statements:replaces}}
|}
|}
<noinclude>This infobox reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Empty statements render empty rows — not an error. The image cell shows the item's <code>image</code> statement via <code>{{#item-image:}}</code>; the optional <code>logo</code> parameter (a full <code>[[File:…]]</code> link) overrides it when set by hand.</noinclude>
<noinclude>This infobox reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Rows with no data are hidden (<code>{{#statement-row:}}</code>). The image cell shows the item's <code>image</code> statement via <code>{{#item-image:}}</code>; the optional <code>logo</code> parameter (a full <code>[[File:…]]</code> link) overrides it when set by hand.</noinclude>

Latest revision as of 10:55, 21 November 2026

FOSS/Infobox






This infobox reads its data from the item sitelinked to the page (see Help:Contributing/semanticDynamicContent). Rows with no data are hidden (). The image cell shows the item's image statement via ; the optional logo parameter (a full File:… link) overrides it when set by hand.