db3country:_template

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:

%%form_label{country-name}%% : %%form_data{country-name}%%
%%form_label{capital-town}%% : %%form_data{capital-town}%%
%%form_label{currency-text}%% : %%form_data{currency-text}%%
%%form_label{goverment-text}%% : %%form_data{goverment-text}%%
%%form_label{area-text}%% : %%form_data{area-text}%%
%%form_label{count-of-people-text}%% : %%form_data{count-of-people-text}%%
%%form_label{religion-text}%% : %%form_data{religion-text}%%

2.1 Free Wiki text ( last field:)

%%form_data{freetext2-wiki}%%


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
=====
[[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]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License