Template:Leglin

Category:Main message boxesCategory:Lua-based iteration templates

Processes for Template:{{Legend-line}} a series of parameter pairs with Module:Iteration,
passing them to a template whose name can be specified with parameter t= (default: Legend-line).
Additional parameters can be passed to the Legend templates by specifying p= and/or w=

Examples:
{{ Leglin | #F0F solid 3px | violet | solid #00F 3px | blue | 3px solid #F00 | red }} (default: Legend-line)

 violet
 blue
 red

{{ Leglin | #F0F | col1 | #F00 | col2 | #0F0 | col3 | #00F | col4 | #0FF | col5 | t = Legend-small }}

  col1
  col2
  col3
  col4
  col5


{{Legend-line}} example

 Paris statistical urban area
 Paris statistical metropolitan area
 département of the Île-de-France région

{{Legend2}} example
 built-up area
 wooded area
 agricultural and unused area

Category:Legend templates#%20
Category:Legend templates Category:Lua-based iteration templates