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 editNext edit →Content deleted Content addedVisualWikitext
Revision as of 23:10, 4 February 2007 view sourceDavid Kernow (talk | contribs)40,997 edits updating← Previous edit Revision as of 23:11, 4 February 2007 view source David Kernow (talk | contribs)40,997 editsm updating defaultNext edit →
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}} |<!--then:(offset specified)--><span style="position:relative; top:{{{2}}};">{{{3|}}}</span>|<!--else:(offset not specified; use default)--><span style="position:relative; top:4px;">{{{2|}}}</span><!--end #if:-->}}</includeonly><noinclude> <includeonly>{{#if:{{{3|}}} |<!--then:(offset specified)--><span style="position:relative; top:{{{2}}};">{{{3|}}}</span>|<!--else:(offset not specified; use default)--><span style="position:relative; top:8px;">{{{2|}}}</span><!--end #if:-->}}</includeonly><noinclude>


Use to lower some text or other element a specified number of pixels (px), otherwise by a default 4px: 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|''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 4px. : <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}}). 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}}).



Revision as of 23:11, 4 February 2007


Use to lower some text or other element a specified number of pixels (px), otherwise by a default 8px:

{{lower|Npx|text/element}} to lower by N pixels  (e.g. {{lower|6px|This is the text to lower.}})
{{lower|text/element}} to lower by default 8px.

Can be useful e.g. to position <ref>erence links (footnote links) appearing in tables without any preceeding text (cf {{Infobox Ethnic group}}).