Template:Section: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
Created page with "<h{{#if: {{{1|}}} | {{#ifexpr: {{{1}}}>=2 | {{{1}}} | 2 }} | 2}} {{#if: {{{3|}}} | style="{{{3}}}" | }}> {{#if: {{{2|}}} | {{{2}}} | }} </h{{#if: {{{1|}}} | {{#ifexpr: {{{1}}}..."
 
imported>Administrator
m 1 revision imported
 
(No difference)

Latest revision as of 18:19, 24 June 2023

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.