Difference between revisions of "Template:Featured articles"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<div style="text-align: center; width: max-content; max-width: 80%; 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: 80%; margin: 20px auto 0; padding: 0 20px; border: 1px solid #242d3c; box-shadow: 1px 1px 0px #242d3c;"> | ||
− | '''Featured articles:''' {{{1}}}{{#if: {{{2|}}} | · |}}{{{2|}}}{{#if: {{{3|}}} | · |}}{{{3|}}}{{#if: {{{4|}}} | · |}}{{{4|}}}{{#if: {{{5|}}} | · |}}{{{5|}}}{{#if: {{{6|}}} | · |}}{{{6|}}} | + | '''Featured articles:''' {{{1}}}{{#if: {{{2|}}} | · |}}{{{2|}}}{{#if: {{{3|}}} | · |}}{{{3|}}}{{#if: {{{4|}}} | · |}}{{{4|}}}{{#if: {{{5|}}} | · |}}{{{5|}}}{{#if: {{{6|}}} | · |}}{{{6|}}}{{#if: {{{7|}}} | · |}}{{{7|}}}{{#if: {{{8|}}} | · |}}{{{8|}}} |
</div><noinclude> | </div><noinclude> | ||
Line 13: | Line 13: | ||
| [[article5]] | | [[article5]] | ||
| [[article6]] | | [[article6]] | ||
+ | | [[article7]] | ||
+ | | [[article8]] | ||
}}</nowiki> | }}</nowiki> | ||
− | Takes a minimum of 1 and a maximum of | + | Takes a minimum of 1 and a maximum of 8 articles – ''as links'' – as arguments. |
== Example == | == Example == |
Latest revision as of 02:24, 19 July 2023
Featured articles: {{{1}}}
Usage[edit]
{{Featured articles | [[article1]] | [[article2]] | [[article3]] | [[article4]] | [[article5]] | [[article6]] | [[article7]] | [[article8]] }}
Takes a minimum of 1 and a maximum of 8 articles – as links – as arguments.
Example[edit]
Featured articles: Kentucky Route Zero · Márquez Farmhouse · Here And There Along The Echo · Articles