Jump to content

Template:YouTubeChannel: Difference between revisions

From Wikibase
Source quotation auto-link row (issue #79) — AI-assisted (opencode) (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)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="border:1px solid #c8ccd1;background:#f8f9fa;padding:0.5em 1em;margin-bottom:1em;">
<div style="border:1px solid #c8ccd1;background:#f8f9fa;padding:0.5em 1em;margin-bottom:1em;">
<blockquote>
<blockquote>
'''YouTube channel''' — part of the [[Source:Main|sources collection]]. Created via [[Special:AddSource]].
'''YouTube channel''' — 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}}
|-
{{#statement-row:Instance of|instance of}}
| Instance of || {{#statements:instance of}}
{{#statement-row:Author(s)|attributed to}}
|-
{{#statement-row:Date|date}}
| Author(s) || {{#statements:attributed to}}
{{#statement-row:URL|URL}}
|-
{{#statement-row:YouTube channel ID|YouTube channel ID}}
| Date || {{#statements:date}}
|-
| URL || {{#statements:URL}}
|-
| YouTube channel ID || {{#statements:YouTube channel ID}}
{{#quotations-of:}}
{{#quotations-of:}}
{{#child-items-of:}}
|}
|}
<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 Videos row by <code>{{#child-items-of:}}</code> only when YouTube-video items are part of this channel.</noinclude>

Latest revision as of 10:55, 21 November 2026

YouTube channel — part of the sources collection. Created via Special:AddSource.

YouTubeChannel




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 Videos row by only when YouTube-video items are part of this channel.