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.

User talk:Heroe/Wiki experiments

From Heroes Wiki
Revision as of 07:41, 22 March 2007 by imported>Hardvice
Jump to navigation Jump to search

Could this template actually work? Heroe(talk) 22:59, 21 March 2007 (EDT)

    1. Your #switch: is malformed. Each option on the switch needs to be laid out with a comparison value and a result. In other words, in between each of the pipes, you need to have something like value = result. Your options for "m", "f", "y", and "n" do not have attached results, so therefore they won't do anything. Look at one of the values from the original template: male=Male. Your new values need to be laid out like that. Only the last value entry in a switch can skip the equals sign, because it's the default value (if nothing else matches, it uses that one.
  1. Favorite color doesn't actually do anything yet. If you want to make it print, it needs a label in the first column, and the variable in the second column. Look at one of the simple entries like age for what it should look like.
  2. You haven't actually changed the display label for "Gender" to "Sex" yet, which makes the jokes kind of weird. "Gender: yes please".  :)
Overall, though, nice job. Your wiki-fu is improving every day!--Hardvice (talk) 23:35, 21 March 2007 (EDT)
    1. Okay, now you've changed the variable from "gender" to "sex", but not the label.
    2. You've still got extra entries in your swtich. You don't need the |m|, |f|, |y|, and |n| parts. If you want it to treat "y" as "yes please", then it needs to be |y=yes, please|, not |yes, please=yes, please|--Hardvice (talk) 08:41, 22 March 2007 (EDT)