User:Dogears/code snips and style
Notepad of style notes and code snippets culled from community pages
Style notes
- Cite your sources - Wikipedia a reliable source
- Share the External Links wwith database
{{Commons|select category}} * {{Web reference | URL=http://inventors.about.com/library/inventors/blmatch.htm | title = The History of Matches | work = Inventors.about.com | date = November 11 | year = 2005 }}
- Link to your article from other articles
Code snippets
(prompt) command parameter-name
Image:picture.jpg|120px|right/left/none|thumb|Blah blah caption
What it looks like | What you type |
---|---|
When there is a need for separating a block of text
This is useful for (as the name says) inserting blocks of quoted (and cited) text. |
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
- List
- List
- Numbered
- List
- word
- definition
as above
so below
San Francisco also has public transportation.
(ing ending blended into link for public "transport"- Preferred over the pipe)
Economics#See also is a link to a section within another page.
#Links and URLs is a link to a section on the current page.
#example is a link to an anchor that was created using
Automatically hide stuff in parentheses: kingdom.
Linking directly to an image without displaying it: Image of the jigsaw globe logo
Using the div tag to separate images from text (note that this may allow images to cover text):
Example:
Multicolumns
Aerosol artists
oh yea |
Street Art and Post-Graffiti artists
do it again |
![]() | I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide. If this is not legally possible: |