Template:Content OP Element

From Odp

(Difference between revisions)
Jump to: navigation, search
Current revision (14:47, 4 March 2010) (view source)
 
(9 intermediate revisions not shown.)
Line 10: Line 10:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
</noinclude><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
-
{{#ifeq:{{{ElementType|}}}|owl:Class|[[Image:Class.gif|23x23px|Class]]}} {{#ifeq:{{{ElementType|}}}|owl:ObjectProperty|[[Image:ObjectProperty.gif|20x20px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:TransitiveProperty|[[Image:ObjectProperty.gif|20x20px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:SymmetricProperty|[[Image:ObjectProperty.gif|20x20px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:FunctionalProperty|[[Image:ObjectProperty.gif|20x20px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:InverseFuntionalProperty|[[Image:ObjectProperty.gif|20x20px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:DatatypeProperty|[[Image:DatatypeProperty.gif|20x20px|DatatypeProperty]]}} '''{{{Name|}}}''' ({{{ElementType|}}}) {{{Description|}}} |
+
{{Ontology element image|ElementType={{{ElementType|}}}|Size=20x20px|}} '''{{{Name|}}}''' ({{{ElementType|}}}) {{{Description|}}} |  
-
{{#ifeq:{{{ElementType|}}}|owl:Class|[[Image:Class.gif|48x48px|Class]]}} {{#ifeq:{{{ElementType|}}}|owl:ObjectProperty|[[Image:ObjectProperty.gif|45x45px|ObjectProperty]]}}  {{#ifeq:{{{ElementType|}}}|owl:TransitiveProperty|[[Image:ObjectProperty.gif|45x45px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:SymmetricProperty|[[Image:ObjectProperty.gif|45x45px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:FunctionalProperty|[[Image:ObjectProperty.gif|45x45px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:InverseFunctionalProperty|[[Image:ObjectProperty.gif|45x45px|ObjectProperty]]}} {{#ifeq:{{{ElementType|}}}|owl:DatatypeProperty|[[Image:DatatypeProperty.gif|45x45px|DatatypeProperty]]}}
+
{{Element of}}
 +
<div>{{Ontology element image|ElementType={{{ElementType|}}}|Size=45x45px|}}</div>
 +
 
'''Name''': [[Name::{{{Name|}}}]]  
'''Name''': [[Name::{{{Name|}}}]]  

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