Template:FOSS/Infobox: Difference between revisions

From Wikibase
Jump to navigation Jump to search
FOSS infobox — renders the sitelinked item's statements (issue #26) (via create-page on MediaWiki MCP Server)
 
logo row (from the page skeleton), documentation row; drop the stale "Latest version" row (via update-page on MediaWiki MCP Server)
Line 2: Line 2:
|-
|-
! 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|}}}
|-
|-
| Category || {{#statements:instance of}}
| Category || {{#statements:instance of}}
Line 12: Line 14:
|-
|-
| Programming language || {{#statements:programming language}}
| Programming language || {{#statements:programming language}}
|-
| Latest version || {{#statements:software version}}
|-
|-
| Official website || {{#statements:official website}}
| Official website || {{#statements:official website}}
|-
|-
| Source code repository || {{#statements:source code repository}}
| Source code repository || {{#statements:source code repository}}
|-
| Documentation || {{#statements:documentation URL}}
|-
|-
| User interface || {{#statements:user interface}}
| User interface || {{#statements:user interface}}
Line 25: Line 27:
| Replaces || {{#statements:replaces}}
| 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]]). Empty statements render empty rows — not an error. The optional <code>logo</code> parameter (a full <code>[[File:…]]</code> link) is set by the page skeleton when Special:AddSoftware uploaded a logo; without it the row stays empty.</noinclude>

Revision as of 19:39, 21 August 2026

FOSS/Infobox
Category
Developer
License
Operating system
Programming language
Official website
Source code repository
Documentation
User interface
Has use
Replaces

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 optional logo parameter (a full File:… link) is set by the page skeleton when Special:AddSoftware uploaded a logo; without it the row stays empty.