Difference between revisions of "Template:Audubon Core TermNoComments2"

From Species-ID
Jump to: navigation, search
Line 4: Line 4:
 
{{#ifeq: {{#var: gcode }} | yes |  
 
{{#ifeq: {{#var: gcode }} | yes |  
 
--!><!-- 1. WHEN CALLER SETS renderAs = RDF, THIS CODE SHOULD EXECUTE, ELSE code starting at BEGIN standard wiki html generation:
 
--!><!-- 1. WHEN CALLER SETS renderAs = RDF, THIS CODE SHOULD EXECUTE, ELSE code starting at BEGIN standard wiki html generation:
-->{{#switch:{{#var:renderAs}}|RDF=<br/><br/><{{{ItemURI}}}> a rdf:Property; <br/><!--
+
-->{{#switch:{{#var:renderAs}}|RDF=<br/><br/><{{{ItemURI}}}> a rdf:Property ;{{
-->{{#ifeq:{{{ItemName}}}|hasServiceAccessPoint| &nbsp;&nbsp;&nbsp;&nbsp; rdfs:range ac:ServiceAccessPoint ;<br/>|}}<!--
+
#ifeq:{{{ItemName}}}|hasServiceAccessPoint|
-->&nbsp;&nbsp;&nbsp;&nbsp; rdfs:label "{{{Label}}}" ; <br/><!--
+
:: rdfs:range ac:ServiceAccessPoint ;|
-->&nbsp;&nbsp;&nbsp;&nbsp; ac:layer "{{{Layer}}}" ; <br/><!--
+
}}:: rdfs:label "{{{Label}}}" ;
-->&nbsp;&nbsp;&nbsp;&nbsp; skos:definition "{{RDFquote|{{{Definition}}}}}" ;<br/><!--
+
:: ac:layer "{{{Layer}}}" ;
-->&nbsp;&nbsp;&nbsp;&nbsp; skos:note " {{RDFquote|{{{Details}}}}}" ;<br/><!--
+
:: skos:definition "{{RDFquote|{{{Definition}}}}}" ;
-->&nbsp;&nbsp;&nbsp;&nbsp; rdfs:isDefinedBy <{{{ItemURI}}}>.<br/><!--
+
:: skos:note " {{RDFquote|{{{Details}}}}}" ;
-->{{#ifeq: {{{Required}}} | Yes | &nbsp;&nbsp;&nbsp;&nbsp; ### Restriction: Required ### <br/><!--
+
:: rdfs:isDefinedBy <{{{ItemURI}}}>.{{
-->{{ACCardinality|{{{ItemURI}}}|min|1}} }}<br/><!--
+
#ifeq: {{{Required}}} | Yes |  
-->{{#ifeq: {{{Repeatable}}} | No | &nbsp;&nbsp;&nbsp;&nbsp;  ### Restriction: Not Repeatable ### <br/> <!--
+
:: <nowiki>###</nowiki> Restriction: Required ###<br/>{{ACCardinality|{{{ItemURI}}}|min|1}} }}{{
-->{{ACCardinality|{{{ItemURI}}}|max|1}} }}<br/><!--
+
#ifeq: {{{Repeatable}}} | No |
 +
:: <nowiki>###</nowiki> Restriction: Not Repeatable ###{{ACCardinality|{{{ItemURI}}}|max|1}} }}<!--
 
END OF CASE renderAs = RDF
 
END OF CASE renderAs = RDF
 
BEGIN standard wiki html generation:
 
BEGIN standard wiki html generation:

Revision as of 17:35, 27 August 2012

<tr id="{{{Label}}}"> <td id="{{{ItemName}}}" colspan = "2" style="vertical-align:bottom;background:#EEE;border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;padding-top:1.1em;font-size:100%;font-weight:bold;">Term Name: {{{ItemName}}}</td> </tr> <tr> <td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em; font-family:Verdana,Arial,sans-serif;">Normative URI:</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{ItemURI}}}</td></tr> <tr><td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em; font-family:Verdana,Arial,sans-serif;">Label</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{Label}}}</td></tr> <tr><td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em; font-family:Verdana,Arial,sans-serif;"> </td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">Layer: {{{Layer}}} — Required: {{{Required}}} — Repeatable: default No</td> </tr> <tr> <td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em; font-family:Verdana,Arial,sans-serif;">Definition:</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{Definition}}}</td> </tr> <tr> <td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em; font-family:Verdana,Arial,sans-serif;">Details</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{Details}}}</td></tr> <tr>