[Vim-l] Need a {{subst:help}} template thingy

John Beckett johnb.beckett at gmail.com
Thu Apr 24 05:20:52 UTC 2008


Benjamin Fritz wrote:
> With all the people asking for help on talk pages or tip 
> comments, we usually end up referring them to the vim_use 
> mail list or #vim channel. I think it would be useful to have 
> a standard way of doing this. Someone should make a 
> {{subst:help}} similar to our {{subst:welc}} to facilitate this!

Good idea, but we can't use template 'help' because that's for Vim help references.

I have just created:
  Template:Question
  Category:Temporary

The result can be seen on this page where I used {{subst:question}}
http://vim.wikia.com/wiki/Hide_all_functions_in_your_code

Suppose you edit a tip and add the second line (exactly as shown):

This is a question about how to use Vim.
{{subst:question}}

After you save the page, it contains (on the wiki you will see that the whole reply
is indented because the 'question' template starts with a colon):

This is a question about how to use Vim.
    We don't encourage questions about using Vim on the wiki because they distract
from the work of improving the tip collection. Please see how to ask questions. This
comment was added on 2008-04-24 and will be removed after a week.

The wikitext contains a link to the Community Portal which deals with this issue.
The tip is placed in the Temporary category to remind us to remove the question and
the reply in a week or two.

John



More information about the Vim-l mailing list