Profile page template

%%form_data{profile}%%

====

[[form]]
fields:
  realname:
    label: 'Real name:'

  gender:
    label: 'Gender:'
    type: select
    values:
      m: male
      f: female
      n: do not tell
    default: n
  birth_day:
    label: 'Birthday:'
    type: select
    values:
      d: Day
      1: 1st
      2: 2nd
      3: 3rd
      4: 4th
      5: 5th
      6: 6th
      7: 7th
      8: 8th
      9: 9th
      10: 10th
      11: 11th
      12: 12th
      13: 13th
      14: 14th
      15: 15th
      16: 16th
      17: 17th
      18: 18th
      19: 19th
      20: 20th
      21: 21st
      22: 22nd
      23: 23rd
      24: 24th
      25: 25th
      26: 26th
      27: 27th
      28: 28th
      29: 29th
      30: 30th
      31: 31st
    default: d
  birth_month:
    join: true
    type: select
    values:
      m: Month
      1: January
      2: February
      3: March
      4: April
      5: May
      6: June
      7: July
      8: August
      9: September
      10: October
      11: November
      12: December
    default: m
  birth_year:
    join: true
    width: 5
    match: /^( |[^ ]){0,4}$/

  website:
    label: 'My website:'
    type: url
    default-schema: 'http://'

  location:
    label: 'Location:'
    after: 'city, country + whatever you consider important'

  gap:
    type: static
    value: ' '

  shortabout:
    label: 'Shortly about myself:'
    width: 70
    height: 5
    match: /^( |[^ ]){0,200}$/
    match-error: 'You have exceeded the 200 character limit. Please reduce your content to continue.'
  profile:
    label: 'Profile page:'
    width: 100
    height: 20
    type: wiki
[[/form]]

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