Form:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 24: Line 24:
}}}
}}}
{{{for template|Book}}}
{{{for template|Book}}}
 +
  main: {{#var:main}}
  main: {{#var:main}}
  path: {{#var:path}}
  path: {{#var:path}}
-
{{#if:{{#var:path}}
+
 
-
|
+
-
|{{{!}}cellspacing="0" style="width:100%;"
+
-
{{!}}style="background-color:{{#var:tblColorData}};<!--
+
-
    --> border:1px solid {{#var:tblColorBorder}};<!--
+
-
    --> width:100%;<!--
+
-
    -->"|{{{field
+
-
  |type
+
-
  |property=docinfo type
+
-
  |input type=radiobutton
+
-
  |default=master
+
-
  |show on select=master=>form_master;subsidary=>form_subsidary;=>form_master;
+
-
  }}}
+
-
{{!}}}
+
-
}}
+
{|style="width:100%;" cellspacing="0"
{|style="width:100%;" cellspacing="0"
!style="background-color:{{#var:tblColorHeader}};<!--
!style="background-color:{{#var:tblColorHeader}};<!--
Line 59: Line 46:
     --> width:100%;<!--
     --> width:100%;<!--
     -->"|
     -->"|
-
{{#if:{{#var:path}}
+
{|style="background-color:{{#var:tblColorData}};" class="fullwidth"
-
|{{+!}} style="background-color:{{#var:tblColorData}};" class="fullwidth"
+
  !{{message|Master page}}:
  !{{message|Master page}}:
-
  {{!}}{{#if:{{#var:path}}
+
  |{{#if:{{#var:path}}
   |{{#if:{{#show:{{#var:root}}|?docinfo master page#}}
   |{{#if:{{#show:{{#var:root}}|?docinfo master page#}}
   |{{#show:{{#var:root}}|?docinfo master page#}}/{{#var:path}}
   |{{#show:{{#var:root}}|?docinfo master page#}}/{{#var:path}}
Line 73: Line 59:
   }}}</div>
   }}}</div>
   }}
   }}
-
  {{!}}-
+
  |-
  !{{message|Revision}}:
  !{{message|Revision}}:
-
  {{!}}{{{field
+
  |{{{field
   |master rev
   |master rev
   |input type=text
   |input type=text
Line 83: Line 69:
   |&nbsp;({{message|Latest}}: {{#show:{{#var:main}}|?revision id#}})
   |&nbsp;({{message|Latest}}: {{#show:{{#var:main}}|?revision id#}})
   }}
   }}
-
  {{!}}-
+
  |-
  !{{message|Next page}}:
  !{{message|Next page}}:
-
  {{!}}{{#if:{{#var:main}}
+
  |{{#if:{{#var:main}}
-
|<tt>{{#show:{{#var:main}}|?book next}}</tt>
+
  |<tt>{{#show:{{#var:main}}|?book next}}</tt>
 +
  |<div style="padding-right:0.5em;">{{{field
 +
  |next
 +
  |input type=text
 +
  |size=40
 +
  |class=fullwidth
 +
  }}}</div>
 +
  }}
 +
|-
 +
!{{message|Description}}:
  |<div style="padding-right:0.5em;">{{{field
  |<div style="padding-right:0.5em;">{{{field
-
  |next
 
-
  |input type=text
 
-
  |size=40
 
-
  |class=fullwidth
 
-
  }}}</div>
 
-
}}
 
-
{{!}}-
 
-
!{{message|Description}}:
 
-
{{!}}<div style="padding-right:0.5em;">{{{field
 
   |desc
   |desc
   |input type=text
   |input type=text
Line 102: Line 88:
   |class=fullwidth
   |class=fullwidth
   }}}</div>
   }}}</div>
-
  {{!}}{{#info:{{message|Default value}}: {{#if:{{#var:main}}
+
  |{{
 +
  #info:{{message|Default value}}: {{
 +
  #if:{{#var:main}}
   |{{#show:{{#var:main}}|?description}}
   |{{#show:{{#var:main}}|?description}}
   |''blank''
   |''blank''
   }}
   }}
   }}
   }}
-
  {{!}}-
+
  |-
  !{{message|Heading}}:
  !{{message|Heading}}:
-
  {{!}}<div style="padding-right:0.5em;">{{{field
+
  |<div style="padding-right:0.5em;">{{{field
   |heading
   |heading
   |input type=text
   |input type=text
Line 115: Line 103:
   |class=fullwidth
   |class=fullwidth
   }}}</div>
   }}}</div>
-
  {{!}}{{#info:{{message|Default value}}: {{#if:{{#var:main}}
+
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
   |{{#show:{{#var:main}}|?book header}}
   |{{#show:{{#var:main}}|?book header}}
   |''blank''
   |''blank''
   }}
   }}
   }}
   }}
-
  {{!}}-
+
  |-
  !{{message|Title}}:
  !{{message|Title}}:
-
  {{!}}<div style="padding-right:0.5em;">{{{field
+
  |<div style="padding-right:0.5em;">{{{field
   |title
   |title
   |input type=text
   |input type=text
Line 128: Line 116:
   |class=fullwidth
   |class=fullwidth
   }}}</div>
   }}}</div>
-
  {{!}}{{#info:{{message|Default value}}: {{#if:{{#var:main}}
+
  |{{#info:{{message|Default value}}: {{#if:{{#var:main}}
   |{{#show:{{#var:main}}|?book title}}
   |{{#show:{{#var:main}}|?book title}}
   |''blank''
   |''blank''
   }}
   }}
   }}
   }}
-
  {{!+}}
+
  |}
-
|<div id="form_master">
+
|<!-- SPACE -->
-
{{+!}}style="background-color:{{#var:tblColorData}};" class="fullwidth"
+
-
!{{message|Heading}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |heading
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!}}-
+
-
!{{message|Title}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |title
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!}}-
+
-
!{{message|Next page}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |next
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!}}-
+
-
!{{message|Description}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |desc
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!+}}
+
-
</div><div id="form_subsidary">
+
-
{{+!}}style="background-color:{{#var:tblColorData}};" class="fullwidth"
+
-
!{{message|Heading}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |heading
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!}}-
+
-
!{{message|Title}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |title
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!}}-
+
-
!{{message|Description}}:
+
-
{{!}}<div style="padding-right:0.5em;">{{{field
+
-
  |desc
+
-
  |input type=text
+
-
  |size=40
+
-
  |class=fullwidth
+
-
  }}}</div>
+
-
{{!+}}
+
-
</div>
+
-
}}
+
-
|
+
|style="background-color:{{#var:tblColorData}};<!--
|style="background-color:{{#var:tblColorData}};<!--
     --> border:1px solid {{#var:tblColorBorder}};<!--
     --> border:1px solid {{#var:tblColorBorder}};<!--

Revision as of 03:17, 21 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