Difference between revisions of "Template:Lower/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(a slight rephrasing, category)
imported>Frietjes
m (cleanup (wikitables, html markup, layout, etc.))
Line 2: Line 2:
 
<!-- 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{{aside|the proportional "[[Em (typography)|em]]" units are recommended}} otherwise by a default 0.6em:
+
Use to lower some text or other element a specified number of units –&nbsp;the proportional "[[Em (typography)|em]]" units are recommended&nbsp;– otherwise by a 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>}})
+
: <code><nowiki>{{</nowiki>lower|''N''em|''text''/''element''}}</code> to lower by ''N''&nbsp;em units &nbsp;(e.g. <nowiki>{{lower|0.4em|This is the text to lower.}}</nowiki>)
 
: <code><nowiki>{{</nowiki>lower|''text''/''element''}}</code> to lower by the default amount.
 
: <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}}).
 
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}}).

Revision as of 15:16, 5 March 2015

Use to lower some text or other element a specified number of units – the proportional "em" units are recommended – 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 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