Form:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 116: | Line 116: | ||
|{{#switch:THEN | |{{#switch:THEN | ||
|{{#if:{{#var:main}}|NOT|THEN}} | |{{#if:{{#var:main}}|NOT|THEN}} | ||
- | |{{#if:{{#var:path}}|NOT|THEN}}={{{field | + | |{{#if:{{#var:path}}|NOT|THEN}}={{{field|next|property=book next|input type=text|size=40|class=fullwidth|default={{#if:{{#var:newpage}}|{{#iferror:../{{#expr:{{SUBPAGENAME}}+1}} }} }} }}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
| [[{{#rel2abs:{{#show:{{#var:main}}|?book next}} }}]] | | [[{{#rel2abs:{{#show:{{#var:main}}|?book next}} }}]] | ||
}} | }} | ||
Line 145: | Line 138: | ||
|- | |- | ||
!{{message|Title}}: | !{{message|Title}}: | ||
- | |{{{field | + | |{{{field|title|property=book title|input type=text|size=40|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}} | ||
|{{#show:{{#var:main}}|?book title}} | |{{#show:{{#var:main}}|?book title}} | ||
Line 160: | Line 146: | ||
|- | |- | ||
!{{message|Description}}: | !{{message|Description}}: | ||
- | |{{{field | + | |{{{field|desc|property=description|input type=text|size=40|class=fullwidth}}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|{{ | |{{ | ||
#info:{{message|Default value}}: {{ | #info:{{message|Default value}}: {{ | ||
Line 183: | Line 163: | ||
{|style="background-color:{{#var:tblColorData}};" class="autowidth" | {|style="background-color:{{#var:tblColorData}};" class="autowidth" | ||
!{{message|Status}}: | !{{message|Status}}: | ||
- | |{{{field | + | |{{{field|status|property=docinfo status|input type=dropdown|values=draft,effective,obsolete|default={{#if:{{#var:newpage}}|draft}} }}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
!{{message|Progress}}: | !{{message|Progress}}: | ||
- | |{{{field | + | |{{{field|progress|property=docinfo progress|input type=dropdown}}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|- | |- | ||
!{{message|Language}}: | !{{message|Language}}: | ||
Line 201: | Line 171: | ||
| ''{{#show:{{#var:root}}|?docinfo language}} - <!-- | | ''{{#show:{{#var:root}}|?docinfo language}} - <!-- | ||
-->{{#language:{{#show:{{#var:root}}|?docinfo language}} }}'' | -->{{#language:{{#show:{{#var:root}}|?docinfo language}} }}'' | ||
- | |{{{field | + | |{{{field|lang|input type=text|size=8}}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
!{{message|Priority}}: | !{{message|Priority}}: | ||
- | |{{{field | + | |{{{field|priority|property=docinfo priority|input type=dropdown}}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|- | |- | ||
!{{message|Category}}: | !{{message|Category}}: | ||
- | |colspan="3"|{{{field | + | |colspan="3"|{{{field|category|property=docinfo category|input type=text}}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|- | |- | ||
!{{message|Author}}: | !{{message|Author}}: | ||
- | |colspan="3"|{{{field | + | |colspan="3"|{{{field|author|input type=text|default={{#if:{{#var:newpage}}|current user}} }}} |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
|- | |- | ||
!{{message|Editor}}: | !{{message|Editor}}: |
Revision as of 10:49, 29 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.