69,849
editsAdded template demo, documentation template and category
No edit summary |
HiddenDragon (talk | contribs) (Added template demo, documentation template and category) |
||
Line 1: | Line 1: | ||
<includeonly><div class="bg3wiki-hrule nomobile" style="user-select: none;">[[File:{{#switch:{{{2|}}}|ns=bg3_content_hr_no_shadow.png|bg3_content_hr.png}}|{{{1|460}}}px|center|frameless|link=]]</div></includeonly><noinclude> | <includeonly><div class="bg3wiki-hrule nomobile" style="user-select: none;">[[File:{{#switch:{{{2|}}}|ns=bg3_content_hr_no_shadow.png|bg3_content_hr.png}}|{{{1|460}}}px|center|frameless|link=]]</div></includeonly><noinclude>{{Documentation|content= | ||
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. | ||
{{Template demo | |||
< | | style = list | ||
| caption = 1 = Default | |||
| <nowiki>some text and things | |||
{{HorizontalRuleImage}} | {{HorizontalRuleImage}} | ||
other text and things</ | other text and things</nowiki> | ||
| caption 2 = Set width | |||
| <nowiki>some text and things | |||
Set width | |||
< | |||
{{HorizontalRuleImage|300}} | {{HorizontalRuleImage|300}} | ||
other text and things</ | other text and things</nowiki> | ||
| caption 3 = No shadow | |||
| <nowiki>{{HorizontalRuleImage|300|ns}}</nowiki> | |||
}} | |||
< | |||
}} | |||
[[Category:Templates]] | |||
</noinclude> |