Template:FOSS/Infobox: Difference between revisions
Appearance
infobox: hide empty rows ({{#statement-row:}}) |
Add wb-infobox class to the infobox table (media credits / open-link exclusion) (via update-page on MediaWiki MCP Server) |
||
| (One intermediate revision 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}} | ||
| Line 16: | Line 16: | ||
{{#statement-row:Succeeds/can replace|replaces}} | {{#statement-row:Succeeds/can replace|replaces}} | ||
|} | |} | ||
<noinclude>This infobox reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). | <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.