Template talk:Quiz

Latest comment: 12 years ago by Americophile in topic Pipe character


This does not permit images in the quiz! --Brian McNeil / talk 17:35, 21 June 2009 (UTC)Reply

Yes it does, just put the image in the same part as the text of the question. See for example: Wikinews:Dynamic_quiz/quiz/2008/52 and Wikinews:Dynamic_quiz/instruct. Bawolff 07:27, 26 June 2009 (UTC)Reply

Pipe character edit

Almost at the end of the code, I think one pipe character is useless. I mean [{{fullurl:{{{postPage|Wikinews talk:World News Quiz}}}|action=edit{{#if:{{{postPage|}}}|{{#if:{{{postSection|}}}|&section={{{postSection}}}|}}|&section={{{postSection|2}}}}}}} talk page?] seems more accurate than the current code. I can't understand why there are 3 pipe characters after the second #if, while the usual and maximum is 2. According to here the usual way of applying this function is {{#if: test string | value if true | value if false }} Americophile (talk) 21:11, 11 October 2011 (UTC)Reply

The extra pipe shouldn't do any harm, but I agree, it shouldn't serve any useful purpose either. Looks like a typo. --Pi zero (talk) 18:30, 20 October 2011 (UTC)Reply
I wrote this such a long time ago I don't really remember, but I agree with Pi Zero's analysis that it was probably a typo. Bawolff 19:05, 20 October 2011 (UTC)Reply
I removed it. AMERICOPHILE 20:35, 20 October 2011 (UTC)Reply
Return to "Quiz" page.