Template:Lower: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Tariqabjotu m Protected Template:Lower: used in Template:Sisterlinks; high-profile template [edit=sysop:move=sysop] |
meta>Tariqabjotu changed to {{hprotected}} |
||
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}} | ||
Use to lower some text or other element a specified number of pixels (px), otherwise by a default 8px: | 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>) |
Revision as of 22:35, 7 February 2007
Template:Hprotected 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 pixelsTemplate:Nbsp(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}}).
See also
- {{Raise}}