Template:Press: Difference between revisions
From MoHA Wiki
mNo edit summary |
No edit summary |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 26: | 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>Author | <table class="p-0 border-0"> | ||
< | <tr> | ||
< | <td>Author</td> | ||
{{#if: {{{Event name|}}}|< | <td><ul>{{#arraymap:{{{Press Author|}}}|;|@@@|<li>@@@</li>|}}</ul></td> | ||
<ul> | </tr> | ||
{{#arraymap: {{{Event name|}}} | <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> |