User talk:RootSword
How do templates work?
[edit]![]() | This help request has been answered. If you need more help or have additional questions, please replace the code {{Help me-helped}} on this page with {{Help me}}, post a new help me template, or contact the responding user(s) directly on their own user talk page. |
Let's say I want to make a template with two parameters (?). For an example, the template would be called {{FruitTaste}}. The template would say "Apples are {{{1}}}. And bananas are {{{2}}}." In using the template on a page, if I were to only fill in the first parameter (for example, I type in {{FruitTaste|delicious}}), how do I make it so the entire second sentence is blank and it comes out as "Apples are delicious." instead of "Apples are delicious. And bananas are {{{2}}}."? How can I make it so the second sentence only appears if the second parameter is filled? —RootSword (talk) 07:58, 25 October 2012 (UTC)
- See Help:Template, particularly the section "Handling parameters". I'm not an expert on this, but I think the answer to your question is probably there: if not, place another "helpme". JohnCD (talk) 10:30, 25 October 2012 (UTC)
- I was afraid someone would say that... Okay, I'll try reading it again. Thanks. —RootSword (talk) 12:04, 25 October 2012 (UTC)
- Lower down that page, under "System variables and conditional logic/Examples of extension parser functions", I think "#ifeq" might do the trick. If not, WP:Village pump (technical), shortcut WP:VPT, is where the gurus hang out who know this sort of stuff. JohnCD (talk) 16:50, 25 October 2012 (UTC)
- I was afraid someone would say that... Okay, I'll try reading it again. Thanks. —RootSword (talk) 12:04, 25 October 2012 (UTC)
Welcome!
[edit]Hello, RootSword, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Here are some pages that you might find helpful:
- The five pillars of Wikipedia
- Tutorial
- How to edit a page and How to develop articles
- How to create your first article (using the Article Wizard if you wish)
- Simplified Manual of Style
I hope you enjoy editing here and being a Wikipedian! Please sign your messages on talk pages using four tildes (~~~~); this will automatically insert your username and the date. If you need help, check out Wikipedia:Questions, ask me on my talk page, or ask your question on this page and then place {{help me}}
before the question. Again, welcome! JohnCD (talk) 10:30, 25 October 2012 (UTC)
November 2012
[edit]![](http://upload.wikimedia.org/wikipedia/en/thumb/2/28/Information.svg/25px-Information.svg.png)
Hello, and welcome to Wikipedia. This is a message letting you know that one of your recent edits has been undone by an automated computer program called ClueBot NG.
- ClueBot NG makes very few mistakes, but it does happen. If you believe the change you made was constructive, please read about it, report it here, remove this message from your talk page, and then make the edit again.
- For help, take a look at the introduction.
- The following is the log entry regarding this message: Gallows humor was changed by RootSword (u) (t) ANN scored at 0.959403 on 2012-11-28T05:00:55+00:00 . Thank you. ClueBot NG (talk) 05:00, 28 November 2012 (UTC)