This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template talk:PortalCharNav/Season One: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice New page: Are the quotes around e.g. "Minor Characters" going to break this? I was under the impression that if you included quotation marks in a logic test, it tested for the quotes as well. Most... |
imported>Orne response |
||
| Line 1: | Line 1: | ||
Are the quotes around e.g. "Minor Characters" going to break this? I was under the impression that if you included quotation marks in a logic test, it tested for the quotes as well. Most template calls don't use (or allow) quotes. Am I smoking crack?--[[User:Hardvice|Hardvice]] <small>[[User talk:Hardvice|(talk)]]</small> 17:00, 17 January 2007 (EST) |
Are the quotes around e.g. "Minor Characters" going to break this? I was under the impression that if you included quotation marks in a logic test, it tested for the quotes as well. Most template calls don't use (or allow) quotes. Am I smoking crack?--[[User:Hardvice|Hardvice]] <small>[[User talk:Hardvice|(talk)]]</small> 17:00, 17 January 2007 (EST) |
||
* You are correct; it always tested False (even though the documentation states that double quotes forces a String comparison for Numeric parameters). I removed the quotes everywhere, and it works now. --[[User:Orne|Orne]] 17:12, 17 January 2007 (EST) |
|||
Revision as of 22:12, 17 January 2007
Are the quotes around e.g. "Minor Characters" going to break this? I was under the impression that if you included quotation marks in a logic test, it tested for the quotes as well. Most template calls don't use (or allow) quotes. Am I smoking crack?--Hardvice (talk) 17:00, 17 January 2007 (EST)
- You are correct; it always tested False (even though the documentation states that double quotes forces a String comparison for Numeric parameters). I removed the quotes everywhere, and it works now. --Orne 17:12, 17 January 2007 (EST)