Difference between revisions of "Template:Lower/doc"

From blackwiki
Jump to navigation Jump to search
imported>David Kernow
m (updating (proportional units))
imported>MZMcBride
(minor code edits)
Line 2: Line 2:
 
<noinclude>{{template doc page viewed directly}}</noinclude>
 
<noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<includeonly>{{hprotected}}</includeonly>
+
<includeonly>{{pp-template}}</includeonly>
 
Use to lower some text or other element a specified number of units (recommend proportional '[[Em (typography)|em]]' units), otherwise by a default 0.6em:
 
Use to lower some text or other element a specified number of units (recommend proportional '[[Em (typography)|em]]' units), otherwise by a default 0.6em:
 
: <code><nowiki>{{</nowiki>lower|''N''em|''text''/''element''}}</code> to lower by ''N'' em units{{spaces|2}}<span style="font-size:90%;">(e.g. <code><nowiki>{{</nowiki>lower|0.4em|This is the text to lower.}}</code>)</span>
 
: <code><nowiki>{{</nowiki>lower|''N''em|''text''/''element''}}</code> to lower by ''N'' em units{{spaces|2}}<span style="font-size:90%;">(e.g. <code><nowiki>{{</nowiki>lower|0.4em|This is the text to lower.}}</code>)</span>
Line 10: Line 10:
 
== See also ==
 
== See also ==
 
* {{tl|Raise}}
 
* {{tl|Raise}}
 
  
 
<includeonly>
 
<includeonly>

Revision as of 05:34, 12 August 2007

Template:Template doc page viewed directly

Use to lower some text or other element a specified number of units (recommend proportional 'em' units), otherwise by a default 0.6em:

{{lower|Nem|text/element}} to lower by N em units  (e.g. {{lower|0.4em|This is the text to lower.}})
{{lower|text/element}} to lower by default 0.6em.

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