5,838
edits
m (→Examples) |
m (→Output 'format' Parameter: cut) |
||
Line 166: | Line 166: | ||
*#Whilst ''<#metdate format="d M">'' is not a single character format modifier and therefore both the 'd' and the 'M' are interpreted as custom modifiers and cause the current date to be returned as a digit(s) for the day and a digit(s) month (in a without leading zeroes format) e.g. '6 7' would be returned for 6 July. | *#Whilst ''<#metdate format="d M">'' is not a single character format modifier and therefore both the 'd' and the 'M' are interpreted as custom modifiers and cause the current date to be returned as a digit(s) for the day and a digit(s) month (in a without leading zeroes format) e.g. '6 7' would be returned for 6 July. | ||
*The other change with the "format" parameter is the different way that .Net escapes characters that are not being used as format specifiers. In [[File:badge v1.png]]Delphi you can put the 'verbatim' characters inside single quotes (Cumulus 1); in [[File:Badge vMx.png]].NET or MONO you can still use single quotes, but alternatively you can escape each verbatim character with a backslash as prefix (Cumulus MX). You may need to use both single quotes and back slashes in some cases, depending on what characters you want to include without them being interpreted as control characters (yes, backslash is also used to escape control characters, so for some characters you must use the literal approach to include them in your format). | *The other change with the "format" parameter is the different way that .Net escapes characters that are not being used as format specifiers. In [[File:badge v1.png]]Delphi you can put the 'verbatim' characters inside single quotes (Cumulus 1); in [[File:Badge vMx.png]].NET or MONO you can still use single quotes, but alternatively you can escape each verbatim character with a backslash as prefix (Cumulus MX). You may need to use both single quotes and back slashes in some cases, depending on what characters you want to include without them being interpreted as control characters (yes, backslash is also used to escape control characters, so for some characters you must use the literal approach to include them in your format). | ||
==== Using HTML tags within format parameters (available in MX only) ==== | ==== Using HTML tags within format parameters (available in MX only) ==== |
edits