Jump to content

User:Dogears/code snips and style

Coordinates: 40°42′45″N 74°00′34″W / 40.712488°N 74.009501°W / 40.712488; -74.009501
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Post new code snippets at the bottom of the page


User pages
Photo contributions
Tools: Info links + Sandbox
Categories Categories of interest
Wikicode: Code snips and style
Templates: Template samples
Info: Wiki Template documentation
(edit) Wiki projects


(Cross) referencing

Reliable source

  • Lincoln, Abraham; Grant, U. S.; & Davis, Jefferson (1861). Resolving Family Differences Peacefully (3rd ed.). Gettysburg: Printing Press. ISBN 0-12-345678-9.

Sequence of footers

  1. See also
  2. Notes
  3. References
  4. External links
  • Share the External Links with 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

<noinclude>used on Template_talk: pages 
           so the template does not call the function in the rendered preview/page. 
<nowiki> used to display the guts (also use: teletype box)

And the {{tl|example}} tag to render {{example}} 
Versus  {{example}} rendering meta things 
This is an example of a template. For help with templates, see Help:Template.

)

  • <!--comment-->
  • <br> use sparingly
  • Wold hunger
  • <center></center>
  • <blockquote></blockquote>
One space before wiki code (or any text) puts it in a teletype box, 
but not html or brackets - (prompt) command parameter-name 
Image parameters
Image:picture.jpg|120px|right/left/none|thumb|Blah blah caption

What it looks like

What it looks like What you type
  • List
  • List
  1. Numbered
  2. List
word
definition
* List
* List
# Numbered
# List
; word : definition

as above


so below

as above
----
so below

San Francisco also has public transportation. (tion ending blended into link)

San Francisco also has [[public transport]]ation.
(tion ending blended into link)

Linking directly to an image without displaying it:

Image of the jigsaw globe logo

or link to description page

Linking directly to an image without displaying it:

[[media:wiki.png|Image of the jigsaw globe logo]]

[[:Image:wiki.png|or link to description page]]

design.[1]

  1. ^ Biography, 9 November 2005.
design.{{ref|rheumatism}}
# {{note|name}} Biography  [[9 November]] [[2005]].

Simple columns

Header1

data

data

data

Header2

data data data

Header3
  • data
  • data
  • data
  • data
  • data
  • data
{| border="0" cellpadding="2" cellspacing="0"
|-
|valign="top"|'''Header1'''
data

data

data
| '''Header2'''
data
data
data
| '''Header3'''
* data
* data
* data
* data
* data
* data
|-
|}


Misc

div tag

Example:

<div style="float:right;margin-left:0.9em"> [[Image:St Basils Cathedral closeup.jpg|thumb]]</div>

Multicolumns

Aerosol artists

oh yea

Street Art and Post-Graffiti artists

do it again


Also written

Aerosol artists

fghj ghfjfjh gjkjkghkjgk

Street Art and Post-Graffiti artists

ghjkkhgjkgh khgj hfjkghkjgk

But not

Aerosol artists fghj ghfjfjh gjkjkghkjgk

Street Art and Post-Graffiti artists ghjkkhgjkgh khgj hfjkghkjgk

Harvard references

The example in this section (a mockup sort of article) uses harvard references with wikipedia:footnote3 template layout, combined with numbered footnotes, realised with wikipedia:footnotes tags. It is an imaginary extract from an article on Foo (the "Notes" and "References" sections are of "===" level in this example, in a real article they'd be of "==" level):


[...]

Foo was invented by Nescio Nomen[1] in the 17th century.

A century later, Foo was refined by Negidius Numerius (Blue 2003).

It was also Negidius Numerius who established that N. Nomen was the original inventor of Foo (Blue 2003, pp. 17–18).

[...]

Notes

  1. ^ Not to be confounded with his nephew Nexio Nomen, see: Adam Adams, The Nomen Dynasty in Eastern Europe, Academia Press, 1903, p. 227, footnote 7

References

  • Blue, Baby (2003), Negidius Numerius' reinvention of Foo, Wikidemia Press, ISBN 000000000000 {{citation}}: Check |isbn= value: length (help)
  • C. Coda, An overview of the publications on Foo, Wackademia journal, October 2004 issue, p. 12-13

Here's how this looks like in wiki-script:



[...]

Foo was invented by Nescio Nomen<ref>Not to be confounded with his nephew Nexio Nomen, see: Adam Adams, ''The Nomen Dynasty in Eastern Europe'', Academia Press, 1903, p. 227, footnote 7</ref> in the 17th century.

A century later, Foo was refined by Negidius Numerius {{harv|Blue|2003}}.

It was also Negidius Numerius who established that N. Nomen was the original inventor of Foo {{harv|Blue|2003|pp=17-18}}.

[...]

===Notes===
<references/>

===References===
*{{citation|first=Baby|last=Blue|title=''Negidius Numerius' reinvention of Foo''|publisher=Wikidemia Press|year=2003|isbn=000000000000}}
*C. Coda, ''An overview of the publications on Foo'', Wackademia journal, October 2004 issue, p. 12-13


div style

[Please click here to leave me a new message.]


double table

Double table for User:Dogears/code snips and style:

edit - history - watch - purge

hello

this

is there is no place

like vacation

This table is informative


dude this rules

2nd column in rowspan=2, right justify

tables rule

but then

so do templates

This table is informative

big chunk flesh stab

References

<div class="references-small">
First: <ref name="name"> ... </ref>
Nth: <ref name="name"/>

Timeline

caption and no border

<div style="float:right;margin-left:0.9em">
[[Image:Castle Neuschwanstein.jpg|none|200px]]
<center><small>[[Neuschwanstein]]</small></center>
</div>

October 2009

== {{int:filedesc}} == {{Information |Description={{en|{{w|V. C. Morris Gift Shop}}, 140 Maiden Lane, San Francisco, San Francisco County, CA - view from near top of ramp down to first floor.}} |Source=[[Library of Congress]], Prints and Photographs Division, {{w|Historic American Buildings Survey}}: [http://hdl.loc.gov/loc.pnp/hhh.ca1392 CAL,38-SANFRA,160-7] |Date=1981-09 |Author={{w|Jet Lowe}}, HABS photographer |Permission={{HABS|CAL,38-SANFRA,160-7}} }}


== External links == *[http://memory.loc.gov/cgi-bin/query/r?ammem/hh:@field(NUMBER+@band(NY0422)) American Memory from the Library of Congress] {{coord|40.712488|-74.009501|region:US_type:landmark|display=title}} American Memory from the Library of Congress 40°42′45″N 74°00′34″W / 40.712488°N 74.009501°W / 40.712488; -74.009501

Italic standards

Las Meninas (Spanish for The Maids of Honour) is a 1656 painting by Diego Velázquez, ...

"Yesterday" is a pop song originally recorded by The Beatles for their 1965 album Help!.