साँचा:INS/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

Usage

This is a typing short cut for linking to Indian Navy ship articles named in the format "INS Mahé (M-83)". Since ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as [[INS Mahé (M-83)|INS ''Mahé'' (M-83)]]. This template halves that to {{INS|Mahé|M-83}}.

Formal usage

  • {{INS|Ship Name}}
  • {{INS|Ship Name|ID}}, where ID can be the hull number, launch year, or pennant number, as specified in the article title.


Examples

Template usage Equivalent wikicode Final result
{{INS|Mahé|M 83}} [[INS Mahé (M 83)|INS ''Mahé'' (M 83)]] साँचा:ship
{{INS|Mahé|1983}} [[INS Mahé (1983)|INS ''Mahé'' (1983)]] साँचा:ship
{{INS|Mahé}} [[INS Mahé|INS ''Mahé'']] साँचा:ship

Last example could be used to link to ship index (disambiguation) page

See also

साँचा:WPSHIPS shortcut templates