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

From TDWG Terms Wiki
Jump to: navigation, search
(is of same table layout as Template:Concept Table grouped by Collection 2 (refactoring to minimise template calls))
 
(20 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 called in [[Template:Concept_Table_grouped_by_Collection_(AC1)]]) are:
+
{{{1|}}} = ? #-
+
{{{2|}}} = ?terms-internal:enLabel #-
+
{{{3|}}} = ?skos:definition #-
+
{{{4|}}} = ?skos:examples #-
+
{{{5|}}} = ?skos:notes #-
+
 
+
[[Category: SMW ask template]]
+
</noinclude>
+
<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>
+
</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;">{{{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;">&nbsp;</td>
+
<td style="border-right: 1px solid #CCC; border-bottom: 1px solid #CCC; padding:0.5em;">'''Required: '''  {{#if: {{{Required|}}} | {{{Required|}}} | No }} — '''Repeatable: ''' {{#if: {{{Repeatable|}}} | {{{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;">{{{3|}}}</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;">Notes:</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