Difference between revisions of "Template:Audubon Core TermNoComments2"
Line 1: | Line 1: | ||
− | <!-- {{#ifeq: {{#var: nameIndex}} | 1 | <nowiki> | [[#</nowiki>{{{ItemName}}}<nowiki> | </nowiki>{{{ItemName}}} <nowiki>]]|</nowiki><br/> | | + | <!-- {{#ifeq: {{#var: nameIndex}} | 1 | <nowiki> | [[#</nowiki>{{{ItemName}}}<nowiki> | </nowiki>{{{ItemName}}} <nowiki>]]|</nowiki><br/> | --><!-- draft alternative to generate html literal markup |
− | --><!-- draft alternative to generate html literal markup | + | --><!-- comment out #ifeq gcode for now: |
− | --><!-- comment #ifeq for now | + | |
--><!-- | --><!-- | ||
{{#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=<{{{ItemURI}}}> a rdf:Property; <br/><!-- | -->{{#switch:{{#var:renderAs}}|RDF=<{{{ItemURI}}}> a rdf:Property; <br/><!-- | ||
− | -->{{#ifeq:{{{ItemName}}}|hasServiceAccessPoint| | + | -->{{#ifeq:{{{ItemName}}}|hasServiceAccessPoint| rdfs:range ac:ServiceAccessPoint ;<br/>|}}<!-- |
− | --> rdfs:label "{{{Label}}}" ; <br/><!-- | + | --> rdfs:label "{{{Label}}}" ; <br/><!-- |
− | --> ac:layer "{{{Layer}}}" ; <br/><!-- | + | --> ac:layer "{{{Layer}}}" ; <br/><!-- |
− | --> skos:definition "{{RDFquote|{{{Definition}}}}}" ; <br/><!-- | + | --> skos:definition "{{RDFquote|{{{Definition}}}}}" ; <br/><!-- |
− | --> skos:note " {{RDFquote|{{{Details}}}}}" ; <br/><!-- | + | --> skos:note " {{RDFquote|{{{Details}}}}}" ; <br/><!-- |
− | --> rdfs:isDefinedBy <{{{ItemURI}}}>.<br/><!-- | + | --> rdfs:isDefinedBy <{{{ItemURI}}}>.<br/><!-- |
− | --> {{#ifeq: {{{Required}}} | Yes | ### Restriction: Required ### <br/> <!-- | + | -->{{#ifeq: {{{Required}}} | Yes | ### Restriction: Required ### <br/><!-- |
− | --> {{ACCardinality|{{{ItemURI}}}|min|1}} }} <br/><!-- | + | -->{{ACCardinality|{{{ItemURI}}}|min|1}} }} <br/><!-- |
− | --> {{#ifeq: {{{Repeatable}}} | No | ### Restriction: Not Repeatable ### <br/> <!-- | + | -->{{#ifeq: {{{Repeatable}}} | No | ### Restriction: Not Repeatable ### <br/> <!-- |
− | --> {{ACCardinality|{{{ItemURI}}}|max|1}} }} <br/> | + | -->{{ACCardinality|{{{ItemURI}}}|max|1}} }} <br/> <!-- |
− | + | ||
− | <!-- | + | |
END OF CASE renderAs = RDF | END OF CASE renderAs = RDF | ||
BEGIN standard wiki html generation: | BEGIN standard wiki html generation: |
Revision as of 09:07, 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>