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
Scrollbar
iconsfalse

Page info
title
title

The repeating - data macro allows the addition and removal of repeating sections in Edit view.

This page shows the general form and an example.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is:

Code Block
{repeating-data:Name}
Repeating content.
{repeating-data}

...

Code Block
{repeating-data:Contacts}
h2. Name: {text-data:Name|required=true}Name:{text-data}
Email: {text-data:Email}Email:{text-data}
Phone: {text-data:Phone}Phone:{text-data}
Address: {text-data:Address|type=area|width=300px|height=150px}Address:{text-data}
{repeating-data}
Repeating Data

...

nameContacts

...

Nametrue

Email: Email
Phone: Phone
Address: Addressarea300px150px

...

initialRows1

Name

NameINLINEtrue

 

Email

EmailINLINE

 

Phone

PhoneINLINE

 

Address

150px350pxAddressINLINE

 

...

Nametrue

...