Template:Employee: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) (Undo revision 28221 by Yaron Koren (talk)) |
||
Line 10: | Line 10: | ||
|Hobbies= | |Hobbies= | ||
|Has a car= | |Has a car= | ||
}} | }} | ||
</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 | {{#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}} | ||
</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 | </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|}}} }}{| class="wikitable" | ||
! Date started | ! Date started | ||
| {{{Date started|}}} | | {{{Date started|}}} | ||
Line 39: | Line 38: | ||
! Has a car? | ! Has a car? | ||
| {{{Has a car|}}} | | {{{Has a car|}}} | ||
|} | |} | ||
[[Category:Employees]] | [[Category:Employees]] | ||
</includeonly> | </includeonly> |
Revision as of 22:31, November 22, 2015
This is the "Employee" template. It should be called in the following format:
{{Employee |Date started= |Photo= |Department= |Nicknames= |Hobbies= |Has a car= }}
Edit the page to see the template text. This template defines the table "Employees". View table.