Confluence 4.2 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
You can only use form field markup in templates. It does not work in wiki pages.
You must use wiki markup to create the content in your template, with special markup to insert form fields. When a user creates a page using a template that contains form fields, the user will be prompted to enter data. The data will be captured and stored in the new page.
Here are the three kinds of form fields supported and the markup to create them:
Text field | @VAR@ | Creates a text input field for a variable called VAR. Replace "VAR" with your own variable name. |
Textarea | @VAR|textarea(5,10)@ | Creates a 5 x 10 text-area for a variable called VAR. |
Drop down menu | @VAR|list(one,two,three,four)@ | Creates a dropdown list containing the values "one", "two", "three" and "four".
|
Every input field must have a unique name. If you have more than one text input field in the same template with the same name, Confluence will make sure that they all end up with the same value (This is useful if you need the same information in more than one place in the page).
For an example, please see Adding a Template.
警告
There must be no spaces between the @-signs in the markup. This means you can't have items in your drop-down lists that contain spaces.
Improved Markup
The above formatting is the basic markup bundled with Confluence, but some plugins expand on this markup to provide greater functionality. Links to these plugins and a comparison can be found in Working with Templates.
関連トピック
Working with Templates
Scaffolding Plugin
Adding a Template
Editing a template
Creating a Page using a Template
Take me back to Confluence User's Guide