Rom/Roma
1. Explanation:
This is for an example of a database record page for a specific TOWN with
it's interesting data: Name ( Title of the page) , Country, Number of people, Capital-switch
Please - if you want to create another entry with another town - use the Buttons on the right side:
the page name of this created "record" is "db4town:NNNnumber" using the category "db4town" and the existing _template for it!
You have to use the "Form" of the _template with the field-variables!
2. Database fields:
Country of the town : | Italy |
Living people (count) : | No idea ? |
Is this a Capital-town? : | Yes |
2.1. Free wiki text ( last field "freetext2")
coppied from the backup of category db2town:
2.2. Childpages
2.3. Backlinks
3. Form used here:
[[form]]
fields:
title-text:
type: static
value: Please fill out the upper title field with the NAME of the Town
country-of-town:
label: Country of the town
type: pagepath
category: db3country
count-of-people-text:
label: Living people (count)
type: text
width: 30
capital-switch:
label: Is this a Capital-town?
type: select
values:
1: "Yes"
2: "No"
freetext2-wiki:
label: Free Wiki source text to comment what ever
type: wiki
[[/form]]
4. Tips:
Be carefully with the indent in the form! ( always 2 characters! ) or your form will not work…
You will find the doumentation on: http://www.wikidot.com/doc:data-forms
page revision: 3, last edited: 21 Jul 2010 06:16