Form:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 154: Line 154:
   |size=40
   |size=40
   |class=fullwidth
   |class=fullwidth
 +
  |default={{#if:{{#var:main}}|{{#show:{{#var:main}}|?book heading}} }}
   }}}
   }}}
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
Line 168: Line 169:
   |size=40
   |size=40
   |class=fullwidth
   |class=fullwidth
 +
  |default={{#if:{{#var:main}}|{{#show:{{#var:main}}|?book title}} }}
   }}}
   }}}
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
Line 204: Line 206:
   |input type=dropdown
   |input type=dropdown
   |values=draft,effective,obsolete
   |values=draft,effective,obsolete
-
   |default={{#if:{{#show:{{FULLPAGENAME}}|?revision id}}||draft}}
+
   |default={{#if:{{#var:newpage}}|draft}}
   }}}
   }}}
  !{{message|Progress}}:
  !{{message|Progress}}:
Line 238: Line 240:
  |-
  |-
  !{{message|Author}}:
  !{{message|Author}}:
-
  |colspan="3"|{{{field|author|input type=text}}}
+
  |colspan="3"|{{{field
 +
  |author
 +
  |input type=text
 +
  |default={{#if:{{#var:newpage}}|current user}}
 +
  }}}
  |-
  |-
  !{{message|Editor}}:
  !{{message|Editor}}:

Revision as of 02:19, 24 April 2011

This is the "Book" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.



Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox