NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This section explains the following macros.

Table of Contents
minLevel2

More information

...

about the text data macro

The date-data macro allows editing of dates in a series of drop-down boxes in the Edit view.
Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

Date Data macro

The general form is:

Code Block
{date-data:Name|format=[date format]}[<FIXED DATE>, yesterday, today, tomorrow, now]{date-data}

...

Code Block
{date-data:MeetingDateTime|format=yyyy-MMM-dd HH-mm-ss}today{date-data}

The date data macro establishes the date, initially the date the macro was created. In the Edit Contents view select a different date.

date-data

...

nameMeetingDateTime
formatyyyy-MMM-dd HH-mm-ss
today

Text

...

Data macro

The text-data macro allows entering and editing free text in the Edit view.

The general form is:

Code Block

{text-data:Name|type=[line, area]}Default text.{text-data}

An example follows.

Code Block

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 following example shows the markup above as rendered with the type=line.text data macros establish the Username, Password, and Address fields. In the Edit Contents view, enter the username, password, and address.

Text DataNameNametypelineUsername:

Text Data
nameUsername

...

content

...

wiki

...

 


Password:

Text Data

...

namePassword

...

content

...

wiki

...

 

Address:

Text Data
Address
nameAddress
width
content
400px
typearea
height150px

...

titleObservation about how the text-data macro works

...

wiki
Street, City, State, Postcode Country

...

Scrollbar
iconsfalse