Belgium
1. Explanation:
This is for an example of a database record page for a specific country with
it's interesting data: Name, Capital, currency(1,/100), kind-of-government,
Area, number of people, religion
Please - if you want to create another entry with another country - use the Button right side!
The page name of this "record" is "db3country:NNnumber" using the category "db3country" and the existing _template for it!
You have to use the "Form" of the _template with the field-variables!
2. Database Fields:
Countryname in own language : | Belgium/Belgique/België |
Capital of the country : | Brussels/Bruxelles/Brussel |
Currency ( 1 xyz = 100 zyx ) : | 1 euro = 100 centimes/100 cent |
Government (type) : | MR-PS-CdH-Open VLD-CD&V |
Area (number km2) : | 33.000 km2 |
Living people (count) : | 10.500.000 inhabitants/habitants/bewoners |
Religion (%-tages) : | Christian/chretienne/katholiek |
2.1 Free Wiki text ( last field:)
Copied from old db1country: category basckup
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 Country
country-name:
label: Countryname in own language
type: text
width: 30
capital-town:
label: Capital of the country
type: pagepath
category: db4town
currency-text:
label: Currency ( 1 xyz = 100 zyx )
type: text
width: 30
goverment-text:
label: Government (type)
type: text
width: 30
area-text:
label: Area (number km2)
type: text
width: 30
count-of-people-text:
label: Living people (count)
type: text
width: 30
religion-text:
label: Religion (%-tages)
type: text
width: 30
freetext2-wiki:
label: Free Wiki source text
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: 0, last edited: 19 Jul 2010 08:01