Difference between revisions of "Talk:Dwilight Daily/Writers"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
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. -[[User:Chénier|Chénier]] 04:57, 12 October 2007 (CEST) | 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. -[[User:Chénier|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: | ||
+ | ::<nowiki>Written by {{{author|anonymous}}}</nowiki> | ||
+ | :Produces this: | ||
+ | **<nowiki>author = Writer</nowiki> | ||
+ | ***Written by Writer | ||
+ | **<nowiki>author = </nowiki> | ||
+ | ***Written by anonymous | ||
+ | :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) |
Revision as of 12:56, 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)