Template:Lower: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>David Kernow
(updating)
m (19 revisions imported)
 
(15 intermediate revisions by 6 users not shown)
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>
<span style="position: relative; top: {{safesubst<noinclude />:#if:{{{2|}}}|{{{1}}}|0.6em}};">{{{2|{{{1}}}}}}</span><noinclude>
 
{{documentation}}
Use to lower some text or other element a specified number of pixels (px), otherwise by a default 4px:
: <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.
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
[[Category:Function templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 00:58, 3 September 2020

{{{1}}}