Talk:Tunnel Rat (Contact)
Jump to navigation
Jump to search
Okay, as a wikinoob, I'm not sure what I'm doing wrong concerning the headers for the first mission (which is currently showing {{{1}}} as a title) and for the hidden text box I made for the Provost Marchand dialog (currently showing {{{2}}} in the box, which makes me think the problems are related. This is what I get for just copy-pasting things from other pages, but can anyone explain how I can fix this? -Isawa koi 11:52, 16 October 2010 (UTC)
- The problem for the heading is the equal sign =. There's two ways to call templates, with named values or position values. Named values look like {{example|name=Tunnel Rat}} whereas position values look like {{example|Tunnel Rat}}. Unfortunately, the equal sign tells the wiki that you're using a named parameter, so {{UL|Part one: ATK=True}} was interpreted as having a named parameter of "Part one: ATK" with a value of "True". The fix is to give is the name of the positional parameter, which is 1 in this case. So this works: {{UL|1=Part one: ATK=True}}. This doesn't happen too often, fortunately; and many templates are written to use named parameters to avoid the issue entirely. -- Sekoia 14:52, 16 October 2010 (UTC)
- The problem with the Provost Marchand dialog is that it was using the wrong named parameter. The hidden template uses "content=", not "text=", so it couldn't find anything to display and fell back on its default value (which was {{{2}}}). -- Sekoia 14:56, 16 October 2010 (UTC)
- Ah! Much obliged. :) --Isawa koi 17:59, 16 October 2010 (UTC)