Wikia

Vim Tips Wiki

Changes: Template:Script

Edit

Back to page

(Slight reword and sShow example of usage.)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 8: Line 8:
 
*''script_name'' is any text to be displayed as the link text.
 
*''script_name'' is any text to be displayed as the link text.
   
For example, <tt><nowiki>{{script|id=12}}</nowiki></tt> gives {{script|id=12}} and <tt><nowiki>{{script|id=12|text=Display function name}}</nowiki></tt> gives {{script|id=12|text=Display function name}}.
+
For example, <code><nowiki>{{script|id=12}}</nowiki></code> gives {{script|id=12}} and <code><nowiki>{{script|id=12|text=Display function name}}</nowiki></code> gives {{script|id=12|text=Display function name}}.
   
 
==See also==
 
==See also==

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

Use this template in a tip to add a link to a script on vim.org.

UsageEdit

  1. {{script|id=id_number}}
  2. {{script|id=id_number|text=script_name}}
  • id_number is the script id on http://www.vim.org/
  • script_name is any text to be displayed as the link text.

For example, {{script|id=12}} gives script#12 and {{script|id=12|text=Display function name}} gives Display function name.

See alsoEdit

Around Wikia's network

Random Wiki