You are not logged in.

#1 2010-10-17 19:24:18

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 135
Website

[Solved] I can't get a template to work

http://wiki.archlinux.org/index.php?tit … &section=8

See above the red template. I have also tried the simple note template following exactly the coding. Where is the mistake?
In the same section a note template is working. I've been busting my head all day but can't work this out...

Last edited by maevius (2011-02-23 06:27:19)

Offline

#2 2010-10-18 22:33:00

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: [Solved] I can't get a template to work

See Help:Template:

Help:Template wrote:

Note: If you use the equal sign ( = ) inside a template with numbered parameters, MediaWiki will break the template's output. You need to enclose the equal sign (or the entire block of text) in <nowiki> tags like so:

{{Codeline|<nowiki>variable = value</nowiki>}}

Alternatively, treat the parameter number as a named parameter, as in:

{{Codeline|1=variable = value}}

This is a technical limitation that you should keep in mind while using templates.


M*cr*s*ft: Who needs quality when you have marketing?

Offline

#3 2010-10-19 07:46:52

maevius
Member
From: Greece
Registered: 2009-09-10
Posts: 135
Website

Re: [Solved] I can't get a template to work

I see. Thanks, guess I missed that article...

Offline

Board footer

Powered by FluxBB