Template:Raise: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
m (corrections)
m (13 revisions imported)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<span style="position:relative; bottom:{{#if:{{{2|}}} |{{{1}}} |0.6em}};">{{{2|{{{1}}}}}}</span><noinclude>{{Documentation}}</noinclude>
<includeonly>{{#if:{{{2|}}} |<!--then:(offset specified)--><span style="position:relative; bottom:{{{1}}};">{{{2|}}}</span>|<!--else:(offset not specified; use default)--><span style="position:relative; bottom:8px;">{{{1|}}}</span><!--end #if:-->}}</includeonly><noinclude>
{{sprotected2}}
Use to raise some text or other element a specified number of pixels (px), otherwise by a default 8px:
: <code><nowiki>{{</nowiki>raise|''N''px|''text''/''element''}}</code> to raise by ''N'' pixels{{nbsp|2}}<span style="font-size:90%;">(e.g. <code><nowiki>{{</nowiki>raise|6px|This is the text to raise.}}</code>)
: <code><nowiki>{{</nowiki>raise|''text''/''element''}}</code> to raise by default 8px.

== See also ==
* {{tl|Lower}}

<!--Categories-->
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 16:52, 23 April 2019

{{{1}}}