Difference between revisions of "Form:Concept"

From TDWG Terms Wiki
Jump to: navigation, search
m
m (form is not rendered correctly: try fixing form using <!-- … -->)
Line 11: Line 11:
 
   <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
   <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
  
-->{{{for template|Concept|label=Definitions}}}
+
-->{{{for template|Concept|label=Definitions}}}<!--
<table class="formtable"><tr>
+
--><table class="formtable"><!--
<td colspan="2">
+
  --><tr><!--
<div class="floating-form-parts">'''Label''' <br/>{{{field|label|mandatory}}}</div>
+
    --><td colspan="2"><!--
<div class="floating-form-parts">'''Alternative labels''' {{#info: A comma separated list}}<br/>{{{field|alternative labels| placeholder=alternative labels as comma separated list| list| delimiter= ,|size=100}}}</div>
+
      --><div class="floating-form-parts">'''Label''' <br/>{{{field|label|mandatory}}}</div><!--
{{Clear}}
+
      --><div class="floating-form-parts">'''Alternative labels''' {{#info: A comma separated list}}<br/>{{{field|alternative labels| placeholder=alternative labels as comma separated list| list| delimiter= ,|size=100}}}</div><!--
</td>
+
      -->{{Clear}}<!--
</tr><tr>
+
    --></td><!--
<th> Definition:</th><td> {{{field|definition|mandatory}}}</td>
+
  --></tr><tr><!--
</tr><tr>
+
    --><th> Definition:</th><td> {{{field|definition|mandatory}}}</td><!--
<th> Example:</th><td> {{{field|example|input type=textarea|autogrow}}}</td>
+
  --></tr><tr><!--
</tr><tr>
+
    --><th> Example:</th><td> {{{field|example|input type=textarea|autogrow}}}</td><!--
<th> Notes:</th><td> {{{field|notes|input type=textarea|autogrow}}}</td>
+
  --></tr><tr><!--
</tr><tr>
+
    --><th> Notes:</th><td> {{{field|notes|input type=textarea|autogrow}}}</td><!--
<th> Imported from: </th><td> {{{field|imported from}}} {{#info: SMW import prefix}}</td>
+
  --></tr><tr><!--
</tr><tr>
+
  --><th> Imported from: </th><td> {{{field|imported from}}} {{#info: SMW import prefix}}</td><!--
<th> Has type ({{abbr|SMW}}): </th><td> {{{field|has type SMW| 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>
+
  --></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><!--
<td colspan="2">{{Hidden
+
  --></tr><tr><!--
 +
    --><td><!--
 +
    -->{{Hidden
 
| contentstyle = border-left:1px solid #ccc;border-bottom:1px solid #ccc;padding:5px;
 
| contentstyle = border-left:1px solid #ccc;border-bottom:1px solid #ccc;padding:5px;
| header = '''Details: Issued, Modified, Replaced by, …'''
+
| header = Details: Issued, Modified, Replaced by, …
| content = <table><tr>
+
| content = <!--
<td> Issued:</td><td> {{{field|issued|default=}}}</td>
+
  --><table><tr><!--
</tr><tr>
+
      --><th> Issued:</th><td> {{{field|issued|default=}}}</td><!--
<td> Modified:</td><td> {{{field|modified|default=}}}</td>
+
    --></tr><tr><!--
</tr><tr>
+
      --><th> Modified:</th><td> {{{field|modified|default=}}}</td><!--
<td> Status:</td><td> {{{field|status|input type= dropdown| values= archaic, deprecated, recommended, required, stable, testing, unstable}}} {{#info: The status of a vocabulary term, expressed as a short symbolic string; known values include e.g. 'deprecated' or 'stable'}}</td>
+
    --></tr><tr><!--
</tr><tr>
+
      --><th> Status:</th><td> {{{field|status|input type= dropdown| values= archaic, deprecated, recommended, required, stable, testing, unstable}}} {{#info: The status of a vocabulary term, expressed as a short symbolic string; known values include e.g. 'deprecated' or 'stable'}}</td><!--
<td> Replaced by:</td><td> {{{field|replaced by|values from category=vocabulary}}} {{#info: A related resource that supplants, displaces, or supersedes the described resource.}}</td>
+
    --></tr><tr><!--
</tr><tr>
+
      --><th> Replaced by:</th><td> {{{field|replaced by|values from category=vocabulary}}} {{#info: A related resource that supplants, displaces, or supersedes the described resource.}}</td><!--
<td> Replaces:</td><td> {{{field|replaces}}} {{#info: A related resource that is supplanted, displaced, or superseded by the described resource.}}</td>
+
    --></tr><tr><!--
</tr><tr>
+
      --><th> Replaces:</th><td> {{{field|replaces}}} {{#info: A related resource that is supplanted, displaced, or superseded by the described resource.}}</td><!--
<td> Is defined by:</td><td> {{{field|is defined by}}} {{#info: The subject is a subclass of a class.}}</td>
+
    --></tr><tr><!--
</tr><tr>
+
      --><th> Is defined by:</th><td> {{{field|is defined by}}} {{#info: The subject is a subclass of a class.}}</td><!--
<td> Rdfs:range:</td><td> {{{field|rdfs:range|restricted}}} {{#info: A range of the subject property.}}</td>
+
    --></tr><tr><!--
</tr></table>}}</td>
+
      --><th> Rdfs:range:</th><td> {{{field|rdfs:range|restricted}}} {{#info: A range of the subject property.}}</td><!--
</tr>
+
    --></tr></table><!--
</table>
+
    -->}}<!--
 +
    --></td><!--
 +
  --></tr><!--
 +
--></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}}}
{| class="formtable"
+
<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">'''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}}
|}
 
 
{{{end template}}}
 
{{{end template}}}
  

Revision as of 14:15, 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.