Template:Collection Location: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right"
<noinclude>  
|-
This template implements a standard Collection Location table and is to be used in all collection location articles.
|| '''Location''' || {{PAGENAME}}
|-
|| '''Start Date''' || [[Collection Location Startdate::{{{StartDate}}}]]
|-
|| '''End Date''' || [[Collection Location Enddate::{{{EndDate}}}]]
|-
|| '''Program''' || [[Collection Location Program::{{{Program}}}]]
|-
|| '''Hospital''' || [[Collection Location Hospital::{{{Hospital}}}]]
|-
|| '''Service Type''' || [[Collection Location Service Type::{{{Service Type}}}]]
|}
 
[[Category: Collection Location]] <noinclude>  
 
----


This template implements a standard Collection Location table and is to be used in the top right corner of all collection locations. It populates the [[:Category: Collection Location]] and sets the start and end date properties.
== To use ==
<pre>{{Collection Location
| Collection StartDate = eg 1 Jan 1900
| Collection EndDate = eg 1 Jan 1900
| Collection Program = (CC / Med)
| Collection Hospital = (CON / GRA / HSC / OAK / STB / VIC)
| Collection Bed Nrs = (Nr) - defaults to not entered
| Collection Unit Phone = (phone)
| Collection Unit Fax = (fax)
| Collection Unit Manager = (Name)
| Collection Unit Manager Phone = (phone)
| Collection Unit Clerk = (Name)
}}</pre>


== dates ==
== dates ==
Line 26: Line 22:
=== end date ===
=== end date ===
Use most recent end date. Note additional end dates in legacy section of the article.
Use most recent end date. Note additional end dates in legacy section of the article.
== Location with workload split ==
* '''Yes''' if collectors share collection on this; put details in article.
* '''No''' if no shared Collection.
In Template
===Cargo declaration===
{{#cargo_declare:
_table = CollectionLocation
| StartDate = Date
| EndDate = Date
| Program = Wikitext
| Hospital = Wikitext
| WorkloadSplit = Boolean
| BedNr = Wikitext
| Collector = Wikitext
| UnitPhone = Wikitext
| UnitFax = Wikitext
| UnitManager = Wikitext
| UnitManagerPhone = Wikitext
| UnitClerk = Wikitext
}}
[[Category:Collection Location accessory]]
----




===actual template code===
</noinclude>
</noinclude>
{| class="wikitable" style="float:right"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Site_and_Location_table|Location]]</span>
|-|-
|| '''Location''' || {{PAGENAME}}
|-
|| '''First Admission''' || {{{Collection StartDate|1 Jan 1900}}}[[Collection Location Startdate::{{{Collection StartDate|1 Jan 1900}}}| ]]
{{#if:{{{Collection EndDate|}}}|{{!}}-
{{!}} {{!}} '''Last Admission: '''
{{!}} [[Collection Location Enddate::{{{Collection EndDate}}}]] |[[Collection Location Enddate::2999-01-01| ]]}}
|-
|| '''Program''' || {{{Collection Program|not entered}}} [[Collection Location Program::{{{Collection Program|not entered}}}| ]]
|-
|| '''Hospital''' || {{{Collection Hospital|not entered}}} [[Collection Location Hospital::{{{Collection Hospital|not entered}}}| ]]
|-
|| '''Nr of Beds''' || {{{Collection Bed Nrs|not entered}}} [[Collection Bed Nrs::{{{Collection Bed Nrs|not entered}}}| ]]
|-
|| '''Collection Unit Phone: '''
| [[CollectionUnitPhone::{{{Collection Unit Phone|}}}]]
|-
|| '''Collection Unit Fax : '''
| [[CollectionUnitFax::{{{Collection Unit Fax|}}}]]
|-
|| '''Collection Unit Manager : '''
| [[CollectionUnitManager ::{{{Collection Unit Manager }}}]]
|-
|| '''Collection Unit Manager Phone : '''
| [[CollectionUnitManagerPhone ::{{{Collection Unit Manager Phone}}}]]
|-
|| '''Collection Unit Clerk : '''
| [[CollectionUnitClerk ::{{{Collection Unit Clerk }}}]]
|}
<includeonly>&nbsp;<div style="display: none;">
Cargo:
{{#cargo_store:
_table = CollectionLocation
| StartDate = {{{Collection StartDate|1 Jan 1900}}}
| EndDate = {{{Collection EndDate|2999-01-01}}}
| Program = {{{Collection Program|not entered}}}
| Hospital = {{{Collection Hospital|not entered}}}
| WorkloadSplit = {{{Collection Workload Split|false}}}
| BedNr = {{{Collection Bed Nrs|not entered}}}
| Collector = {{{Collection Collector|not entered}}}
| UnitPhone = {{{Collection Unit Phone}}}
| UnitFax = {{{Collection Unit Fax}}}
| UnitManager = {{{Collection Unit Manager}}}
| UnitManagerPhone = {{{Collection Unit Manager Phone}}}
| UnitClerk = {{{Collection Unit Clerk }}}
}}
Categories:
[[Category:Collection Location]]
</includeonly></div>

Latest revision as of 11:11, 30 July 2025

This template implements a standard Collection Location table and is to be used in all collection location articles.

To use

{{Collection Location
| Collection StartDate = eg 1 Jan 1900
| Collection EndDate = eg 1 Jan 1900
| Collection Program = (CC / Med)
| Collection Hospital = (CON / GRA / HSC / OAK / STB / VIC)
| Collection Bed Nrs = (Nr) - defaults to not entered
| Collection Unit Phone = (phone)
| Collection Unit Fax = (fax)
| Collection Unit Manager = (Name)
| Collection Unit Manager Phone = (phone)
| Collection Unit Clerk = (Name)
}}

dates

start date

Use original start date. Note additional start dates in legacy section of the article.

end date

Use most recent end date. Note additional end dates in legacy section of the article.

Location with workload split

  • Yes if collectors share collection on this; put details in article.
  • No if no shared Collection.

In Template

Cargo declaration

This template defines the table "CollectionLocation". View table.






actual template code

Location
Location Collection Location
First Admission 1 Jan 1900
Program not entered
Hospital not entered
Nr of Beds not entered
Collection Unit Phone:
Collection Unit Fax :
Collection Unit Manager : {{{Collection Unit Manager }}}
Collection Unit Manager Phone : {{{Collection Unit Manager Phone}}}
Collection Unit Clerk : {{{Collection Unit Clerk }}}