Template:HorizontalRuleImage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Optional width parameter) |
||
Line 1: | Line 1: | ||
<includeonly><div style="user-select: none;">[[File:bg3_content_hr.png| | <includeonly><div style="user-select: none;">[[File:bg3_content_hr.png|{{{1|460}}}px|center|frameless|link=]]</div></includeonly><noinclude> | ||
Insert a center-aligned horizontal rule image, similar to a normal HR (wiki markup: {{code|<nowiki>----</nowiki>}}), but more subtle. Useful when you need to visually break apart some content without creating a new heading/subheading. | Insert a center-aligned horizontal rule image, similar to a normal HR (wiki markup: {{code|<nowiki>----</nowiki>}}), but more subtle. Useful when you need to visually break apart some content without creating a new heading/subheading. | ||
Line 11: | Line 11: | ||
some text and things | some text and things | ||
{{HorizontalRuleImage}} | {{HorizontalRuleImage}} | ||
other text and things | |||
---- | |||
Set width like this: | |||
<pre>some text and things | |||
{{HorizontalRuleImage|300}} | |||
other text and things</pre> | |||
Result: | |||
some text and things | |||
{{HorizontalRuleImage|300}} | |||
other text and things | other text and things | ||
---- | ---- | ||
''See the [[Arcane Trickster]] article for an example usage of this template in the wild.''</noinclude> | ''See the [[Arcane Trickster]] article for an example usage of this template in the wild.''</noinclude> |
Revision as of 16:03, 18 July 2023
Insert a center-aligned horizontal rule image, similar to a normal HR (wiki markup: ----
), but more subtle. Useful when you need to visually break apart some content without creating a new heading/subheading.
Usage:
some text and things {{HorizontalRuleImage}} other text and things
Result:
some text and things
other text and things
Set width like this:
some text and things {{HorizontalRuleImage|300}} other text and things
Result:
some text and things
other text and things
See the Arcane Trickster article for an example usage of this template in the wild.