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

From TDWG Terms Wiki
Jump to: navigation, search
m (moved Template:Concept Table grouped by Collection (AC3) to Template:Concept Table grouped by Collection (AC2): move it back, more than 2 query depth levels seem not possible)
(is of same table layout as Template:Concept Table grouped by Collection 2 (refactoring to minimise template calls))
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
#REDIRECT [[Template: Concept Table grouped by Collection 2]]
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 created by ask in [[Template:Concept_Table_grouped_by_Collection_(AC2)]]) are:
+
{{{1|}}} = ? #-
+
{{{2|}}} = ?terms-internal:enLabel #-
+
{{{3|}}} = ?terms-internal:enDefinition #-
+
{{{4|}}} = ?skos:example #-
+
{{{5|}}} = ?skos:note #-
+
{{{6|}}} = ?rdfs:isDefinedBy #-
+
 
+
[[Category: SMW ask template]]
+
</noinclude>
+
<tr id="{{{1|}}}">
+
<td id="{{anchorencode:{{{2|}}}}}" width="100px" style="text-align:right; vertical-align:bottom;background:#EEE; border-bottom: 1px solid #CCC; padding:1.1em 0.5em 0.5em 0.5em;">Concept Name:</td>
+
<td style="text-align:left; vertical-align:bottom;background:#EEE;border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:1.1em 0.5em 0.5em 0.5em;">'''[[{{{1|}}}]]'''</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;">{{Concept to imported URI|{{{1|{{{URI|}}}}}}}}</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;">{{{2|}}}</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;">{{{3|}}}</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;">Defined By</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{6|}}}</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;">&nbsp;</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">NOT YET WORKING: '''Required: '''  {{#if: {{{Required|}}} | {{{Required|}}} | No }} — NOT YET WORKING: '''Repeatable: ''' {{#if: {{{Repeatable|}}} | {{{Repeatable|}}} | default No }}</td>
+
</tr>{{
+
#if: {{{4|}}}
+
|<!--examples--><tr>
+
<td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">Examples:</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{4|}}}</td></tr>
+
}}{{
+
#if: {{{5|}}}
+
|<!--notes--><tr>
+
<td style="text-align:right;vertical-align:top;background:#EEE;border-right:1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">Notes:</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">{{{5|}}}</td></tr>
+
}}
+
<noinclude>
+
[[Category:Audubon Core]]
+
</noinclude>
+

Latest revision as of 15:11, 28 January 2020