Difference between revisions of "Template:Lower"
Jump to navigation
Jump to search
blackwiki>David Kernow m (proportional units) |
blackwiki>PeterSymonds (add {{Template:Documentation|documentation]]}}, remove {{/doc}}, per protected edit request) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}} |<!--then:(offset specified)--><span style="position:relative; top:{{{1}}};">{{{2|}}}</span>|<!--else:(offset not specified; use default)--><span style="position:relative; top:0.6em;">{{{1|}}}</span><!--end #if:-->}}</includeonly><noinclude> | <includeonly>{{#if:{{{2|}}} |<!--then:(offset specified)--><span style="position:relative; top:{{{1}}};">{{{2|}}}</span>|<!--else:(offset not specified; use default)--><span style="position:relative; top:0.6em;">{{{1|}}}</span><!--end #if:-->}}</includeonly><noinclude> | ||
| − | {{ | + | {{documentation}} |
<!--Please add interwiki links on the /doc page, not here - thanks!--> | <!--Please add interwiki links on the /doc page, not here - thanks!--> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:44, 20 March 2010
Use to lower some text or other element a specified number of units – the proportional "em" units are recommended – otherwise by a default 0.6em:
{{lower|Nem|text/element}}to lower by N em units (e.g. {{lower|0.4em|This is the text to lower.}}){{lower|text/element}}to lower by the default amount.
Can be useful e.g. to position <ref>erence links (footnote links) appearing in tables without any preceding text (cf. {{Infobox ethnic group}}).
See also
- {{Raise}}
| The above documentation is transcluded from Template:Lower/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |