Difference between revisions of "Template:Concept Table grouped by Collection (AC2)"

From TDWG Terms Wiki
Jump to: navigation, search
m (try Template:Concept to imported URI, + #anchorencode: of #ask ?terms-internal:enLabel)
Line 12: Line 12:
 
</noinclude>
 
</noinclude>
 
<tr id="{{{1|}}}">
 
<tr id="{{{1|}}}">
<td id="{{{2|}}}" 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;">Concept Name:&nbsp;&nbsp; '''{{{1|}}}'''</td>
+
<td id="{{#anchorencode:{{{2|}}}}}" 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;">Concept Name:&nbsp;&nbsp; '''{{{1|}}}'''</td>
 
</tr><tr>
 
</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;">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;">Normative URI:</td>
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{URI|}}}</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{Concept to imported URI|{{{1|{{{URI|}}}}}}}}</td>
 
</tr><tr>
 
</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;">Label</td>
 
<td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">Label</td>

Revision as of 09:34, 19 October 2012

This template outputs a single term as a set of rows in a table (which must be opened and closed by an external template).

The template parameters (as called in Template:Concept_Table_grouped_by_Collection_(AC1)) are:

= ? #-
= ?terms-internal:enLabel #-
= ?skos:definition #-
= ?skos:examples #-
= ?skos:notes #-

<tr id=""> <td id="{{#anchorencode:}}" 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;">Concept Name:   '</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;">Normative URI:</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;"></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;">Label</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;"></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;"> </td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">Required: No — 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;">Definition:</td> <td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;"></td> </tr>