Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Undoing testing)
No edit summary
Line 5: Line 5:
{{Employee
{{Employee
|Date started=
|Date started=
|Date ended=
|Photo=
|Photo=
|Department=
|Department=
Line 15: Line 16:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Employees|Date_started=Datetime|Photo=File|Department=String (hierarchy;allowed values=*HR
{{#cargo_declare:_table=Employees|Date_started=Start datetime|Date_ended=End datetime|Photo=File|Department=String (hierarchy;allowed values=*HR
*Sales
*Sales
**North American sales
**North American sales
Line 25: Line 26:
**Hardware
**Hardware
**Software)|Nicknames=List (,) of String|Hobbies=List (,) of Text|Middle_name=String|Mission_statement=Text|Has_a_car=Boolean|One_file=File|Multiple_files=List (,) of File}}
**Software)|Nicknames=List (,) of String|Hobbies=List (,) of Text|Middle_name=String|Mission_statement=Text|Has_a_car=Boolean|One_file=File|Multiple_files=List (,) of File}}
</noinclude><includeonly>{{#cargo_store:_table=Employees|Date_started={{{Date started|}}}|Photo={{{Photo|}}}|Department={{{Department|}}}|Nicknames={{{Nicknames|}}}|Hobbies={{{Hobbies|}}}|Middle_name={{{Middle name|}}}|Mission_statement={{{Mission statement|}}}|Has_a_car={{{Has a car|}}}|One_file={{{One file|}}}|Multiple_files={{{Multiple files|}}} }}
</noinclude><includeonly>{{#cargo_store:_table=Employees|Date_started={{{Date started|}}}|Date_ended={{{Date ended|}}}|Photo={{{Photo|}}}|Department={{{Department|}}}|Nicknames={{{Nicknames|}}}|Hobbies={{{Hobbies|}}}|Middle_name={{{Middle name|}}}|Mission_statement={{{Mission statement|}}}|Has_a_car={{{Has a car|}}}|One_file={{{One file|}}}|Multiple_files={{{Multiple files|}}} }}
{| class="wikitable"
{| class="wikitable"
! Date started
! Date started
| {{{Date started|}}}
| {{{Date started|}}}
|-
! Date ended
| {{{Date ended|}}}
|-
|-
! Photo
! Photo

Revision as of 21:41, December 12, 2018

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

{{Employee
|Date started=
|Date ended=
|Photo=
|Department=
|Nicknames=
|Hobbies=
|Has a car=
|One file=
|Multiple files=
}}

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