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|}}} &bull; {{#time: F j, Y|{{{Press Date|}}}}}</div>
<div class="text-center py-2 border-bottom border-secondary mb-3">{{{Press Type|}}} &bull; {{#time: F j, Y|{{{Press Date|}}}}}</div>
<p>'''Author:''' {{#arraymap:{{{Press Author|}}}|;|@@@|@@@|\s&middot;\s}}</p>
<table>
<p>'''Link:''' [{{{Press URL|}}} {{{Press Headline|}}}]</p>
<tr>
{{#if:{{{Press Description|}}}|<p>'''Description:''' {{{Press Description|}}}
<th>Author:</th>
}}</p>
<td><ul>{{#arraymap:{{{Press Author|}}}|;|@@@|<li>@@@</li>|}}</ul></td>
{{#if: {{{Event name|}}}|<p>'''Event:'''<ul>{{#arraymap: {{{Event name|}}}|;|@@@|<li>[[@@@]]</li>|}}</p>
</tr>
</ul>
<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>

Revision as of 08:07, November 26, 2023