NOTE: We are working on migrating this site away from MediaWiki, so editing pages will be disabled for now.

Wiki linking style guide

From GMOD
Revision as of 10:12, 4 October 2007 by Clements (Talk | contribs)

Jump to: navigation, search

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>