Difference between revisions of "Form:Concept"

From TDWG Terms Wiki
Jump to: navigation, search
m (Layout)
m (try fixing form by using only HTML as table syntax)
Line 26: Line 26:
 
     --><th> Notes:</th><td> {{{field|notes|input type=textarea|autogrow}}}</td><!--
 
     --><th> Notes:</th><td> {{{field|notes|input type=textarea|autogrow}}}</td><!--
 
   --></tr><tr><!--
 
   --></tr><tr><!--
  --><th> Imported from: </th><td> {{{field|imported from}}} {{#info: SMW import prefix}}</td><!--
+
    --><th> Imported from: </th><td> {{{field|imported from}}} {{#info: SMW import prefix}}</td><!--
 
   --></tr><tr><!--
 
   --></tr><tr><!--
 
     --><th> Has type ({{abbr|SMW}}): </th><td> {{{field|SMW has type| input type= dropdown| values=Page, String, Text, Code, Boolean, Number, Geographic coordinates, Temperature, Date, Email, URL, Annotation URI, Telephone number, Record, Quantity|default=String}}} {{#info: Semantic MediaWiki’s “has type“}}</td><!--
 
     --><th> Has type ({{abbr|SMW}}): </th><td> {{{field|SMW has type| input type= dropdown| values=Page, String, Text, Code, Boolean, Number, Geographic coordinates, Temperature, Date, Email, URL, Annotation URI, Telephone number, Record, Quantity|default=String}}} {{#info: Semantic MediaWiki’s “has type“}}</td><!--
Line 52: Line 52:
 
     -->}}<!--
 
     -->}}<!--
 
     --></td><!--
 
     --></td><!--
   --></tr><!--
+
   --></tr></table>
--></table>
+
 
{{{end template}}}
 
{{{end template}}}
  
 
{{{for template|Concept relation|multiple|label=Relation mappings|add button text=Add another relation}}}
 
{{{for template|Concept relation|multiple|label=Relation mappings|add button text=Add another relation}}}
<div class="floating-form-parts">'''Relation:''' {{{field|relation| input type= dropdown| values=obo_rel: adjacent to, obo_rel: contained in, obo_rel: derives from, obo_rel: has agent, obo_rel: integral part of, obo_rel: located in, obo_rel: part of, obo_rel: preceded by, obo_rel: proper part of, obo_rel: transformation of, skos: in scheme, skos: collection, skos: has broader match, skos: has close match, skos: has exact match, skos: has narrower match, skos: has participant, skos: has related match, skos: is in mapping relation with, rdfs: see also, rdfs: subclass of, rdfs: subproperty of}}}</div>
+
<table class="formtable"><!--
 +
  --><tr><!--
 +
    --><td><!--
 +
      --><div class="floating-form-parts">'''Relation:''' {{{field|relation| input type= dropdown| values=obo_rel: adjacent to, obo_rel: contained in, obo_rel: derives from, obo_rel: has agent, obo_rel: integral part of, obo_rel: located in, obo_rel: part of, obo_rel: preceded by, obo_rel: proper part of, obo_rel: transformation of, skos: in scheme, skos: collection, skos: has broader match, skos: has close match, skos: has exact match, skos: has narrower match, skos: has participant, skos: has related match, skos: is in mapping relation with, rdfs: see also, rdfs: subclass of, rdfs: subproperty of}}}</div>
 
<div class="floating-form-parts">Either&nbsp;an&nbsp;'''Internal page:''' {{{field|internal page|input type=text with autocomplete|values from namespace=main}}}</div>
 
<div class="floating-form-parts">Either&nbsp;an&nbsp;'''Internal page:''' {{{field|internal page|input type=text with autocomplete|values from namespace=main}}}</div>
<div class="floating-form-parts">or&nbsp;'''{{Abbr|URI}}:''' {{{field|uri}}}</div>{{clear}}
+
<div class="floating-form-parts">or&nbsp;'''{{Abbr|URI}}:''' {{{field|uri}}}</div>
 +
{{clear}}<!--
 +
      --></tr></table>
 
{{{end template}}}
 
{{{end template}}}
  
 
{{{for template|Concept translation|multiple|label=Translations|add button text=Add another translation}}}
 
{{{for template|Concept translation|multiple|label=Translations|add button text=Add another translation}}}
{| class="formtable"
+
<table class="formtable"><!--
! Label:
+
  --><tr><!--
| {{{field|label|mandatory}}}
+
    --><th>Label:</th><td> {{{field|label|mandatory}}}</td><!--
|-
+
  --></tr><tr><!--
! Language:
+
    --><th>Language:</th><td>{{{field|language|mandatory|placeholder=ISO 639 code}}}</td><!--
| {{{field|language|mandatory|placeholder=ISO 639 code}}}
+
  --></tr><tr><!--
|-
+
    --><th>Definition:</th><td>{{{field|definition|mandatory|input type=textarea}}}</td><!--
! Definition:
+
  --></tr><tr><!--
| {{{field|definition|mandatory|input type=textarea}}}
+
    --><th>Example:</th><td>{{{field|example|input type=textarea}}}</td><!--
|-
+
  --></tr><tr><!--
! Example:
+
    --><th>Is released:</th><td>{{{field|is released|input type= dropdown| values=yes, no}}}</td><!--
| {{{field|example|input type=textarea}}}
+
  --></tr></table>
|-
+
! Is released:
+
| {{{field|is released|input type= dropdown| values=yes, no}}}
+
|}
+
 
{{{end template}}}
 
{{{end template}}}
  

Revision as of 14:26, 13 September 2012

This is the "Concept" 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.