Difference between revisions of "Template:Concept Table grouped by Collection 2"

From TDWG Terms Wiki
Jump to: navigation, search
m (+{{Warning of heavily used semantic template}})
m (+documentation)
Line 3: Line 3:
  
 
This template outputs a single table row (<tr>) that contains generic information about ''one term'' (any wrapping <table> must be provided by an external template):
 
This template outputs a single table row (<tr>) that contains generic information about ''one term'' (any wrapping <table> must be provided by an external template):
  <tr> ────────────────
+
  <tr> ───────────┼────────
  │ ''concept term name''
+
│ Concept name │ ''term''
  ┼───────────────┬───
+
  ┼───────────────┼────────
 
  │ Normative URI │ …
 
  │ Normative URI │ …
 
  ┼───────────────┼───
 
  ┼───────────────┼───

Revision as of 15:53, 27 January 2020

This template outputs a single table row (<tr>) that contains generic information about one term (any wrapping <table> must be provided by an external template):

<tr> ───────────┼────────
│ Concept name  │ term
┼───────────────┼────────
│ Normative URI │ …
┼───────────────┼───
│ Label         │ …
┼───────────────┼───
│ Definition    │ …
┼───────────────┼───
│ Defined By    │ …
┼───────────────┼───
│               │ Required: No/Yes — Repeatable: Yes/No
┼───────────────┼───
│ Notes:        │ …
┼───────────────┼───
</tr>

The template parameters (as created by ask in Template:Concept_Table_grouped_by_Collection_1) are:

Values from
Template:Concept Table grouped by Collection 1
Corresponding parameters here
(Template:Concept Table grouped by Collection 2)
= ? #-
= ?terms-internal:enLabel #-
= ?terms-internal:enDefinition #-
= ?terms-internal:enExample #-
= ?terms-internal:enNote #-
= ?rdfs:isDefinedBy #-
= ?dcterms:identifier #-
|1=
|2=
|3=
|4=
|5=
|6=
|7=

Technical Documentation

It uses variables

  • constraintOfConcept (repeatable, required is saved in property: cardinality but is contained in subobject constraint of concept, which will ask for {{#ask [[constraint of concept::concept-page-name i.e. {{{1}}}]]}})

Dependencies

TODO