Difference between revisions of "Template:Abbr"

From Meta-Omics Data of Collection Objects
Jump to: navigation, search
m (Import basic concepts, templates, terms, forms from http://terms.tdwg.org)
 
(Import basic concepts, templates, terms, forms from http://terms.tdwg.org)
Line 1: Line 1:
{{#if: {{{2|}}}<!--
+
#REDIRECT [[Template:Abbr]]
THEN: special self defined abbreviation
+
-->|<abbr title="{{{2}}}">{{{1}}}</abbr><!--
+
 
+
ELSE: try one abbreviation from the list
+
-->|{{#if: {{{1|}}}<!--
+
  then -->|{{#switch: {{{1|}}}
+
<!-- 
+
| … = <abbr title="…">…</abbr>
+
-->
+
| API = <abbr title="Application programming interface">API{{#set: abbreviation=API}}</abbr>
+
| AC = <abbr title="Audubon Core">AC{{#set: abbreviation=AC}}</abbr>
+
| DC = <abbr title="Dublin Core">DC{{#set: abbreviation=DC}}</abbr>
+
| DCMI = <abbr title="Dublin Core Metadata Initiative">DCMI{{#set: abbreviation=DCMI}}</abbr>
+
| DwC = <abbr title="Darwin Core">DwC{{#set: abbreviation=DwC}}</abbr>
+
| GBIF = <abbr title="Global Biodiversity Information Facility">GBIF{{#set: abbreviation=GBIF}}</abbr>
+
| GUID = <abbr title="Globally Unique Identifier">GUID{{#set: abbreviation=GUID}}</abbr>
+
| ICBN = <abbr title="International Code of Botanical Nomenclature">ICBN{{#set: abbreviation=ICBN}}</abbr>
+
| LSID = <abbr title="Life Sciences Identifier">LSID{{#set: abbreviation=LSID}}</abbr>
+
| MW = <abbr title="Media Wiki">MW{{#set: abbreviation=MW}}</abbr>
+
| MRTG = <abbr title="Multimedia Resource Task Group">MRTG{{#set: abbreviation=MRTG}}</abbr>
+
| ns = <abbr title="name space">ns{{#set: abbreviation=ns}}</abbr>
+
| OBO = <abbr title="Open Biological and Biomedical Ontologies">OBO{{#set: abbreviation=OBO}}</abbr>
+
| OWL = <abbr title="Web Ontology Language">OWL{{#set: abbreviation=OWL}}</abbr>
+
| OWL DL = <abbr title="Web Ontology Language description logics">OWL DL{{#set: abbreviation=OWL DL}}</abbr>
+
| PID = <abbr title="Process ID">PID{{#set: abbreviation=PID}}</abbr>
+
| RDF = <abbr title="Resource Description Framework">RDF{{#set: abbreviation=RDF}}</abbr>
+
| sed = <abbr title="stream editor (Linux)">sed{{#set: abbreviation=sed}}</abbr>
+
| SMW = <abbr title="Semantic Media Wiki">SMW{{#set: abbreviation=SMW}}</abbr>
+
| SKOS = <abbr title="Simple Knowledge Organization System">SKOS{{#set: abbreviation=SKOS}}</abbr>
+
| TDWG = <abbr title="Taxonomic Databases Working Group">TDWG{{#set: abbreviation=TDWG}}</abbr>
+
| URI = <abbr title="Uniform Resource Identifier">URI{{#set: abbreviation=URI}}</abbr>
+
| URIs = <abbr title="Uniform Resource Identifiers">URIs{{#set: abbreviation=URI}}</abbr>
+
| URL = <abbr title="Uniform Resource Locator">URL{{#set: abbreviation=URL}}</abbr>
+
| URLs = <abbr title="Uniform Resource Locators">URLs{{#set: abbreviation=URL}}</abbr>
+
| URN = <abbr title="Uniform Resource Name">URN{{#set: abbreviation=URN}}</abbr>
+
| URNs = <abbr title="Uniform Resource Names">URNs{{#set: abbreviation=URN}}</abbr>
+
| XML = <abbr title="Extensible Markup Language">XML{{#set: abbreviation=XML}}</abbr>
+
| XSL = <abbr title="Extensible Stylesheet Language">XSL{{#set: abbreviation=XSL}}</abbr>
+
| XSLT = <abbr title="Extensible Stylesheet Language Transformations">XSLT{{#set: abbreviation=XSLT}}</abbr>
+
| #default = <span class="error">Abbreviation “{{{1|}}}” not known. Add it to [{{fullurl:template: abbr|action=edit}} template: abbr].</span>
+
}}<!-- end-switch
+
  else -->|{{TemplateError
+
| text = This template creates an abbreviation tag &lt;abbr title="...">short&lt;/abbr> and is case sensitive. Usage:
+
* <code><nowiki>{{abbr | SMW}}</nowiki></code> creates <abbr title="Semantic Media Wiki">SMW</abbr>
+
* <code><nowiki>{{abbr | spAbr | special abbreviation}}</nowiki></code> creates an only locally defined abbreviation: <abbr title="special abbreviation">spAbr</abbr>
+
 
+
Sets [[property: abbreviation]]
+
{{#ifeq: {{FULLPAGENAME}}|Template:Abbr||Further abbreviations see [[template: abbr]].}}<!--
+
-->}}<!--
+
-->}}<!-- end if {{{1}}}
+
-->}}<!-- end if {{{2}}} --><noinclude>
+
{{Documentation}}
+
</noinclude>
+

Revision as of 01:59, 8 September 2016

Redirect to: