Template:MediaForIncident: Difference between revisions
| [unchecked revision] | [unchecked revision] |
Cargo media: auto-embed media tagged to this incident |
PF-free self-hiding (Cargo intro/default, no #if) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#cargo_query:tables=Media|fields=platform,url,embed,caption,mdate,state,agents,incidents,status,_pageName|where=incidents HOLDS '{{FULLPAGENAME}}'|format=template|template=Media/card|order by=mdate desc|limit=100|intro=<div class="ic-video-gallery">|outro=</div>|default= | <includeonly>{{#cargo_query:tables=Media|fields=platform,url,embed,caption,mdate,state,agents,incidents,status,_pageName|where=incidents HOLDS '{{FULLPAGENAME}}'|format=template|template=Media/card|order by=mdate desc|limit=100|intro=<div class="ic-media-block"><div class="mw-heading mw-heading2"><h2>Media</h2></div><div class="ic-video-gallery">|outro=</div></div>|default=}}</includeonly><noinclude>Auto-embeds Media tagged to this incident (Cargo intro/default self-hides when none). Place on a incident page: <code><nowiki>{{MediaForIncident}}</nowiki></code>. [[Category:Templates]]</noinclude> | ||
Latest revision as of 18:39, 10 July 2026
Auto-embeds Media tagged to this incident (Cargo intro/default self-hides when none). Place on a incident page: {{MediaForIncident}}.