User:Ttenbergen: Difference between revisions
Jump to navigation
Jump to search
Ttenbergen (talk | contribs) m →Magic words: m |
Ttenbergen (talk | contribs) |
||
Line 45: | Line 45: | ||
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}} | *{{#if: string | yes | no}} | ||
=== Viki === | |||
As from Cindy Cicalese: | |||
[{{fullurl:VIKI}}?page={{FULLPAGENAMEE}} Graph This Page] | |||
=== Transclusion vs Substitution === | === Transclusion vs Substitution === |
Revision as of 20:11, 24 March 2017
- Also see: Tina Tenbergen
changing mediawiki appearance
- 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>
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 : 2025 see https://www.mediawiki.org/wiki/Help:Magic_words
transcluding subheadings...
Doesn't work, sucks in whole article
wiki testing, syntax and tricks
- Transclusion of an article: {{:articlename}}
- emailing lists: email the CC data collectors (see also 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:
- <!-- This is a comment, too -->
- table generator: File:Wiki_Tables.xls, originally from here
Parser Functions
lowercase works so hopefully so do the others... http://en.wikipedia.org/wiki/Help:Parser_function
- try this
- no
- 1
- yes
Viki
As from Cindy Cicalese: Graph This Page
Transclusion vs Substitution
Transclusion is calling content from a page or template, substitution is copying it.
- http://www.mediawiki.org/wiki/Transclusion - e.g. {{templatename}}
- http://www.mediawiki.org/wiki/Manual:Substitution - e.g. {{subst:templatename}}