|
|
(241 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| *Also see: [[Tina Tenbergen]] | | *Also see: [[p:Tina Tenbergen]] |
| == FP test == | | |
| <!-- GREETING BANNER ACROSS TOP OF PAGE -->
| | == changing mediawiki appearance == |
| {| style="width:100%; background:#f9f9f9; border:1px solid #ddd;"
| | * See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx |
| ||
| | * to edit them: go to the Mediawiki:<name listed above> page on this wiki |
| {| style="border:none; background:none;"
| | == Questions for Tina == |
| ||
| | see [[User:Ttenbergen/questions for tina]] |
| <div style="font-size:100%; border:none; margin:0; color:#000;">Welcome to the '''Regional Critical Care & Medicine Information Management & Research Database Program''' (CCMDB) wiki.</div>
| | |
| |}
| | == no width space == |
| |}
| | * &#8203; puts a no width space between the following two xs: x​x |
| <!------- MAIN PANEL ------------------------------------------------------------------------------>
| | * which makes e.g. [[M:\]]​zzzz look continuous but stops the link |
| {| id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
| | * when you paste that into an editor it makes you arrow over it twice to get past it, but explorer treats it correctly |
| <!-- LEFT PANEL - MANUAL NEWS --> | |
| | class="MainPageBG" style="width:45%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
| |
| <!------- NEWS PANEL HEADER ------------------------------------------------------------------------------>
| |
| {| id="mp-left" style="width:100%; vertical-align:top; background:#f5fffa;"
| |
| ! style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">News</h2>
| |
| |-
| |
| | style="color:#000;" | <div id="mp-tfa" style="padding:2px 5px">
| |
| <!------- NEWS PANEL CONTENT
| |
| note, this draws from the News article and should not be edited here... ---------------------->
| |
| {{:News}}
| |
| </div>
| |
| |-
| |
| |}
| |
| <!------- LINK PANEL HEADER ------------------------------------------------------------------------------>
| |
| {| id="mp-left" style="width:100%; vertical-align:top; background:#f5fffa;"
| |
| ! style="width:100%; padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Links</h2>
| |
| |-
| |
| | style="color:#000;" | <div id="mp-tfa" style="padding:2px 5px">
| |
| <!-------LINK LIST -------------------------------------------------------------------------------------->
| |
| || style="width:33%; font-size:95%;" |
| |
| Data Collection
| |
| * [[:Category:Data_Collection_Guide| '''Data Collection Guide''']]
| |
| * [[:Category: Diagnosis Coding | Diagnosis Coding]] | |
| * [[ICU Curriculum | '''ICU Curriculum''']]
| |
| * [[Medicine Curriculum | '''Medicine Curriculum''']]
| |
| * [[:Category:All Projects | All Projects]]
| |
| * [[:Category:Data_Collection_Team_Meetings| Data Collection Team Meetings]]
| |
| * [[:Category: Work Schedule Information | Work Schedule Information]]
| |
|
| |
|
| | style="width:33%; font-size:95%;" |
| | == hover == |
| Administration
| | * manual: |
| * [[:Category:Contact_List |Contact List]] | | ** <span class="info-tooltip">always<span class="tooltip-text">hover</span></span> |
| * [[:Category:Data_Processing |Data Processing]] | | * [[:Template:Tooltip]] |
| * [[Database_Request_Process| Database Request Process]]
| | ** {{Tooltip|always|hover}} |
| * [[Critical_Care_Review_Group | Critical Care Review Group]] | |
| * [[Statistics_and_Reporting_Process| Statistics and Reporting ]]
| |
|
| |
|
| | style="width:33%; font-size:95%;" |
| | == SMW stuff == |
| Technology
| | full text search link |
| * [[:Category:IT_Instructions| IT Instructions]]
| | https://ccmdb.kuality.ca/index.php?title=Special%3AAsk&q=%5B%5BCategory%3AICD10+Diagnosis%5D%5D%0D%0A%5B%5B%7E%7Epneumothorax%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=500&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes |
| * [[!_Automated_Data_Integrity_Checks | Automated Data Integrity Checks]]
| |
|
| |
|
| Wiki Usage
| | == table side by side vs right justified == |
| * [[How to edit the WIKI | '''How to edit the WIKI''']]
| | {| class="wikitable" border="1" align="right" width="30%" |
| * [[:Special:Categories | show all categories]]
| | || title 1 |
| * [[:Category:Questions | '''QUESTIONS''']]
| |
| </div>
| |
| |- | | |- |
| | | | line | 1 |
| |} | | |} |
| | style="border:1px solid transparent;" | | | {| class="wikitable" border="1" align="right" width="30%" |
| | class="MainPageBG" style="width:55%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;"|
| | || title 2 |
| {| id="mp-right" style="width:100%; vertical-align:top; background:#f5faff;"
| |
| ! style="padding:2px;" | <h2 id="mp-itn-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">
| |
| <!-- RIGHT PANEL FIRST HEADER -->
| |
| Recent Changes...</h2>
| |
| |-
| |
| | style="color:#000; padding:2px 5px;" | <div id="mp-itn"> | |
| <!-- RIGHT PANEL FIRST CONTENT -->
| |
| <!-- see http://www.mediawiki.org/wiki/Help:Recent_changes for syntax -->
| |
| {{Special:RecentChanges/50,hideminor,hidemyself}}
| |
| </div>
| |
| |- | | |- |
| ! style="padding:2px;" | <h2 id="mp-otd-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">
| | | | line | 2 |
| <!-- RIGHT PANEL SECOND HEADER-->
| |
| 2nd header </h2>
| |
| |- | |
| | style="color:#000; padding:2px 5px 5px;" | <div id="mp-otd"> | |
| <!-- RIGHT PANEL SECOND CONTENT -->
| |
| second content...
| |
| </div>
| |
| |}
| |
| |} | | |} |
| <!-- __NOTOC____NOEDITSECTION__ -->
| |
|
| |
| == Parser Testing ==
| |
| {{#if: string | yes | no}}
| |
|
| |
|
| == Wiki Table Generator == | | == ReplaceText == |
| A wiki table generator can be found at [http://de.wikipedia.org/wiki/Wikipedia:Textverarbeitung/EXCEL-Tabellenumwandlung here].
| | [[Special:ReplaceText]] |
| It is also available at [[:Image:Wiki_Tables.xls]].
| | Can use [https://en.wikipedia.org/wiki/Regular_expression regExps] if you check '''use regular expressions''' such as <nowiki>[[Category:?TISS76 ?]]</nowiki> to allow spaces or not. |
|
| |
|
| ==Comments on the wiki== | | == job queue == |
| To put comments into the markup that will not show up in the wiki article, use the syntax below:
| | http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm |
| <nowiki><!-- *************************************************************
| |
| This is the comment
| |
| ************************************************************* -->
| |
|
| |
|
| <!-- This is a comment, too -->
| | == Cargo holds == |
| </nowiki>
| | {{#cargo_query: |
| | tables=Reports |
| | |fields=_pageName=Data Element |
| | |where=DataDependencies HOLDS 'Age' |
| | }} |
|
| |
|
| ==File Server Links== | | == Magic words == |
| === UNC Template Test ===
| | e.g. <nowiki>{{CURRENTYEAR}}</nowiki> to get : {{CURRENTYEAR}} |
| {{UNC|\\sbghnwfs0102\NSSVOL1\shared\ICU_DATA_COLLECTION\Vacation_Planner|Vacation Planner}} | | see https://www.mediawiki.org/wiki/Help:Magic_words |
|
| |
|
| === Reg_Server_UNC Test === | | == transcluding subheadings... == |
| {{Reg Server UNC|Vacation_Planner|Vacation Planner }} | | <!-- {{:Requested_CCMDB_changes_for_the_next_version#Bug_Fixes}}--> |
|
| |
|
| ==Non-Image file links to the wiki==
| | Doesn't work, sucks in whole article |
| * <nowiki>[[</nowiki> '''Media''':Greensheet_ACCOUNTING_TAB_PDA_&_CCMDB.pdf | this link<nowiki>]]</nowiki>
| |
| becomes
| |
| * [[Media:Greensheet_ACCOUNTING_TAB_PDA_&_CCMDB.pdf | this link]]
| |
|
| |
|
| Advantage of linking this way is that the page
| | == wiki testing, syntax and tricks == |
| * [[Image:Greensheet_ACCOUNTING_TAB_PDA_%26_CCMDB.pdf]] | | * Transclusion of an article: <nowiki>{{:articlename}}</nowiki> |
| will list the linking page, whereas a full external linking (e.g. [http://ltc.umanitoba.ca/wikis/ccmdb/images/c/c1/Greensheet_FORM.pdf '''Green Sheet''']) is not tracked. This allows tracking, version control, maintenance and clean-up of uploaded files.
| | * emailing lists: [mailto:dccc@hsc.mb.ca email the CC data collectors] (see also [[p:Category:Critical Care Data Collectors]]) |
| | * sorted table: see [[Drugs Collected]] |
| | * file/UNC linking doesn't work because browsers disallow it as unsafe |
| | * comments in wiki articles that won't show in normal view, only edit: |
| | ** <nowiki><!-- This is a comment, too --></nowiki> |
| | * table generator: [[:File:Wiki_Tables.xls]], originally from [http://de.wikipedia.org/wiki/Wikipedia:Textverarbeitung/EXCEL-Tabellenumwandlung here] |
|
| |
|
| ==Parser Functions== | | ===Parser Functions=== |
| lowercase works so hopefully so do the others... | | lowercase works so hopefully so do the others... |
| http://en.wikipedia.org/wiki/Help:Parser_function | | http://en.wikipedia.org/wiki/Help:Parser_function |
| {{lc: TrY ThIs }} | | *{{lc: TrY ThIs }} |
| {{#if: | yes | no}} | | *{{#if: | yes | no}} |
| {{#expr: 1 and -1 }} | | *{{#expr: 1 and -1 }} |
| | *{{#if: string | yes | no}} |
| | |
| | === Transclusion vs Substitution === |
| | Transclusion is ''calling'' content from a page or template, substitution is copying it. |
| | * http://www.mediawiki.org/wiki/Transclusion - e.g. <nowiki>{{templatename}}</nowiki> |
| | * http://www.mediawiki.org/wiki/Manual:Substitution - e.g. <nowiki>{{subst:templatename}}</nowiki> |
| | |
| | == Testing collapsing == |
| | <div class="toccolours mw-collapsible mw-collapsed" style="width:40em"> |
| | ...test content... |
| | </div> |
| | |
| | == Testing colours == |
| | https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F |
| | * [[ICD10|<span style="color:#8806CE">foo</span>]] "french violet" for followed links |
| | * [[ICD10|<span style="color:#00BFFF">foo</span>]] "capri" for unlikely contrast |