Wikia

Vim Tips Wiki

Changes: Template:TipNew

Edit

Back to page

(include <div> for SEO)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 17: Line 17:
 
Generally, new tips will be created without this template. Each month, a manual process will select which new tips should be retained. This&nbsp;template will be added to those tips.
 
Generally, new tips will be created without this template. Each month, a manual process will select which new tips should be retained. This&nbsp;template will be added to those tips.
   
The navigation arguments (<tt>id</tt>, <tt>previous</tt>, <tt>next</tt>) are mandatory. A [[User:JohnBot|bot]] updates <tt>previous</tt> and <tt>next</tt>.
+
The navigation arguments (<code>id</code>, <code>previous</code>, <code>next</code>) are mandatory. A [[User:JohnBot|bot]] updates <code>previous</code> and <code>next</code>.
   
Arguments <tt>created</tt> and <tt>version</tt> (minimum version of Vim supported by the tip) are mandatory.<br />
+
Arguments <code>created</code> and <code>version</code> (minimum version of Vim supported by the tip) are mandatory.<br />
Arguments <tt>complexity</tt> and <tt>author</tt> can be empty (keep each argument line, but the value following '<tt>=</tt>' can be deleted).
+
Arguments <code>complexity</code> and <code>author</code> can be empty (keep each argument line, but the value following '<code>=</code>' can be deleted).
   
 
Up to six categories can be defined with arguments like this (preferably in alpha order):<br />
 
Up to six categories can be defined with arguments like this (preferably in alpha order):<br />
<tt>|category1=C++<br />
+
<code>|category1=C++<br />
|category2=Sorting</tt>
+
|category2=Sorting</code>
 
</noinclude>
 
</noinclude>

Latest revision as of 08:31, July 15, 2012

This template should be used at the start of each new tip created on this wiki.

Generally, new tips will be created without this template. Each month, a manual process will select which new tips should be retained. This template will be added to those tips.

The navigation arguments (id, previous, next) are mandatory. A bot updates previous and next.

Arguments created and version (minimum version of Vim supported by the tip) are mandatory.
Arguments complexity and author can be empty (keep each argument line, but the value following '=' can be deleted).

Up to six categories can be defined with arguments like this (preferably in alpha order):
|category1=C++
|category2=Sorting

Around Wikia's network

Random Wiki