Page History
Scrollbar | ||
---|---|---|
|
Page info | ||||
---|---|---|---|---|
|
The list data macro generates a selectable list. The list option macro generates the list of options. One or more may be selected in the Edit Contents view. The last option selected appears on the page; by default, the first item is selected.
The general form is
Code Block |
---|
Wiki Markup |
{scrollbar:icons=false} h1. Selectable Lists Created with the List-data and List-options Macros The list-data macro generates a selectable list of options. One or more may be selected in Edit view. The last option selected appears on the page. By default, the first item is selected. The general form is: {code}{list-data:Name|type=[select, check]|multiple=[true, false]} {xxx-options} {list-data}{code} |
Two
...
examples
...
of
...
the
...
list
...
data
...
and
...
list
...
option macros
...
are
...
provided
...
on
...
this
...
page
...
as
...
follows:
...
Table of Contents |
---|
...
|
...
|
...
The
...
list
...
data
...
macro
...
is
...
also
...
used
...
with
...
the
...
attachments,
...
content
...
options and
...
user
...
options
...
macros.
...
Refer
...
to
...
...
...
...
...
...
...
...
Content Options, User Options.
For more information on the list data macro, refer to the following page:
https://docs.servicerocket.com/scaffolding/macro-reference/list-data
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Plain List
The following example generates a list of numbers from which to select. The general form is
Code Block |
---|
, Users)].
[More information|http://www.customware.net/repository/display/AtlassianPlugins/list-data]
h2. Plain List
The following generates a list of numbers from which to select.
{code}{list-data:List}
{list-option}One{list-option}
{list-option}Two{list-option}
{list-option}Three{list-option}
{list-data} |
The list data macro generates a list from which to select. The list option macro generates a list of numbers. In the Edit Contents view select a number to display. The last number selected is shown.
List Data | ||||
---|---|---|---|---|
| ||||
One Two Three |
Wikified List
The following example generates a list of emoticons from which to select. The general form is
Code Block |
---|
{code} The output shows the last item selected. {list-data:List} {list-option}One{list-option} {list-option}Two{list-option} {list-option}Three{list-option} {list-data} h2. Wikified List The following generates a list of emoticons from which to select. {code}{list-data:Emoticon} {list-option:Star}(*){list-option} {list-option:Plus}(+){list-option} {list-option:Minus}(-){list-option} {list-data} {code} The output shows the last item selected. {list-data:Emoticon} {list-option:Star}(*){list-option} {list-option:Plus}(+){list-option} {list-option:Minus}(-){list-option} {list-data} {scrollbar:icons=false} |
The list data macro generates a list from which to select. The list option macro generates a list of emoticons. In the Edit Contents view select an emoticon to display. The last emoticon selected is shown.
List Data | ||||
---|---|---|---|---|
| ||||
Scrollbar | ||
---|---|---|
|