Difference between revisions of "Template:Lower"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tariqabjotu
(changed to {{hprotected}})
blackwiki>David Kernow
(updating link using AWB)
Line 2: Line 2:
 
{{hprotected}}
 
{{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{{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.
 
: <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}}).
 
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}}).

Revision as of 05:10, 17 February 2007

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 pixels  (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