Form:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 85: Line 85:
   | ''n/a''
   | ''n/a''
   }}
   }}
-
   |{{{field
+
   |{{{field|master page|property=docinfo master page|input type=text|size=40|class=fullwidth}}}
-
  |master page
+
-
  |property=docinfo master page
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}
+
   }}
   }}
  |{{#if:{{#var:path}}
  |{{#if:{{#var:path}}
Line 107: Line 101:
  | {{message|Revision ID}}:  {{#switch:THEN
  | {{message|Revision ID}}:  {{#switch:THEN
   |{{#if:{{#var:path}}|NOT|THEN}}
   |{{#if:{{#var:path}}|NOT|THEN}}
-
   |{{#if:{{#var:main}}|THEN}}={{{field
+
   |{{#if:{{#var:main}}|THEN}}={{{field|master rev|property=docinfo master rev|input type=text|size=10|class=autowidth}}}{{#info:{{LangSwitch
-
  |master rev
+
-
  |property=docinfo master rev
+
-
  |input type=text
+
-
  |size=10
+
-
  |class=autowidth
+
-
  }}}{{#info:{{LangSwitch
+
     |en= Input the revision id of the master page to detect obsolescence, as required.
     |en= Input the revision id of the master page to detect obsolescence, as required.
     |de= Geben Sie die Revision der Master-Seite-ID, um überholte erkennen, wie erforderlich.
     |de= Geben Sie die Revision der Master-Seite-ID, um überholte erkennen, wie erforderlich.
Line 149: Line 137:
  |-
  |-
  !{{message|Heading}}:
  !{{message|Heading}}:
-
  |{{{field
+
  |{{{field|heading|property=book heading|input type=text|size=40|class=fullwidth|default={{#if:{{#var:newpage}}|{{#if:{{#var:main}}|{{#show:{{#var:main}}|?book heading}}|{{#if:{{#var:path}}|{{#replace:{{#var:path}}|/|.}}.}} }} }} }}}
-
  |heading
+
-
  |property=book heading
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  |default={{#if:{{#var:newpage}}|{{#if:{{#var:main}}|{{#show:{{#var:main}}|?book heading}}|{{#if:{{#var:path}}|{{#replace:{{#var:path}}|/|.}}.}} }} }}
+
-
  }}}
+
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
   |{{#show:{{#var:main}}|?book heading}}
   |{{#show:{{#var:main}}|?book heading}}

Revision as of 10:45, 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.



Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox