Template:Press: Difference between revisions
From MoHA Wiki
No edit summary |
No edit summary |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
|Event name={{{Event name|}}}|+sep=; | |Event name={{{Event name|}}}|+sep=; | ||
}} | }} | ||
{{DISPLAYTITLE:{{{Press Headline|}}}}} | {{DISPLAYTITLE:{{{Press Headline|}}}}} | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{{#if: {{{Event name|}}} | {{#if: {{{Event name|}}} | ||
|{{Styled | |{{Styled press of|{{#ask: [[{{#explode: {{{Event name|}}}|;|0}}]] |mainlabel=- |?Associated Program |limit=1 |searchlabel= |headers=hide |link=none }}}} | ||
}} | }} | ||
</div><div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4 ml-0 ml-md-3 ml-lg-4"> | </div><div id="moha-infobox" class="col-12 col-md-5 col-lg-4 col-xl-3 mb-4 ml-0 ml-md-3 ml-lg-4"> | ||
Line 27: | Line 26: | ||
<div class="moha-infobox-section-body px-3 pb-3"> | <div class="moha-infobox-section-body px-3 pb-3"> | ||
<div class="text-center py-2 border-bottom border-secondary mb-3">{{{Press Type|}}} • {{#time: F j, Y|{{{Press Date|}}}}}</div> | <div class="text-center py-2 border-bottom border-secondary mb-3">{{{Press Type|}}} • {{#time: F j, Y|{{{Press Date|}}}}}</div> | ||
<p> | <table class="p-0 border-0"> | ||
< | <tr> | ||
{{#if: {{{Event name|}}}|< | <td>Author</td> | ||
<ul> | <td><ul>{{#arraymap:{{{Press Author|}}}|;|@@@|<li>@@@</li>|}}</ul></td> | ||
{{#arraymap: {{{Event name|}}} | </tr> | ||
<tr> | |||
<td>Link</td> | |||
<td>[{{{Press URL|}}} {{{Press Headline|}}}]</td> | |||
</tr><!-- | |||
}} | |||
</ | -->{{#if:{{{Press Description|}}}|<tr> | ||
<td>Description</td> | |||
<td>{{{Press Description|}}}</td> | |||
</tr> | |||
}}<!-- | |||
-->{{#if: {{{Event name|}}}|<tr> | |||
<td>Event</td> | |||
<td><ul>{{#arraymap: {{{Event name|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul></td> | |||
</tr> | |||
}} | }} | ||
</table> | |||
</div> | </div> | ||
</div> | </div> |