NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{scrollbar:icons=false}

Add and Remove Repeating Sections with Repeating-data Macro

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

The general form is:

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

An example follows.

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

Repeating Data
nameContacts
orderasc

Name: wikiNameINLINEtrue

Email: wikiEmailINLINE
Phone: wikiPhoneINLINE
Address: wikiAddressINLINE