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; 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|}}} | &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|}}}
 
</div><noinclude>
 
</div><noinclude>
  
Line 12: Line 12:
 
| [[article4]]
 
| [[article4]]
 
| [[article5]]
 
| [[article5]]
 +
| [[article6]]
 
}}</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 6 articles – ''as links'' – as arguments.
  
 
== Example ==
 
== Example ==

Revision as of 15:44, 1 December 2018

Featured articles: {{{1}}}

Usage

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

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

Example

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