Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
*IT
*IT
**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|Valid=String|Enum=String|Hidden=String|Parameter=String}}
**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|Valid=String|Default=String|Hidden=String|Parameter=String}}
</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|}}}|Valid={{{Department|}}}|Enum={{{Department|}}}|Hidden={{{Department|}}}|Parameter={{{Department|}}} }}{| class="wikitable"
</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|}}}|Valid={{{Department|}}}|Default={{{Department|}}}|Hidden={{{Department|}}}|Parameter={{{Department|}}} }}{| class="wikitable"
! Date started
! Date started
| {{{Date started|}}}
| {{{Date started|}}}

Revision as of 19:41, January 26, 2018

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.

Error: "Default" cannot be used as a Cargo field name, because it is an SQL keyword.