Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Generated from a page schema)
Line 7: Line 7:
|Photo=
|Photo=
|Department=
|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)}}
{{#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}}
 
</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=Employees|Date_started={{{Date started|}}}|Photo={{{Photo|}}}|Department={{{Department|}}} }}
{| class="wikitable"
! Date started
! Date started
| {{{Date started|}}}
| {{{Date started|}}}
Line 23: Line 22:
! Department
! Department
| {{{Department|}}}
| {{{Department|}}}
|-
! Nicknames
| {{{Nicknames|}}}
|-
! Hobbies
| {{{Hobbies|}}}
|}
|}


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

Revision as of 02:16, March 9, 2015

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

{{Employee
|Date started=
|Photo=
|Department=
|Nicknames=
|Hobbies=
}}

Edit the page to see the template text. This template defines the table "Employees". View table.