Help:Local Customizations

From LowballWiki

Jump to: navigation, search

Contents

[edit] Playing card images

Public-domain card images (from Open Clip Art) have been uploaded and can be referenced using the image tag

[[image:Simple_c_2.png]] [[image:Simple_d_q.png]] [[image:Simple_h_10.png]]

image:Simple_c_2.png image:Simple_d_q.png image:Simple_h_10.png

[edit] Playing card templates

Templates have been specified for card names that use the symbol and correct font:

{{2c}} {{Qd}} {{Th}}
2image:Lg-clubs.png Qimage:Lg-diamonds.png Timage:Lg-hearts.png

Links to templates for suits:

(I think I should create some templates for various card images too.)

[edit] Extensions Installed

ParserFunctions: conditional templates

[edit] Path names

I changed MediaWiki's configuration to use /article/WikiName as the URL, and wrote a .htaccess rewrite rule to convert that back to the call to index.php, as described here.

I am tempted to go further and remove the /article prefix altogether but it appears to be less straightforward.

There is a second rewrite rule with changes /category/Foo to /article/Category:Foo, but that's not entirely useful because of course MediaWiki doesn't change internal links to match.

Personal tools