SigServer:SignatureMath: Difference between revisions

Jump to navigation Jump to search
(Converted example format to match actual usage)
Line 230: Line 230:
  <nowiki>{{ length("") }}        <!-- Returns 0 --></nowiki>
  <nowiki>{{ length("") }}        <!-- Returns 0 --></nowiki>
  <nowiki>{{ length("Foo bar.") }} <!-- Returns 8 --></nowiki>
  <nowiki>{{ length("Foo bar.") }} <!-- Returns 8 --></nowiki>
==== lengthw ====
''number'' '''lengthw'''(''mixed'' string[, ''string'' font[, ''number'' size]])
Returns width of given string in pixels. Default font is ''verdana''. Default size is ''12'' pixels.
Example:
<nowiki>{{ lengthw("Foobar") }}              <!-- Returns 54 --></nowiki>
<nowiki>{{ lengthw("Foobar", "comic", 10) }}  <!-- Returns 55 --></nowiki>


==== lowercase ====
==== lowercase ====
256

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.