Template:Report: Difference between revisions
Ttenbergen (talk | contribs) Created page with "<noinclude> ==Template Use== This tempalte is to be used in articles about reports to make sure they are consistent and listed in Reports and Indicators and that the r..." |
Ttenbergen (talk | contribs) No edit summary |
||
| (23 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
| StartDtTm = <eg 2018-01-01> | | StartDtTm = <eg 2018-01-01> | ||
| EndDtTm = <eg 2018-01-01> | | EndDtTm = <eg 2018-01-01> | ||
| Frequency = <eg monthly, quarterly, annually, as requested> | |||
| ContactPerson= <names, organization if outside of Shared Health> | |||
| Recipients = <names> | | Recipients = <names> | ||
| MailingList = <Outlook list if applicable> | | MailingList = <Outlook list if applicable> | ||
| | | DataDependencies = <list of [[Indicators]] and/or [[Data Element]] separated by semicolons> | ||
| SASFiles = <path for SAS files> | | SASFiles = <path(s) for SAS files> | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 21: | Line 23: | ||
| StartDtTm = Date | | StartDtTm = Date | ||
| EndDtTm = Date | | EndDtTm = Date | ||
| | | Frequency = String | ||
| | | ContactPerson = String | ||
| | | Recipients = String | ||
| SASFiles = | | MailingList = String | ||
| SASFiles = Wikitext | |||
}} | }} | ||
used to include | |||
| DataDependencies = List (;) of Page | |||
but that is now handled by [[Template:Data Dependencies]] | |||
[[Category:Quality wiki infrastructure]] | [[Category:Quality wiki infrastructure]] | ||
[[Category:Data Dependencies wiki infrastructure]] | |||
[[Category:Reports]] | |||
---- | ---- | ||
| Line 36: | Line 44: | ||
</noinclude><div style="clear:right;"> | </noinclude><div style="clear:right;"> | ||
{| class="wikitable" border="1" style="float:right; width: | {| class="wikitable" border="1" style="float:right; width:30%" | ||
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span> | | style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span> | ||
|- | |- | ||
| Line 47: | Line 55: | ||
| style="background:silver; color:arsenic" align="right"| '''EndDtTm: ''' | | style="background:silver; color:arsenic" align="right"| '''EndDtTm: ''' | ||
| {{{EndDtTm|}}} | | {{{EndDtTm|}}} | ||
|- | |||
| style="background:silver; color:arsenic" align="right"| '''Contact Person : ''' | |||
| {{{ContactPerson }}} | |||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''Recipients: ''' | | style="background:silver; color:arsenic" align="right"| '''Recipients: ''' | ||
| {{{Recipients}}} | | {{{Recipients}}} | ||
|- | |||
| style="background:silver; color:arsenic" align="right"| '''Frequency: ''' | |||
| {{{Frequency}}} | |||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''MailingList: ''' | | style="background:silver; color:arsenic" align="right"| '''MailingList: ''' | ||
| {{{MailingList}}} | | {{{MailingList}}} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| | | style="background:silver; color:arsenic" align="right"| {{Data Dependencies infobox label}} | ||
| {{ | | <!-- if we list the parameter here directly it will not display as page links, it needs to be processed by Cargo as a list to work right, so needs to be done as query. | ||
-->{{#cargo_query: | |||
tables=Data_Dependencies | |||
|fields=Components | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
|default= No reports on this wiki list this as an indicator. | |||
}} | |||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''SASFiles: ''' | | style="background:silver; color:arsenic" align="right"| '''SASFiles: ''' | ||
| {{{SASFiles}}} | | | ||
{{{SASFiles|}}} | |||
|- | |- | ||
|} <!-- without this nbsp the template misbehaves! --> <includeonly><div style="display: none;"> | |} <!-- without this nbsp the template misbehaves! --> <includeonly><div style="display: none;"> | ||
| Line 64: | Line 86: | ||
* Cargo | * Cargo | ||
{{#cargo_store: | {{#cargo_store: | ||
_table = | _table = Reports | ||
| Program = {{{Program|}}} | | Program = {{{Program|}}} | ||
| StartDtTm = {{{StartDtTm|}}} | | StartDtTm = {{{StartDtTm|}}} | ||
| EndDtTm | | EndDtTm = {{{EndDtTm|}}} | ||
| Frequency = {{{Frequency|}}} | |||
| ContactPerson = {{{ContactPerson |}}} | |||
| Recipients = {{{Recipients|}}} | | Recipients = {{{Recipients|}}} | ||
| MailingList = {{{MailingList|}}} | | MailingList = {{{MailingList|}}} | ||
| SASFiles = {{{SASFiles|}}} | | SASFiles = {{{SASFiles|}}} | ||
}} | |||
used to include | |||
| DataDependencies = {{{DataDependencies|}}} | |||
but that is now handled by [[Template:Data Dependencies]] | |||
* Helper template: | |||
{{Data Dependencies | |||
| Derived={{PAGENAME}} | |||
| Components={{{DataDependencies|}}} | |||
| Derived_Type=R | |||
}} | }} | ||
* Categories | * Categories | ||
[[Category: | [[Category:Reports]] | ||
* Default form: {{#default_form:Report}} | * Default form: {{#default_form:Report}} | ||
</div></includeonly> | </div></includeonly> | ||