Difference between revisions of "Template:Audubon Core TermNoComments2"
Line 6: | Line 6: | ||
--!><!-- 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= | -->{{#switch:{{#var:renderAs}}|RDF= | ||
− | <{{{ | + | <{{{ItemURI}}}> a rdf:Property; <br/> |
− | {{#ifeq: Foo{{{ | + | {{#ifeq: Foo{{{ItemURI}}} | Foohttp://rs.tdwg.org/ac/terms/hasServiceAccessPoint | rdfs:range ac:ServiceAccessPoint ; <br/>|DEBUG: Item URI = {{{Item URI}}} Comparison to <nowiki>http://rs.tdwg.org/ac/terms/hasServiceAccessPoint</nowiki> failed <br/> }} |
rdfs:label "{{{Label}}}" ; <br/> | rdfs:label "{{{Label}}}" ; <br/> | ||
ac:layer {{{Layer}}} ; <br/> | ac:layer {{{Layer}}} ; <br/> | ||
Line 20: | Line 20: | ||
-->|#default={{#ifeq: {{#var: labelIndex}} | 1 | <nowiki> | [[#</nowiki>{{{Label}}}<nowiki> | </nowiki>{{{Label}}} <nowiki>]]|</nowiki><br/> | | -->|#default={{#ifeq: {{#var: labelIndex}} | 1 | <nowiki> | [[#</nowiki>{{{Label}}}<nowiki> | </nowiki>{{{Label}}} <nowiki>]]|</nowiki><br/> | | ||
<tr id="{{{Label}}}"> | <tr id="{{{Label}}}"> | ||
− | <td id="{{{ | + | <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: {{{ | + | 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> | ||
<!-- <tr><td> switch value is {{#var:renderAs}}</td></tr> --> <!-- for debugging switch value --> | <!-- <tr><td> switch value is {{#var:renderAs}}</td></tr> --> <!-- for debugging switch value --> | ||
<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="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;">{{{ | + | <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> | <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;">{{#if: {{{Label}}} | {{{Label}}} | }}</td></tr> | <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{#if: {{{Label}}} | {{{Label}}} | }}</td></tr> |
Revision as of 02:13, 17 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>