Template:Employee: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
(5 intermediate revisions by the same user not shown)
Line 25: Line 25:
**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|}}}|Photo={{{Photo|}}}|Department={{{Department|}}}|Nicknames={{{Nicknames|}}}|Hobbies={{{Hobbies|}}}|Middle_name={{{Middle name|}}}|Mission_statement={{#cargo_query:table=Fruits|fields=Color,Shape|format=template|template=MakeLink|delimiter=,|no html}}|Has_a_car={{{Has a car|}}}|One_file={{{One file|}}}|Multiple_files={{{Multiple files|}}} }}
{| class="wikitable"
{| class="wikitable"
! Date started
! Date started
Line 46: Line 46:
|-
|-
! Mission statement
! Mission statement
| {{{Mission statement|}}}
| {{#cargo_query:table=Fruits|fields=Color,Shape|format=template|template=MakeLink|delimiter=,|no html}}
|-
|-
! Has a car?
! Has a car?

Revision as of 02:15, August 16, 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. This template defines the table "Employees". View table.