Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Added file links)
(Test of accents in field names)
Line 15: Line 15:
</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=Text (allowed values=HR,Sales,Marketing,IT)|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}}
{{#cargo_declare:_table=Employees|Date_started=Datetime|Photo=File|Départment=Text (allowed values=HR,Sales,Marketing,IT)|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|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=Employees|Date_started={{{Date started|}}}|Photo={{{Photo|}}}|Départment={{{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"
! Date started
! Date started
| {{{Date started|}}}
| {{{Date started|}}}

Revision as of 18:48, March 27, 2017

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

{{Employee
|Date started=
|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.