Difference between revisions of "Template:Featured articles"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<div style="text-align: center; width: max-content; margin: 20px auto 0; padding: 0 20px; border: 1px solid #242d3c; box-shadow: 1px 1px 0px #242d3c;">
+
<div style="text-align: center; width: max-content; max-width: 90%; margin: 20px auto 0; padding: 0 20px; border: 1px solid #242d3c; box-shadow: 1px 1px 0px #242d3c;">
 
'''Featured articles:''' {{{1}}}{{#if: {{{2|}}} | &middot; |}}{{{2|}}}{{#if: {{{3|}}} | &middot; |}}{{{3|}}}{{#if: {{{4|}}} | &middot; |}}{{{4|}}}{{#if: {{{5|}}} | &middot; |}}{{{5|}}}
 
'''Featured articles:''' {{{1}}}{{#if: {{{2|}}} | &middot; |}}{{{2|}}}{{#if: {{{3|}}} | &middot; |}}{{{3|}}}{{#if: {{{4|}}} | &middot; |}}{{{4|}}}{{#if: {{{5|}}} | &middot; |}}{{{5|}}}
 
</div><noinclude>
 
</div><noinclude>

Revision as of 17:41, 1 July 2018

Featured articles: {{{1}}}

Usage

{{Featured articles
| [[article1]]
| [[article2]]
| [[article3]]
| [[article4]]
| [[article5]]
}}

Takes a minimum of 1 and a maximum of 5 articles – as links – as arguments.

Example

Featured articles: Kentucky Route Zero · Márquez Farmhouse · Here And There Along The Echo · Articles