Template:Example

From Odp

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<style></style>
 
<includeonly>
<includeonly>
<div style="font-style:italic;text-align:center;padding:5px;clear:both;background-color:#d3c6ff;border:1px dotted #44339B">
<div style="font-style:italic;text-align:center;padding:5px;clear:both;background-color:#d3c6ff;border:1px dotted #44339B">
{{{Text|}}}
{{{Text|}}}
-
<div style="border:1px solid #44339B; width:80%;background-color:#fff;margin:auto">
+
<div style="border:1px solid #44339B; width:80%;margin:5px;background-color:#fff;margin:auto">
[[Image:{{{Image|}}}]]
[[Image:{{{Image|}}}]]
</div>
</div>

Revision as of 09:10, 16 April 2008

This is a template for printing CP Examples.

{Example
|Image=
|Text=
}


Example of usage

{Example
|Image=SituationExampleDiagram.jpg
|Text=Content of the Text field
}

The result is

Content of the Text field

Image:SituationExampleDiagram.jpg


Note: the Image value is the name of the file without namespace:
Personal tools
Quality Committee
Content OP publishers