Questions tagged [mediawiki-templates]

For question about creating and using MediaWiki templates.

Filter by
Sorted by
Tagged with
4 votes
1 answer
298 views

Is it possible to do basic transformation of text in a MediaWiki template?

I have created a template on my MediaWiki wiki which shortcuts linking to some frequently used book titles. One of the parameters controls whether the shortcut template points at my wiki or another ...
Guybrush McKenzie's user avatar
2 votes
1 answer
283 views

How do I create a simple template that adds a category in a Mediawiki template?

I am trying to create a template that adds the page to a category (in a second step also a short header text) but I fail succeeding. Right now I have the following: <noinclude>This is a ...
Fredrik C's user avatar
  • 123
9 votes
1 answer
7k views

How can I list all templates available on a MediaWiki Wiki?

I'm editing this MediaWiki Wiki (not Wikipedia etc.) , and I want to have some fancy effect. On Wikipedia there are templates which sorta-kinda-do what I want - but this Wiki doesn't seem to have them....
einpoklum's user avatar
  • 1,277
1 vote
1 answer
71 views

Wiki markup with templates

I have a template where I would like to include a variable {{{1}}}, but I also want the text that will be placed there to be in <code>{{{1}}}</code> tags. But in that case wiki just ...
Abdul's user avatar
  • 11