|
|
| Line 141: |
Line 141: |
| | | | |
| | --> | | --> |
| − | <div class="news-metadata render-late">{{{News attachments|}}} | + | <div class="news-metadata render-late"> |
| − | {{#if: {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] }} |
| + | {{{News attachments|}}} |
| − | <p>'''Attachments:'''</p>}}
| |
| − | {{#tag: gallery
| |
| − | |{{#arraymap: {{#ask:
| |
| − | [[-Has subobject::{{FULLPAGENAME}}]]
| |
| − | [[Contains picture::+]]
| |
| − | [[Is attachment::true]]
| |
| − | |mainlabel=-
| |
| − | |headers=hide
| |
| − | |?Contains picture
| |
| − | |?Link text
| |
| − | |mainlabel=-
| |
| − | |format=array
| |
| − | |sep=;
| |
| − | |manysep=;
| |
| − | |propsep=*
| |
| − | |link=none
| |
| − | }}
| |
| − | |;
| |
| − | |@
| |
| − | |{{#explode:@|*|0}}{{!}}{{#explode:@|*|1}}
| |
| − | |\n
| |
| − | }}
| |
| − | }}<!--
| |
| − | | |
| − | -->{{#arraymap: {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Contains wiki link::+]] |mainlabel=- |headers=hide |?Inclusion |?Contains wiki link |?Link text |link=none |format=array |sep=; |propsep=* }}
| |
| − | |;
| |
| − | |$$$
| |
| − | |
| |
| − | {{#if:{{#explode:$$$|*|0}}|{{#switch:{{#explode:$$$|*|0}}
| |
| − | |Insert=
| |
| − | <div>{{:{{#explode:$$$|*|1}}}}</div>
| |
| − | |#default=
| |
| − | * [[{{#explode:$$$|*|1}}|{{#if:{{#explode:$$$|*|2}}|{{#explode:$$$|*|2}}|{{#explode:$$$|*|1}}}}]]
| |
| − | }}
| |
| − | |
| |
| − | * [[{{#explode:$$$|*|1}}|{{#if:{{#explode:$$$|*|2}}|{{#explode:$$$|*|2}}|{{#explode:$$$|*|1}}}}]]
| |
| − | }}
| |
| − | |\n
| |
| − | }}<!--
| |
| − | | |
| − | -->{{#arraymap: {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Contains external link::+]] |mainlabel=- |headers=hide |?Contains external link |?Link text |link=none |format=array |sep=; |propsep=* }}
| |
| − | |;
| |
| − | |$$$
| |
| − | |{{#ifeq: {{{News attachment type|}}}
| |
| − | |Video
| |
| − | |
| |
| − | <div>{{#evu:{{#explode:$$$|*|0}}}}</div>
| |
| − | |
| |
| − | * [{{#replace:{{#explode:$$$|*|0}}| |_}} {{#explode:$$$|*|1}}]
| |
| − | }}
| |
| − | |\n
| |
| − | }} | |
| | </div> | | </div> |
| | <!-- | | <!-- |