Template:Section divider: Difference between revisions
Template page
More actions
Created page with "<!-- Template:Section divider -------------------- Template to add a section divider Have to use <div> because <hr> are not semantically correct for non-text elements @param {string} 1 Label text in the section divider @return {string} wikitext of the section divider --><includeonly><!-- --><div class="tg-section-divider">{{#if:{{{1|}}}|<span>{{{1}}}</span>}}</div><!-- --><templatestyles src="Template:Section divider/styles.css"/><!-- --></includeonly><!-- --><noincl..." |
No edit summary |
||
Line 11: | Line 11: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
<div class="tg-section-divider">{{#if:{{{1|}}}|<span>{{{1}}}</span>}}</div><!-- | |||
--><templatestyles src="Template:Section divider/styles.css"/><!-- | --><templatestyles src="Template:Section divider/styles.css"/><!-- | ||
--></includeonly><!-- | --></includeonly><!-- |
Latest revision as of 19:25, 7 June 2025
Add a section divider
Usage
{{Section divider}}
gives: