User:Ttenbergen: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 3: Line 3:
== changing mediawiki appearance ==
== changing mediawiki appearance ==
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
* to edit them: go to http://ccmdb.kuality.ca/index.php?title=MediaWiki:<name listed above>
* to edit them: go to the Mediawiki:<name listed above> page on this wiki
 
== Questions for Tina ==
== Testing other categories ==
see [[User:Ttenbergen/questions for tina]]
 
{| class="wikitable" style="border-collapse:collapse; border-width:0; width: 100%; background-color:#99c2ff" cellpadding="0"
|-
|| {{ICD10 subcat collapsible|supercategory = Infectious disease}}
|| {{ICD10 subcat collapsible|supercategory = Neoplastic}}
|| {{ICD10 subcat collapsible|supercategory = Heme/immunology}}
|-
|| {{ICD10 subcat collapsible|supercategory = Endocrine disorder}}
|| {{ICD10 subcat collapsible|supercategory = Psych}}
|| {{ICD10 subcat collapsible|supercategory = Neuro}}
|-
|| {{ICD10 subcat collapsible|supercategory = Eye}}
|| {{ICD10 subcat collapsible|supercategory = ENT}}
|| {{ICD10 subcat collapsible|supercategory = Cardiovascular}}
|-
|| {{ICD10 subcat collapsible|supercategory = Respiratory}}
|| {{ICD10 subcat collapsible|supercategory = Gastrointestinal}}
|| {{ICD10 subcat collapsible|supercategory = Skin}}
|-
|| {{ICD10 subcat collapsible|supercategory = Musculoskeletal/soft tissue}}
|| {{ICD10 subcat collapsible|supercategory = Renal/urinary}}
|| {{ICD10 subcat collapsible|supercategory = Peripartum}}
|-
|| {{ICD10 subcat collapsible|supercategory = Hereditary/congenital}}
|| {{ICD10 subcat collapsible|supercategory = Testing}}
|| {{ICD10 subcat collapsible|supercategory = Symptom/Sign}}
|-
|| {{ICD10 subcat collapsible|supercategory = Injury/poisoning}}
|| {{ICD10 subcat collapsible|supercategory = Mechanism}}
||
|}


== SMW stuff ==
== SMW stuff ==
Line 86: Line 55:
*{{#expr: 1 and -1 }}
*{{#expr: 1 and -1 }}
*{{#if: string | yes | no}}
*{{#if: string | yes | no}}
=== Viki ===
As from Cindy Cicalese:
[{{fullurl:VIKI}}?page={{FULLPAGENAMEE}} Graph This Page]


=== Transclusion vs Substitution ===
=== Transclusion vs Substitution ===
Line 98: Line 63:
== Testing collapsing ==
== Testing collapsing ==
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
  {{ #viki:pageTitles={{FULLPAGENAME}} }}
  ...test content...
</div>
</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

Latest revision as of 18:06, 2022 January 6

changing mediawiki appearance

Questions for Tina

see User:Ttenbergen/questions for tina

SMW stuff

full text search link 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

table side by side vs right justified

title 1
line | 1
title 2
line | 2

ReplaceText

Special:ReplaceText Can use regExps if you check use regular expressions such as [[Category: ?TISS76 ?]] to allow spaces or not.

job queue

http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm

Magic words

e.g. {{CURRENTYEAR}} to get : 2024 see https://www.mediawiki.org/wiki/Help:Magic_words

transcluding subheadings...

Doesn't work, sucks in whole article

wiki testing, syntax and tricks

Parser Functions

lowercase works so hopefully so do the others... http://en.wikipedia.org/wiki/Help:Parser_function

  • try this
  • no
  • 1
  • yes

Transclusion vs Substitution

Transclusion is calling content from a page or template, substitution is copying it.

Testing collapsing

...test content...

Testing colours

https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F

  • foo "french violet" for followed links
  • foo "capri" for unlikely contrast