Wikia

Vim Tips Wiki

Changes: Template:Merged

Edit

Back to page

(remove wide margin)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 14: Line 14:
 
To merge two similar tips, copy useful information from the second tip into the first.
 
To merge two similar tips, copy useful information from the second tip into the first.
   
Then include <tt><nowiki>{{Merged|</nowiki></tt>''number''<tt><nowiki>}}</nowiki></tt> near the top of the second (obsolete) tip.
+
Then include <code><nowiki>{{Merged|</nowiki></code>''number''<code><nowiki>}}</nowiki></code> near the top of the second (obsolete) tip.
   
If you were merging tip 5 into tip 1, you would put <tt><nowiki>{{Merged|1}}</nowiki></tt> at the top of tip 5. That automatically adds <tt><nowiki>{{Delete}}</nowiki></tt> to tip 5, flagging it as a candidate for deletion.
+
If you were merging tip 5 into tip 1, you would put <code><nowiki>{{Merged|1}}</nowiki></code> at the top of tip 5. That automatically adds <code><nowiki>{{Delete}}</nowiki></code> to tip 5, flagging it as a candidate for deletion.
   
 
It is normally preferable to merge to the tip with the smallest id (tip number) on the principle that we should keep the first tip that covered a particular topic. For example, we would merge tip 5 to tip 1, then delete tip 5.
 
It is normally preferable to merge to the tip with the smallest id (tip number) on the principle that we should keep the first tip that covered a particular topic. For example, we would merge tip 5 to tip 1, then delete tip 5.
   
If necessary, you can specify the title of the page holding the merged content using <tt><nowiki>{{Merged|title=</nowiki></tt>''Page title''<tt><nowiki>}}</nowiki></tt> instead of providing the tip id.
+
If necessary, you can specify the title of the page holding the merged content using <code><nowiki>{{Merged|title=</nowiki></code>''Page title''<code><nowiki>}}</nowiki></code> instead of providing the tip id.
   
 
See the [[Vim_Tips_Wiki:Merge_guidelines|merge guidelines]].
 
See the [[Vim_Tips_Wiki:Merge_guidelines|merge guidelines]].

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

Obsolete tip

This tip has been merged into another tip.
See [[VimTip{{{1}}}]] for the current tip.

Please do not edit this tip, and do not edit the discussion page.
If anything needs to be improved, please fix [[VimTip{{{1}}}]].

Use this template on a tip that has been merged into another tip.

UsageEdit

To merge two similar tips, copy useful information from the second tip into the first.

Then include {{Merged|number}} near the top of the second (obsolete) tip.

If you were merging tip 5 into tip 1, you would put {{Merged|1}} at the top of tip 5. That automatically adds {{Delete}} to tip 5, flagging it as a candidate for deletion.

It is normally preferable to merge to the tip with the smallest id (tip number) on the principle that we should keep the first tip that covered a particular topic. For example, we would merge tip 5 to tip 1, then delete tip 5.

If necessary, you can specify the title of the page holding the merged content using {{Merged|title=Page title}} instead of providing the tip id.

See the merge guidelines.

Around Wikia's network

Random Wiki