Wikia

Vim Tips Wiki

Changes: Template:TipImported

Edit

Back to page

(include <div> for SEO)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 16: Line 16:
 
'''This template should be used at the start of each tip imported from vim.org.'''
 
'''This template should be used at the start of each tip imported from vim.org.'''
   
The navigation arguments (<tt>id</tt>, <tt>previous</tt>, <tt>next</tt>) are mandatory (''exception:'' <tt>previous</tt> is empty for Tip 1 which results in no previous link). A&nbsp;[[User:JohnBot|bot]]&nbsp;updates <tt>previous</tt> and <tt>next</tt>.
+
The navigation arguments (<code>id</code>, <code>previous</code>, <code>next</code>) are mandatory (''exception:'' <code>previous</code> is empty for Tip 1 which results in no previous link). A&nbsp;[[User:JohnBot|bot]]&nbsp;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>, <tt>author</tt> and <tt>rating</tt> can be empty (keep each argument line, but the value following '<tt>=</tt>' can be deleted).<br />
+
Arguments <code>complexity</code>, <code>author</code> and <code>rating</code> can be empty (keep each argument line, but the value following '<code>=</code>' can be deleted).<br />
 
''Experiment 2008-09-21'': Have removed display of "rating" (aka "karma") because it is obsolete and potentially misleading.
 
''Experiment 2008-09-21'': Have removed display of "rating" (aka "karma") because it is obsolete and potentially misleading.
   
 
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 tip imported from vim.org.

The navigation arguments (id, previous, next) are mandatory (exception: previous is empty for Tip 1 which results in no previous link). A bot updates previous and next.

Arguments created and version (minimum version of Vim supported by the tip) are mandatory.
Arguments complexity, author and rating can be empty (keep each argument line, but the value following '=' can be deleted).
Experiment 2008-09-21: Have removed display of "rating" (aka "karma") because it is obsolete and potentially misleading.

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