Difference between revisions of "Wiki linking style guide"
From GMOD
Line 1: | Line 1: | ||
− | Stolen wholesale from bioperl wiki: | + | Stolen wholesale from {{BioPerl|Style_guide|bioperl wiki}}: |
{| border="1" cellpadding="4" cellspacing="0" | {| border="1" cellpadding="4" cellspacing="0" |
Revision as of 18:20, 29 January 2007
Stolen wholesale from Style_guide:
What you want | Enter this | To create this |
---|---|---|
Internal Wiki link | [[GMOD_Middleware]] | GMOD_Middleware |
Internal Wiki link w/ display name | [[GMOD_Middleware|GMOD middleware meeting]] | GMOD middleware meeting |
HOWTO link | {{HOWTO|SearchIO}} | SearchIO HOWTO |
HOWTO link w/ display name | [[HOWTO:SearchIO|How to use SearchIO]] | How to use SearchIO |
BioPerl module link | {{BioPerl|Bio::SeqIO}} | Bio::SeqIO |
BioPerl module link w/ display name | {{BioPerl|Bio::DB::GFF|the GFF DB module}} | Bio::DB::GFF |
BioPerl script in CVS HEAD | {{PLS|examples/rev_and_trans.pl}} | Template:PLS |
External Wikipedia link | [[wp:The Beatles|The Fab Four]] | The Fab Four |
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]] | |
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) (for example) |
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> |