Template:Press: Difference between revisions
From MoHA Wiki
mNo edit summary |
No edit summary |
||
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> | ||
< | <table> | ||
< | <tr> | ||
{{#if:{{{Press Description|}}}|< | <th>Author:</th> | ||
}}< | <td><ul>{{#arraymap:{{{Press Author|}}}|;|@@@|<li>@@@</li>|}}</ul></td> | ||
{{#if: {{{Event name|}}}|< | </tr> | ||
</ | <tr> | ||
<th>Link:</th> | |||
<td>[{{{Press URL|}}} {{{Press Headline|}}}]</td> | |||
</tr><!-- | |||
-->{{#if:{{{Press Description|}}}|<tr> | |||
<th>Description:</th> | |||
<td>{{{Press Description|}}}</td> | |||
</tr> | |||
}}<!-- | |||
-->{{#if: {{{Event name|}}}|<tr> | |||
<th>Event:</th> | |||
<td><ul>{{#arraymap: {{{Event name|}}}|;|@@@|<li>[[@@@]]</li>|}}</ul></td> | |||
</tr> | |||
}} | }} | ||
</div> | </div> |