Template:Annotation: Difference between revisions

From ChemWiki
(Added to the wiki via WikiImport-Script.)
 
(Added to the wiki via WikiImport-Script.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>Template for inline annotation in VE</noinclude><includeonly>{{#set:{{{property}}}={{{value}}} }}{{{display}}}</includeonly>
<noinclude>
Template for inline annotation in VE (can contain multiple tags with ontology)
{{{value}}} is a comma-separated list of tags. Tag and ontology are separated by semi-colon:
e.g. "tag1; onto1, tag2; , tag3; onto3". Ontology can be empty
{{{display}}} is what is shown on the wiki page/in VE
</noinclude><includeonly>{{#arraymaptemplate:{{{value|}}}|AnnotationWithOntology|,|}}<span class="ce-annotation" resource="{{{value|}}}">{{{display}}}</span></includeonly>

Latest revision as of 16:40, 7 March 2024

Template for inline annotation in VE (can contain multiple tags with ontology) {{{value}}} is a comma-separated list of tags. Tag and ontology are separated by semi-colon: e.g. "tag1; onto1, tag2; , tag3; onto3". Ontology can be empty {{{display}}} is what is shown on the wiki page/in VE