Jump to content

Employees: Difference between revisions

From NewsWikiTestbed
AdamZachar (talk | contribs)
No edit summary
AdamZachar (talk | contribs)
No edit summary
Line 1: Line 1:
{{#get_db_data:
|db = DataDemo
|query = employeeQuery
|data = empFirst=emp_first, empLast=emp_last, empOffice=office_city, empRole=emp_role
}}
<div align="center">
{| class="wikitable"
  ! Name !! Office !! Role
  {{#for_external_table:
  |{{!}}-
  {{!}}
  {{{empFirst}}}
  {{{empLast}}}
  {{!}}
  [[{{{empOffice}}}]]
  {{!}}
  {{{empRole}}}
  }}
|}
</div>
{{#get_db_data:
{{#get_db_data:
  |db = DataDemo
  |db = DataDemo
Line 25: Line 4:
  |data=officeAddress=office_address, officeCity=office_city, officeState=office_state, officeZip=office_zip
  |data=officeAddress=office_address, officeCity=office_city, officeState=office_state, officeZip=office_zip
}}
}}
Testing the #external_value functionality:
{{#external_value:officeCity}}
Testing the wikitable functionality:


{| class="wikitable"
{| class="wikitable"
Line 30: Line 15:
   {{#for_external_table:
   {{#for_external_table:
     |{{!}}-
     |{{!}}-
     {{!}}
     {{!}} {{{officeAddress}}} {{!}}{{!}} [[{{{officeCity}}}]] {{!}}{{!}} {{{officeState}}} {{!}}{{!}} {{{officeZip}}}
    {{{officeAddress}}}
    {{!}}
    {{!}}
    [[{{{officeCity}}}]]
    {{!}}
    {{!}}
    {{{officeState}}}
    {{!}}
    {{!}}
    {{{officeZip}}}
   }}
   }}
|}
|}

Revision as of 12:34, 31 May 2025


Testing the #external_value functionality:

Springfield

Testing the wikitable functionality:

Office Address City State Zip
3412 Freedom Dr Springfield IL 62704
42 Memorial Plaza Pleasantville NY 10570
24885 Iris Ave Moreno Valley CA 92551
11404 Gulf Fwy Houston TX 77034
513 S Florida Ave Tampa FL 33602
1748 Pacific Ave Tacoma WA 98402