Template:Lower: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>David Kernow
updating link using AWB
meta>David Kernow
moving documentation to /doc
Line 1: Line 1:
<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>
<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>
{{hprotected}}
{{/doc}}
Use to lower some text or other element a specified number of pixels (px), otherwise by a default 8px:
<!--Please add interwiki links on the /doc page, not here - thanks!-->
: <code><nowiki>{{</nowiki>lower|''N''px|''text''/''element''}}</code> to lower by ''N'' pixels{{spaces|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}}).
 
== See also ==
* {{tl|Raise}}
 
 
<!--Categories-->
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 15:22, 5 March 2007