Template:Include Element

From Odp

(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude> This is the 'Include Element' template. It should be called in the following format: <pre> {{Content OP Element |Icon= |Name= |Description= |ElementType= |Link= }} </pre> {| | ...)
Current revision (14:58, 24 February 2010) (view source)
 
(2 intermediate revisions not shown.)
Line 3: Line 3:
<pre>
<pre>
{{Content OP Element
{{Content OP Element
-
|Icon=
 
|Name=
|Name=
|Description=
|Description=
Line 10: Line 9:
}}
}}
</pre>
</pre>
 +
<includeonly>****
{|
{|
-
| {{{Icon|}}}
+
| {{#ifeq:{{{ElementType|}}}|owl:Class|[[Image:Class.gif||35x35px|Class]]}}
 +
{{#ifeq:{{{ElementType|}}}|owl:ObjectProperty|[[Image:ObjectProperty.gif|32x32px|ObjectProperty]]}}
 +
{{#ifeq:{{{ElementType|}}}|owl:DatatypeProperty|[[Image:DatatypeProperty.gif|32x32px|DatatypeProperty]]}}  
| {{{ElementType|-}}}
| {{{ElementType|-}}}
| {{{Name|-}}}
| {{{Name|-}}}
Line 17: Line 19:
| {{{Link|-}}}
| {{{Link|-}}}
|}
|}
 +
</includeonly>

Current revision

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

{{Content OP Element
|Name=
|Description=
|ElementType=
|Link=
}}
Personal tools
Quality Committee
Content OP publishers