Content added Content deleted
(see also) |
No edit summary |
||
Line 38: | Line 38: | ||
''{{Lorem ipsum}}'' |
''{{Lorem ipsum}}'' |
||
|} |
|} |
||
== TemplateData == |
|||
{{TemplateDataHeader}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Text", |
|||
"description": "The text to right-align.", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"leading-top": { |
|||
"label": "Top leading/padding", |
|||
"description": "The space to leave at the top of the aligned block. Value in ems (do not specify units).", |
|||
"example": "2", |
|||
"type": "string", |
|||
"default": "0", |
|||
"suggested": true |
|||
}, |
|||
"offset": { |
|||
"aliases": [ |
|||
"2" |
|||
], |
|||
"label": "Offset", |
|||
"description": "The right margin.", |
|||
"example": "3em", |
|||
"type": "string", |
|||
"default": "0", |
|||
"suggested": true |
|||
}, |
|||
"style": { |
|||
"label": "Style", |
|||
"description": "Any other CSS rules to apply to the block.", |
|||
"type": "string" |
|||
} |
|||
}, |
|||
"description": "Align text to the right.", |
|||
"paramOrder": [ |
|||
"1", |
|||
"offset", |
|||
"leading-top", |
|||
"style" |
|||
], |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
===See also=== |
===See also=== |