Jump to content

Template:Webpage: Difference between revisions

From Wikibase
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)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
'''Web page''' — part of the [[Source:Main|sources collection]]. Created via [[Special:AddSource]].
'''Web page''' — part of the [[Source:Main|sources collection]]. Created via [[Special:AddSource]].
</blockquote>
</blockquote>
{| 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 11: Line 11:
{{#statement-row:URL|URL}}
{{#statement-row:URL|URL}}
{{#quotations-of:}}
{{#quotations-of:}}
{{#source-archive:}}
|}
|}
<includeonly>[[Category:Sources]]</includeonly>
<includeonly>[[Category:Sources]]</includeonly>
<noinclude>This template reads its data from the item sitelinked to the page (see [[Help:Contributing/semanticDynamicContent]]). Empty statements render empty rows — not an error. The Quotations row is emitted by <code>{{#quotations-of:}}</code> only when quotation items cite this source.</noinclude>
<noinclude>This template 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 Quotations row is emitted by <code>{{#quotations-of:}}</code> only when quotation items cite this source; the Archived text row by <code>{{#source-archive:}}</code> only when the <code>Source:&lt;label&gt;/archivedText</code> subpage exists.</noinclude>

Latest revision as of 10:55, 21 November 2026

Web page — part of the sources collection. Created via Special:AddSource.

Webpage




This template reads its data from the item sitelinked to the page (see Help:Contributing/semanticDynamicContent). Rows with no data are hidden (). The Quotations row is emitted by only when quotation items cite this source; the Archived text row by only when the Source:<label>/archivedText subpage exists.