Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Employee|ID=Integer|Color_code=Text}}
{{#cargo_declare:_table=Employee|ID=Integer|Color_code=Text (allowed values=Red,Blue,Yellow)}}
</noinclude><includeonly>{{#cargo_store:_table=Employee|ID={{{ID|}}}|Color_code={{{Color code|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>{{#cargo_store:_table=Employee|ID={{{ID|}}}|Color_code={{{Color code|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>

Revision as of 21:09, March 28, 2015

This is the "Employee" template. It should be called in the following format:

{{Employee
|ID=
|Color code=
}}

Edit the page to see the template text. This template defines the table "Employee". This table has not been created yet.