Difference between revisions of "Form:Semorg-generator"

From SemanticOrganization
Jump to: navigation, search
 
(31 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 name:
 
| {{{field|template-name}}}
 
|-
 
! 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}}}
 
|-
 
! parameters:
 
| {{{field|field-parameters|input type=text|autocomplete from property=field-parameters}}}
 
|-
 
! type:
 
| {{{field|field-type|input type=dropdown|values=wpg,txt,num,dat,boo,uri,ema}}}
 
|-
 
! prefix:
 
| {{{field|field-prefix}}}
 
|-
 
! suffix:
 
| {{{field|field-suffix}}}
 
|-
 
! fields:
 
| {{{field|field-fields}}}
 
|}
 
{{{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.