Template:Press: Difference between revisions
From MoHA Wiki
(Created page with "<includeonly><div class="d-none"> {{#set: |Press Headline={{{Press Headline|}}} |Press Description={{{Press Description|}}} |Press Pull Quote Long={{{Press Pull Quote Long|}}} |Press Pull Quote Short={{{Press Pull Quote Short|}}} |Press Author={{{Press Author|}}}|+sep=; |Press Type={{{Press Type|}}} |Press Date={{{Press Date|}}} |Press URL={{{Press URL|}}} |Press Publication={{{Press Publication|}}} |Press Video Link={{{Press Video Link|}}} |Press Highlight={{{Press High...") |
No edit summary |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|Press Video Link={{{Press Video Link|}}} | |Press Video Link={{{Press Video Link|}}} | ||
|Press Highlight={{{Press Highlight|}}} | |Press Highlight={{{Press Highlight|}}} | ||
|Airtable | |Airtable Record ID={{{Airtable Record ID|}}}|+sep=; | ||
|Event name={{{Event name|}}}|+sep=; | |||
}} | }} | ||
{{DISPLAYTITLE:{{{Press Headline|}}}}} | |||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
{{#if: {{{Event name|}}} | |||
|{{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"> | ||
<div class="moha-infobox-section"> | <div class="moha-infobox-section"> | ||
<div class="moha-infobox-section-header">{{{Press | <div class="moha-infobox-section-header">{{{Press Publication|}}}</div> | ||
<div class="moha-infobox-section-body"> | <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> | |||
<table class="p-0 border-0"> | |||
<tr> | |||
<td>Author</td> | |||
<td><ul>{{#arraymap:{{{Press Author|}}}|;|@@@|<li>@@@</li>|}}</ul></td> | |||
</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> | ||
</div> | </div><!-- | ||
-->{{#if:{{{Press Pull Quote Long|}}}| | |||
<blockquote>{{{Press Pull Quote Long|}}}</blockquote> | |||
}} | |||
</includeonly> | </includeonly> |