Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Generated from a page schema)
No edit summary
Line 4: Line 4:
<pre>
<pre>
{{Employee
{{Employee
|Date started=
|ID=
|Photo=
|Department=
|Nicknames=
|Hobbies=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Employees|Date_started=Date|Photo=File|Department=Text (allowed values=HR,Sales,Marketing,IT)|Nicknames=List (,) of Text|Hobbies=List (,) of Text}}
{{#cargo_declare:_table=Employee}}
</noinclude><includeonly>{{#cargo_store:_table=Employees|Date_started={{{Date started|}}}|Photo={{{Photo|}}}|Department={{{Department|}}}|Nicknames={{{Nicknames|}}}|Hobbies={{{Hobbies|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=Employee|ID={{{ID|}}} }}{| 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;"
! Date started
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
| {{{Date started|}}}
|-
|-
! Photo
! ID
| [[File:{{{Photo|}}}]]
| {{{ID|}}}
|-
! Department
| {{{Department|}}}
|-
! Nicknames
| {{{Nicknames|}}}
|-
! Hobbies
| {{{Hobbies|}}}
|}
|}


[[Category:Employees]]
[[Category:Employees]]
</includeonly>
</includeonly>

Revision as of 19:56, March 28, 2015

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

{{Employee
|ID=
}}

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