Form: Semorg-generator: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info
This is the "Generator" form.
  |create title={{int:semorg-form-generator-create-title}}<span class="d-none">: <page name></span>
To create a page with this form, enter the page name below;
  |edit title={{int:semorg-form-generator-edit-title}}<span class="d-none">: <page name></span>
if a page with that name already exists, you will be sent to a form to edit that page.
  |page name=
 
}}}
 
{{#forminput:form=Generator}}


</noinclude><includeonly>
{{semorg-form-template|generator}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Generator}}}
{| class="formtable"
! template-id:
| {{{field|template-id|size=2}}}
|-
! page-name:
| {{{field|form-page-name}}} {{{field|form-unique-number|input type=checkbox}}} <code>/<unique number;start=1></code>
<div class="help-block">If the page name should be created automatically with incrementing number this is the part in front of <code>/<unique number;start=1></code></div>
|-
! fields:
| {{{field|template-fields|holds template}}}
|}
{{{end template}}}
{{{for template
  |Generator-field
  |multiple
  |add button text=Add field
  |embed in field=Generator[template-fields]
}}}
{| class="formtable"
! id:
| {{{field|field-id}}}
|-
! property id:
| {{{field|field-property-id|input type=text|size=2}}}
|-
! name:
| {{{field|field-name}}}
|-
! type:
| {{{field|field-type|input type=dropdown|values=wpg,txt,num,dat,boo,uri,ema,tel}}}
|-
! prefix:
| {{{field|field-prefix}}}
|-
! suffix:
| {{{field|field-suffix}}}
|-
! fields:
| {{{field|field-fields}}}
|-
! parameters:
| {{{field|field-parameters|property=field-parameters|input type=combobox}}}
|}
{{{end template}}}


{{{standard input|save}}} {{{standard input|cancel}}}
{{semorg-form-template-embed|generator-field|{{int:semorg-generator-template}}[template-fields]}}
{{semorg-form-standard-inputs}}
</includeonly>
</includeonly>

Latest revision as of 13:05, 26 April 2022

This page is part of the Semantic Organization extension.