Wiki markup with templates

by Abdul   Last Updated March 01, 2018 20:03 PM

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 ignores {{{1}}} and treates it as a normal text.

What can I do?



Answers 1


I have created a template that contained just <code>{{{1}}}</code>, then I called it with {{Name of the template|foo}}. This generated the HTML <code>foo</code>, as expected.

svick
svick
February 12, 2014 09:15 AM

Related Questions






Access Control to restrict view to pages

Updated March 20, 2016 08:01 AM