Template:Raise: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(updating link using AWB)
m (Spliting off documentation (see WP:DOC) and modified code to show)
Line 1: Line 1:
<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>
{{#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:-->}}<noinclude>
{{{{FULLPAGENAME}}/doc}}
{{sprotected2}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
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{{spaces|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>
</noinclude>

Revision as of 13:10, 4 March 2007