NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel5

More information

Date-data macro

The date-data macro allows editing of dates in a series of drop-down boxes in the Edit Layout view.

...

Warning
titleObservation about how the text-data macro works

It appears that once a value is specified for a text-data macro of the type line, it's not possible to edit that value. For example, once the page is saved with "Default text" in the text-data macro, it is not possible to change it to "Default name." This may also be the case for editing text-data of the type area.

...

Another example for the text-data macro

The markup to produce the example follows.

Code Block

Name: {text-data:Name|type=line}Name{text-data}

Username: {text-data:Username|width=100px}{text-data}
Password: {text-data:Password|type=password|width=100px}{text-data}

|| Address: | {text-data:Address|type=area|width=400px|height=150px}Street,
City, State, Postcode
Country{text-data} |

The example looks like this.

Name:

Text Data
Name
Name
typeline

Username:

Text Data
Username
Username
width100px


Password:
Text Data
Password
Password
width100px
typepassword

Address:

Text Data
Address
Address
width400px
typearea
height150px

Scrollbar
iconsfalse