From WikiChip
Editing mirc/identifiers/$width

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 3: Line 3:
  
 
== Synopsis ==
 
== Synopsis ==
<pre>$width(text,font,size,bNiNpNtN)</pre>
+
<pre>$width(text,font,size,B,C)</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 9: Line 9:
 
* '''font''' - The name of the font
 
* '''font''' - The name of the font
 
* '''size''' - The size of the font, you can specify a negative value to match the size of fonts in the font dialog
 
* '''size''' - The size of the font, you can specify a negative value to match the size of fonts in the font dialog
 
+
* '''B''' - Optional, pass a non-zero value to specify a bold font (can be a $true/$false value)
Before, there was a 4th 5th and even a 6th true/false parameters (bold, italic, and control code processing), to set some custom measurements, it was changed to a single 4th parameter when tab processing were added:
+
* '''C''' - Optional, pass a non zero value to get control code to be processed (can be a $true/$false value)
 
 
* '''bNiNpNtN''' - Optional, defines some options for the measurement, N can be 1 or 0 to enable or disable the option:
 
** '''bN''' enables/disables bold
 
** '''iN''' enables/disables italic
 
** '''pN''' enables/disables control code (-bi not needed there)
 
** '''tN''' enables/disables tab character
 
  
 
== Properties ==
 
== Properties ==
Line 29: Line 23:
 
== See Also ==
 
== See Also ==
 
{{mIRC|$height}}
 
{{mIRC|$height}}
{{mIRC|$wrap}}
 
  
 
[[Category:mIRC identifiers]]
 
[[Category:mIRC identifiers]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)