Difference between revisions of "Talk:Dwilight Daily/Writers"
Jump to navigation
Jump to search
m |
|||
Line 9: | Line 9: | ||
:You can even leave out the entire "author = " line, and the default value will be used instead. | :You can even leave out the entire "author = " line, and the default value will be used instead. | ||
:--[[User:Indirik|Indirik]] 12:56, 12 October 2007 (CEST) | :--[[User:Indirik|Indirik]] 12:56, 12 October 2007 (CEST) | ||
+ | |||
+ | |||
+ | Yeah, I noticed, didn't know about default values. But won't the default values about date be possibly confusing for when people submit the articles without defining all the variables? Just a thought, since it's unproper use anyways. -[[User:Chénier|Chénier]] 15:06, 12 October 2007 (CEST) |
Revision as of 15:06, 12 October 2007
I wonder how'd you get the blank=default(Anonymus) in your template. I think I'll look it up, sounds like an interesting thing to have. -Chénier 04:57, 12 October 2007 (CEST)
- When you write a substitution value into a template, you can provide an alternate to be used if the value is not provided by the writer, like this:
- Written by {{{author|anonymous}}}
- Produces this:
- author = Writer
- Written by Writer
- author =
- Written by anonymous
- author = Writer
- You can even leave out the entire "author = " line, and the default value will be used instead.
- --Indirik 12:56, 12 October 2007 (CEST)
Yeah, I noticed, didn't know about default values. But won't the default values about date be possibly confusing for when people submit the articles without defining all the variables? Just a thought, since it's unproper use anyways. -Chénier 15:06, 12 October 2007 (CEST)