Difference between revisions of "Template:Featured articles"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user 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|}}} | &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|}}}{{#if: {{{6|}}} | &middot; |}}{{{6|}}}{{#if: {{{7|}}} | &middot; |}}{{{7|}}}{{#if: {{{8|}}} | &middot; |}}{{{8|}}}
 
</div><noinclude>
 
</div><noinclude>
  
Line 12: Line 12:
 
| [[article4]]
 
| [[article4]]
 
| [[article5]]
 
| [[article5]]
 +
| [[article6]]
 +
| [[article7]]
 +
| [[article8]]
 
}}</nowiki>
 
}}</nowiki>
  
Takes a minimum of 1 and a maximum of 5 articles – ''as links'' – as arguments.
+
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