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
Wiki Markup
{scrollbar:icons=false}
h1. 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|http://www.customware.net/repository/display/AtlassianPlugins/repeating-data]

The general form is:
{code}{repeating-data:Name}
Repeating content.
{repeating-data}{code}

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}{code}

{
Repeating Data
nameContacts
initialRows1

Name

NameINLINEtrue

 

Email

EmailINLINE

 

Phone

PhoneINLINE

 

Address

150px350pxAddressINLINE

 

: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}