Template:Content OP Element

From Odp

(Difference between revisions)
Jump to: navigation, search
Current revision (14:47, 4 March 2010) (view source)
 
(45 intermediate revisions not shown.)
Line 9: Line 9:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
-
</noinclude><includeonly>  
+
</noinclude><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
-
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
+
{{Ontology element image|ElementType={{{ElementType|}}}|Size=20x20px|}} '''{{{Name|}}}''' ({{{ElementType|}}}) {{{Description|}}} |  
-
  {{#ifeq:{{{ElementType|}}}|owl:Class|[[Image:Class.gif||32x32px|Class]]}}
+
{{Element of}}
-
  {{#ifeq:{{{ElementType|}}}|owl:ObjectProperty|[[Image:ObjectProperty.gif|32x32px|ObjectProperty]]}}
+
<div>{{Ontology element image|ElementType={{{ElementType|}}}|Size=45x45px|}}</div>
-
  {{#ifeq:{{{ElementType|}}}|owl:DatatypeProperty|[[Image:DatatypeProperty.gif|32x32px|DatatypeProperty]]}}
+
 
-
  [[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{Name|}}}|{{{Name|}}}]] 
+
-
|
+
-
  {{#ifeq:{{{ElementType|}}}|owl:Class|'''Class'''[[Image:Class.gif||]]}}
+
-
  {{#ifeq:{{{ElementType|}}}|owl:ObjectProperty|'''ObjectProperty''' [[Image:ObjectProperty.gif|ObjectProperty.gif]]}}
+
-
  {{#ifeq:{{{ElementType|}}}|owl:DatatypeProperty|'''DatatypeProperty '''[[Image:DatatypeProperty.gif|DatatypeProperty.gif]]}}
+
'''Name''': [[Name::{{{Name|}}}]]  
'''Name''': [[Name::{{{Name|}}}]]  
Line 24: Line 19:
'''Description''': [[Description::{{{Description|}}}]]
'''Description''': [[Description::{{{Description|}}}]]
-
 
+
[[Category:OntologyElement]]
}}  
}}  
</includeonly>
</includeonly>

Current revision

This is the 'Content OP Element' template. It should be called in the following format:

{{Content OP Element
|Name=
|Description=
|ElementType=
}}

Edit the page to see the template text.

Personal tools
Quality Committee
Content OP publishers