Template:Featured articles: Difference between revisions
No edit summary |
m Reverted edits by PawPatroler (talk) to last revision by Eli Tag: Rollback |
||
| (7 intermediate revisions by 2 users not shown) | |||
| 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: 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|}}} | '''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 6: | Line 6: | ||
<nowiki> | <nowiki> | ||
{{Featured articles | [[article1]] | [[article2]] | [[article3]] | [[article4]] | [[article5]] }}</nowiki> | {{Featured articles | ||
| [[article1]] | |||
| [[article2]] | |||
| [[article3]] | |||
| [[article4]] | |||
| [[article5]] | |||
| [[article6]] | |||
| [[article7]] | |||
| [[article8]] | |||
}}</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 == | ||
{{Featured articles | {{Featured articles | ||
| {{KRZ}} | | {{KRZ}} | ||
| [[Márquez Farmhouse]] | | [[Márquez Farmhouse]] | ||