Difference between revisions of "Template:Infobox major-mode"
Jump to navigation
Jump to search
(documentation) |
|||
Line 26: | Line 26: | ||
|auto activates = *.ii, *.CC, *.HH, *.cpp, *.hpp, *.cxx, *.hxx, *.c++, *.h++, *.cc, *.hh | |auto activates = *.ii, *.CC, *.HH, *.cpp, *.hpp, *.cxx, *.hxx, *.c++, *.h++, *.cc, *.hh | ||
}} | }} | ||
+ | |||
+ | Generate a major-mode infobox. | ||
+ | |||
+ | <pre>{{Infobox major-mode | ||
+ | |title = C++ | ||
+ | |library = cc-mode | ||
+ | |command = c++-mode | ||
+ | |builtin = yes | ||
+ | |auto activates = *.ii, *.CC, *.HH, *.cpp, *.hpp, *.cxx, *.hxx, *.c++, *.h++, *.cc, *.hh | ||
+ | }}</pre> | ||
+ | will generate the infobox shown at the top right corner of this page. | ||
+ | |||
</noinclude> | </noinclude> |
Revision as of 19:32, 29 March 2012
Library | cc-mode |
---|---|
Command | c++-mode |
Builtin | yes |
Auto-activates for | *.ii, *.CC, *.HH, *.cpp, *.hpp, *.cxx, *.hxx, *.c++, *.h++, *.cc, *.hh |
Generate a major-mode infobox.
{{Infobox major-mode |title = C++ |library = cc-mode |command = c++-mode |builtin = yes |auto activates = *.ii, *.CC, *.HH, *.cpp, *.hpp, *.cxx, *.hxx, *.c++, *.h++, *.cc, *.hh }}
will generate the infobox shown at the top right corner of this page.