Difference between revisions of "Template:FeaturedRecentEssay"
From Buddha-Nature
(// Edit via Wikitext Extension for VSCode) |
(// Edit via Wikitext Extension for VSCode) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="explore-featured row d-flex depth-1 off-white">{{#widget:DivWithBackImg | <includeonly><div class="explore-featured row d-flex depth-1 off-white">{{#widget:DivWithBackImg | ||
− | |src=https://commons.tsadra.org/thumb.php?f={{urlencode:{{#titleparts:{{PAGENAME:{{#show: {{{ page | }}}|?ArticleImage# }}}}}}}}&w= | + | |src=https://commons.tsadra.org/thumb.php?f={{urlencode:{{#titleparts:{{PAGENAME:{{#show: {{{ page | }}}|?ArticleImage# }}}}}}}}&w=600 |
|imageposition=center | |imageposition=center | ||
|classes={{#switch: {{{ imageposition | }}} | |classes={{#switch: {{{ imageposition | }}} | ||
Line 10: | Line 10: | ||
}} | }} | ||
<div class="col-lg-8" style="padding: 1rem 2rem;"> | <div class="col-lg-8" style="padding: 1rem 2rem;"> | ||
− | <div class="header">[[{{{ page | }}}|{{#show: {{{ page | }}}|?ArticleTitle }}]]</div> | + | <div class="mt-2 muted font-italic">{{#show: {{{ page | }}}|?PubDate }}</div> |
+ | <div class="header mt-2">[[{{{ page | }}}|{{#show: {{{ page | }}}|?ArticleTitle }}]]</div> | ||
<div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}} | <div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}} | ||
<div class="mt-2">[[{{{ page | }}}|Read more...]]</div> | <div class="mt-2">[[{{{ page | }}}|Read more...]]</div> |