Difference between revisions of "Template:Item List-Start"

From sureai
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{title|}}}|<{{#if: {{{noheader|}}}|div|h2}} style = "height: 50px; border: 0; border-radius: 5px; margin: 0 5px 0 0; padding: 0 5px; display: flex; flex-...")
 
m (Add spacing between title and content)
Line 1: Line 1:
<includeonly>{{#if: {{{title|}}}|<{{#if: {{{noheader|}}}|div|h2}} style = "height: 50px; border: 0; border-radius: 5px; margin: 0 5px 0 0; padding: 0 5px; display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; font-weight: bold; font-size: 1.75em; background: RGB(73, 73, 59); color: white; font-family: sans-serif; ">{{{title}}}</{{#if: {{{noheader|}}}|div|h2}}>|}}
+
<includeonly>{{#if: {{{title|}}}|<{{#if: {{{noheader|}}}|div|h2}} style = "height: 50px; border: 0; border-radius: 5px; margin: 0 5px 5px 0; padding: 0 5px; display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; font-weight: bold; font-size: 1.75em; background: RGB(73, 73, 59); color: white; font-family: sans-serif; ">{{{title}}}</{{#if: {{{noheader|}}}|div|h2}}>|}}
 
<div style="display: flex; flex-flow: row wrap; align-items: stretch; "></includeonly><noinclude>
 
<div style="display: flex; flex-flow: row wrap; align-items: stretch; "></includeonly><noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 18:16, 13 July 2017

Usage

This template is used to begin an Item List. Add items to the item list with Template:Item List-Item and close it with Template:Item List-End. For more info on how to use an item list, check Template:Item List-Item.

Parameters

  • title: If present, adds an h2 title to the top of the container.
  • noheader: If nonempty, makes the title created with the parameter above a normal div instead of an h2, making it not appear in the Table of Contents.