User:Ttenbergen: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
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

changing mediawiki appearance

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

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.