Jump to content

Template:FOSS/Infobox: Difference between revisions

From Wikibase
FOSS infobox — renders the sitelinked item's statements (issue #26) (via create-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)
 
(6 intermediate revisions by 2 users 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}}
|-
|-
| Category || {{#statements:instance of}}
| colspan="2" style="text-align:center;" | {{{logo|{{#item-image:}}}}}
|-
{{#statement-row:Instance of|instance of}}
| Developer || {{#statements:developer}}
{{#statement-row:Developed by|developer}}
|-
{{#statement-row:Licence|license}}
| License || {{#statements:license}}
{{#statement-row:Operating system|operating system}}
|-
{{#statement-row:Programming language|programming language}}
| Operating system || {{#statements:operating system}}
{{#statement-row:Official website|official website}}
|-
{{#statement-row:Source code repository|source code repository}}
| Programming language || {{#statements:programming language}}
{{#statement-row:Documentation|documentation URL}}
|-
{{#statement-row:User interface|user interface}}
| Latest version || {{#statements:software version}}
{{#statement-row:Usecase|has use}}
|-
{{#statement-row:Succeeds/can replace|replaces}}
| Official website || {{#statements:official website}}
|-
| Source code repository || {{#statements:source code repository}}
|-
| User interface || {{#statements:user interface}}
|-
| Has use || {{#statements:has use}}
|-
| Replaces || {{#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.</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.