User:Banzaimonkey/Notes

From Wikipedia, the free encyclopedia

Contents

[edit] Parser Functions

AHAHAHAHAHAHAHA!

http://meta.wikimedia.org/wiki/ParserFunctions

[edit] Hax Lolz

In order to use a picture as a link, the following must be done:

  1. Upload the image.
  2. Edit the image page with:
    #REDIRECT[[TargetPage]]
    
  3. Link to the image to link to the page to which the image page redirects.
  • Note! It may take some time before the redirect works on the link, but it will work (at least on Wikibooks).

[edit] Citations

Inline citations work as follows:

Statement of fact.<ref>http://www.link.to/source</ref>

Appears as: Statement of fact.[1]

To list the citations at the end of the page, use:

<references />

Appears as:

  1. ^ http://www.link.to/source

[edit] Template Code

Template code is as follows:

Contents
of
Template
<noinclude>
  Information on template page that will not be included in the actual template.
</noinclude>

To include the template:

{{Location:Of/Template}}

[edit] Prefix Index Pages

To list all the pages with a particular prefix, particularly useful on Wikibooks or for User subspace, the following code can be used:

[[Special:Prefixindex/prefixtobeindexed|NameofLink]]

Examples:

PHP Pages

[edit] Userboxes

These are the cute little boxes that can be placed on people's userpages.

[edit] Infoboxes

Infoboxes hold meta information for a particular wikibook such as Author, Editor, etc.

[edit] Spam

DrQuincy - Self-promotion of personal website on two pages. Volume is low, but this user has no contributions other than addition of these links.

[edit] PHP Logo

This link goes to a picture of the PHP Elephant mascot logo. Useful! =D

[edit] Crystal Clear Icons

These may be useful for stuff:

  • Terminal icon for code boxes
  • PHP mime icon can be used to designate a PHP file download
  • HTML mime icon can be used to designate an HTML file download
  • Green checkmark can be used to show valid code
  • Red X mark can be used to show invalid code
  • Web browser icon could be used to designate "links" section.
  • Kate icon could be used to designate an exercise
  • Gear icon could be used for something
  • Arrows could be used for navigation

[edit] Color Text Boxes

Default

{{{1}}}

Test

{{{1}}}
<?php
  $number1 = 5;
  $number2 = 6;
?>

White

{{{1}}}
{{{2}}}

Teal

{{{1}}}
{{{2}}}

Fuscia

{{{1}}}
{{{2}}}

Yellow

{{{1}}}
{{{2}}}

Green

{{{1}}}
{{{2}}}

Blue

{{{1}}}
{{{2}}}

Red

{{{1}}}
{{{2}}}

Grey

{{{1}}}
{{{2}}}