Jump to content

User:Dbiel/Cheatsheet

From Wikipedia, the free encyclopedia


Copy and Paste

{{DEFAULTSORT:}}

reverted as unreferenced see [[WP:WPSCH/AG#Alumni]]

update WPSchools template, set importance to low

[[MOS:DABRL]] - red links used on disambiguation pages

fact tag

== Using the fact tag ==

quote block

{{cquote|

}}


I have corrected your edit to [[]] . Please note that when adding the fact tag that the month needs to be spelled out completely. Your edit was <nowiki> {{fact|date=Sept 2008}} <nowiki> it should have been <nowiki> {{fact|date=September 2008}} <nowiki> Using Sept adds the article to the non-existant category [[:Category:Articles with unsourced statements since Sept 2008]] instead of the correct category [[:Category:Articles with unsourced statements since September 2008]]. Just thought you might be interested. ~~~~

Editing guidelines

Layout

  • See also
  • References
  • External links
  • Categories
note: 2 blank lines between the last category and the first stub template
  • stub templates
  • inter wikis

Wikipedia:Layout

Unsigned

{{subst:unsignedIP|255.255.255.255|11:15, 24 January 2008 (UTC)}}

{{subst:unsigned|Jimbo Wales|11:15, Jun 1, 2005 (UTC)}}

Template code

To allow use without including in categories

{{#ifeq: {{{categories|{{#if:{{{1|}}}|no}}}}}||[[Category:Prophets of the Hebrew Bible]]}}

Also add:

[[Category:Category suppression-supporting templates|{{PAGENAME}}]]

see:{{Prophets of the Tanakh}}

To use when above code is in place

To add a template to a page that should not be categories add the following code to the template usage in the proper position

|categories=no

Example: {{Roman Polański|categories=no}}

edit summary to use when updating sub-level parent categories

added code to remove this page from [[Category:Parent categories]]

Anchors

Example:

{{Anchors|unacceptable use images of living people|UULP}}

If only using a single anchor name use the following:

{{Anchor|UULP}}

Consider adding some hidden text to explain the purpose of the anchor as per the following example

<!-- anchor used for easy linking to this very important section as we continue to delete images with legal fair user rationale but fail to meet this specific Wikipedia additional requirement -->

Search Tools

CatScan limited to results of 1,000 or less

To get rid of white space caused by templates or images

{| align="right" | multiple lines of code | each starting with a pipe symbol |}

Page order / syntax

The preferred order is:

  • See also
  • Notes
  • References (or combined with Notes into Notes and references)
  • Bibliography (or Books or Further reading)
  • External links
  • Other cats
  • 2 blank lines if possible (I think this is still the case)
  • Stubs
  • 1 blank line
  • Interwikis

Fair Use Rational


{{Non-free use rationale
|Description=
|Source=
|Article=
|Portion=
|Low_resolution=
|Purpose=
|Replaceability=
|other_information=
}}

Fair Use Rational Problem Tags

No Fair Use Rational

{{subst:nrd}} (add to image page)

Added missing fair use rational tag {{subst:nrd}}
Edit summary for article caption

Added {{deletable image-caption}} image does not have a fair use statement

Edit summary for user talk page of the uploader of the image

Added missing fair use statement warning

Important edit tags

Image tag Personality Rights Warning

{| cellspacing="8" cellpadding="0" style="width:80%; clear:both; margin:0.5em auto; background-color:#f7f8ff; border:2px solid #8888aa;"

| style="width: 64px" | [[Image:Nuvola apps important yellow.svg|64px]]

| [[:en:Personality rights|<big>'''Personality rights warning'''</big>]]

This work contains material which may portray an identifiable person who is alive or deceased recently. The use of images of living or recently deceased individuals is, in some jurisdictions, restricted by laws pertaining to [[:en:personality rights|'''personality rights''']], independent from their copyright status. Before using this content, please ensure that you have the right to use it under the laws which apply in the circumstances of your intended use. ''You are solely responsible for ensuring that you do not infringe someone else's personality rights.'' See our [[Wikipedia:General disclaimer|Personality Rights Disclaimer]]. [[Category:Personality Rights]]

|}

<noinclude>[[Category:Restriction tags]]</noinclude>

To disable SineBot

Insert "!nosign!" anywhere in the edit summary

Indent code

: Indent code --  :: is double indent

Supscripts and Subscripts

A ulr followed by a pipe and a number results in 1

this is the code: <sup>[[User:Dbiel|1]]</sup>

test<sub>2</sub> results in test2

Substitute code - use with templates

To include the text of a template rather than a link to it use {{subst:Template Name}}

References - footnotes

Footnotes:

  1. Place a <ref> ... </ref> where you want a footnote reference number to appear in an article—type the text of the note between the ref tags.
  2. Place the <references /> {{reflist}} tag in a "Notes" or "References" section near the end of the article—the list of notes will be generated here.

To use the same footnote more than once:

The first time you use the reference, put <ref name="blah"> ... </ref>
Later, you can just put <ref name="blah" />

See University of Vermont for usage difference between embeded links and references An embedded link looks like[1] syntax= [http://someulr]

Use of notes and references

See William Shakespeare

Template:Languageicon

Template:Languageicon

  • {{languageicon|Hebrew/English}} (in Error: {{in lang}}: unrecognized language tag: hebrew/english)
  • {{in lang|es}} (in Spanish)

Disambiguation Pages

Link to directions and templates Wikipedia:Disambiguation and Wikipedia:Manual of Style (disambiguation pages)#The disambig notice

Wikipedia:Disambiguation dos and don'ts short cut: [[DDD]]

These pages should be a minimum of 300 bytes to keep them off the Special:ShortPages page

See below for instructions

Special Short Pages

Edit to be use of short

<!-- Long comment to avoid being listed on [[Special:Short Pages]] -->

Note: add spaces to fill 2 lines

Edit summary:

hidden comment to keep this page from being listed on [[Special:ShortPages]]


Comment markup

help pages

Source for help: Wikipedia:Village_pump

See Wikipedia:How to edit a page for more detailed explanations and advanced syntax.

Description You type You get
Applies anywhere
Italicise text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within Wikipedia)

[[name of page]]
[[name of page|display text]]

name of page
display text

Redirect to another page

#REDIRECT [[Target page]]

Target page

External link

(to other websites)

[http://www.example.org]
[http://www.example.org display text]
http://www.example.org

[2]
display text
http://www.example.org

Sign your posts
on talk pages

~~~~

Your username 22:06,
2 December 2024 (UTC)

Applies only at the beginning of the line
Headings

A Table of Contents will automatically be generated when four headings are added to an article.

== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
====== Level 5 ======

Level 1

Level 2

Level 3

Level 4
Level 5
Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Numbered list

# one
# two
## two point one
# three

  1. one
  2. two
    1. two point one
  3. three
 
Thumbnail image

[[Image:Wiki.png|thumb|Caption text]]

Caption text


See also