Template:Section

From 2d4chan
Revision as of 16:03, 7 June 2017 by 162.246.4.98 (talk) (Created page with "<h{{#if: {{{1|}}} | {{#ifexpr: {{{1}}}>=2 | {{{1}}} | 2 }} | 2}} {{#if: {{{3|}}} | style="{{{3}}}" | }}> {{#if: {{{2|}}} | {{{2}}} | }} </h{{#if: {{{1|}}} | {{#ifexpr: {{{1}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is intended as a drop-in replacement for Section Headers, with the added ability to change the header's style. Also provides slight utility in preventing the use of =Section Title=, which should never be used, and lets you express depth as a number, rather than counting equals signs.

Arguments:

  1. Header level; default 2, minimum 2.
  2. Header text, default blank.
  3. Header style, default blank.