Difference between revisions of "Wiki linking style guide"
From GMOD
m |
(Dropped HOWTO link examples. We didn't do most HOWTOs in that way.) |
||
Line 7: | Line 7: | ||
|- | |- | ||
| Internal Wiki link w/ display name || <tt><nowiki>[[GMOD_Middleware|GMOD middleware meeting]]</nowiki></tt> || [[GMOD_Middleware|GMOD middleware meeting]] | | Internal Wiki link w/ display name || <tt><nowiki>[[GMOD_Middleware|GMOD middleware meeting]]</nowiki></tt> || [[GMOD_Middleware|GMOD middleware meeting]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| BioPerl wiki link || <tt><nowiki>{{BioPerl|Style_guide}}</nowiki></tt> || {{BioPerl|Style_guide}} | | BioPerl wiki link || <tt><nowiki>{{BioPerl|Style_guide}}</nowiki></tt> || {{BioPerl|Style_guide}} |
Revision as of 10:12, 4 October 2007
Stolen wholesale from BioPerl wiki Style Guide:
What you want | Enter this | To create this |
---|---|---|
Internal Wiki link | [[GMOD_Middleware|GMOD Middleware]] | GMOD Middleware |
Internal Wiki link w/ display name | [[GMOD_Middleware|GMOD middleware meeting]] | GMOD middleware meeting |
BioPerl wiki link | {{BioPerl|Style_guide}} | Style_guide |
BioPerl interWiki link | [[bp:BioPerl:Style_guide|Bioperl Style Guide]] | Bioperl Style Guide |
Wikipedia interWiki link | [[wp:The Beatles|The Fab Four]] | The Fab Four |
BioPerl module link | {{BPM|Bio::SeqIO}} | Bio::SeqIO |
File in GMOD CVS HEAD | {{CVS|schema/chado/INSTALL}} | schema/chado/INSTALL |
CPAN module link | {{CPAN|Class::DBI}} | Class::DBI |
Bare URL | http://www.google.com/ | http://www.google.com/ |
Display an image | [[Image:Bioperl-pub-data.png]] | Not working yet |
URL w/ display name | [http://www.google.com/ Search Google] | Search Google |
Put page in category | [[Category:Tools]] | (link to other Tools in page footer) |
Sign your name with date | ~~~~ | scott 02:11, 28 December 2005 (EST) |
Filenames, paths, $ENV_VARS | <tt>$PREFIX/lib/perl.so</tt> | $PREFIX/lib/perl.so |
Inline code examples | <code>$fh->print("BioPerl")</code> | $fh->print("BioPerl")
|
Blocks of code | Indent it, or use PRE tags: <pre> #!/usr/bin/perl -w use strict; use Bio::Perl; </pre> |
#!/usr/bin/perl -w use strict; use Bio::Perl; |
Colored Perl code | <perl>my $db = Bio::DB::GenBank->new</perl> | <perl>my $db = Bio::DB::GenBank->new</perl> |