Template:Article: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
<div id="article-info" class="d-flex flex-column flex-lg-row justify-content-between">{{#switch: {{#arraysize: authors}}
<div id="article-info" class="d-flex flex-column flex-lg-row justify-content-between">{{#switch: {{#arraysize: authors}}
   |0=
   |0=
   |#default=<span>By {{#arrayprint: authors_delimited|,&#32;}} {{#ifexpr: 0{{#arraysize: authors}} > 1|and {{#arrayprint: authors_last}}}}</span>
   |#default=<span>By {{#arrayprint: authors_delimited|,&#32;|@@@|[[@@@]]}} {{#ifexpr: 0{{#arraysize: authors}} > 1|and [[{{#arrayprint: authors_last}}]]}}</span>
}}{{#if: {{{Date Published|}}}
}}<!--
  |<span>Published: {{#time: F j, Y|{{{Date Published|}}}}}</span>
 
-->{{#if: {{{Event|}}}
    |<span>[[{{{Event|}}}]]</span>
  }}<!--
 
-->{{#if: {{{Date Published|}}}
    |<span>Published: {{#time: F j, Y|{{{Date Published|}}}}}</span>
  }}
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 20:32, March 27, 2024