Difference between revisions of "Template:Lower/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Sardanaphalus
(a slight rephrasing, category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
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>
+
Use to lower some text or other element a specified number of units{{aside|the proportional "[[Em (typography)|em]]" units are recommended}} otherwise by a default 0.6em:
: <code><nowiki>{{</nowiki>lower|''text''/''element''}}</code> to lower by default 0.6em.
+
: <code><nowiki>{{</nowiki>lower|''N''em|''text''/''element''}}</code> to lower by ''N''&nbsp;em units &nbsp;(e.g. {{plaincode|<nowiki>{{lower|0.4em|This is the text to lower.}}</nowiki>}})
Can be useful e.g. to position <nowiki><ref></nowiki>erence links (footnote links) appearing in tables without any preceding text (cf {{tl|Infobox ethnic group}}).
+
: <code><nowiki>{{</nowiki>lower|''text''/''element''}}</code> to lower by the default amount.
 +
Can be useful e.g. to position <nowiki><ref></nowiki>erence links (footnote links) appearing in tables without any preceding text (cf. {{tl|Infobox ethnic group}}).
  
 
== See also ==
 
== See also ==
Line 10: Line 11:
  
 
<includeonly>
 
<includeonly>
<!--Categories-->
+
[[Category:Positioning templates]]
[[Category:Wikipedia formatting and function templates]]
 
 
</includeonly>
 
</includeonly>

Revision as of 15:57, 16 November 2014

Use to lower some text or other element a specified number of units<aside>the proportional "em" units are recommended</aside> otherwise by a default 0.6em:

{{lower|Nem|text/element}} to lower by N em units  (e.g. Template:Plaincode)
{{lower|text/element}} to lower by the default amount.

Can be useful e.g. to position <ref>erence links (footnote links) appearing in tables without any preceding text (cf. {{Infobox ethnic group}}).

See also