Misplaced Pages

Template:Lower: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 23:17, 4 February 2007 view sourceDavid Kernow (talk | contribs)40,997 edits parameter number corrections← Previous edit Latest revision as of 00:36, 17 April 2020 view source Ahecht (talk | contribs)Edit filter managers, Autopatrolled, Administrators64,868 edits Make substable 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="position: relative; top: {{safesubst<noinclude />:#if:{{{2|}}}|{{{1}}}|0.6em}};">{{{2|{{{1}}}}}}</span><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:8px;">{{{1|}}}</span><!--end #if:-->}}</includeonly><noinclude>
{{documentation}}

Use to lower some text or other element a specified number of pixels (px), otherwise by a default 8px:
: <code><nowiki>{{</nowiki>lower|''N''px|''text''/''element''}}</code> to lower by ''N'' pixels{{nbsp|2}}<span style="font-size:90%;">(e.g. <code><nowiki>{{</nowiki>lower|6px|This is the text to lower.}}</code>)
: <code><nowiki>{{</nowiki>lower|''text''/''element''}}</code> to lower by default 8px.
Can be useful e.g. to position <nowiki><ref></nowiki>erence links (footnote links) appearing in tables without any preceeding text (cf {{tl|Infobox Ethnic group}}).


<!--Categories
]
</noinclude> </noinclude>

Latest revision as of 00:36, 17 April 2020

{{{1}}}

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 7,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

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

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.
Add categories to the /doc subpage. Subpages of this template. Category: