Template:Mini separator: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="text-align: {{{align|{{{1|center}}}}}};">–</div><noinclude> |
|||
{{Center|▾}} |
|||
== Usage Guide == |
|||
This template creates a small horizontal dash separator, primarily used between quotes in a quote panel. It supports left, right, and center alignment. |
|||
=== Parameters === |
|||
* '''align''' (or '''1'''): The alignment of the separator. Options: <code>left</code>, <code>right</code>, or <code>center</code>. (Default is <code>center</code>). |
|||
=== Examples === |
|||
{| class="wikitable" |
|||
! Syntax !! Result |
|||
|- |
|||
| <code><nowiki>{{mini separator}}</nowiki></code> || {{mini separator}} |
|||
|- |
|||
| <code><nowiki>{{mini separator|left}}</nowiki></code> || {{mini separator|left}} |
|||
|- |
|||
| <code><nowiki>{{mini separator|align=right}}</nowiki></code> || {{mini separator|align=right}} |
|||
|} |
|||
=== TemplateData === |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Alignment (Positional)", |
|||
"description": "Sets the alignment (left, center, right).", |
|||
"example": "left", |
|||
"default": "center", |
|||
"type": "string" |
|||
}, |
|||
"align": { |
|||
"label": "Alignment (Named)", |
|||
"description": "Sets the alignment (left, center, right).", |
|||
"example": "right", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"description": "A simple separator dash with configurable alignment." |
|||
} |
|||
</templatedata> |
|||
[[Category:Template:biz/components]] |
|||
</noinclude> |
|||
Latest revision as of 14:36, 29 December 2025
–
Usage Guide
This template creates a small horizontal dash separator, primarily used between quotes in a quote panel. It supports left, right, and center alignment.
Parameters
- align (or 1): The alignment of the separator. Options:
left,right, orcenter. (Default iscenter).
Examples
| Syntax | Result |
|---|---|
{{mini separator}} |
–
|
{{mini separator|left}} |
–
|
{{mini separator|align=right}} |
–
|
TemplateData
A simple separator dash with configurable alignment.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Alignment (Positional) | 1 | Sets the alignment (left, center, right).
| String | optional |
| Alignment (Named) | align | Sets the alignment (left, center, right).
| String | optional |