User:Klortho/Editing notes

Source: Wikipedia, the free encyclopedia.

Here are some general notes about editing articles.

Useful templates

  • To delete any page in your own user space, add {{db-u1}} to the top

Here's a collapsible guide to commonly used templates; the {{Quicktemplates}} template:


Images

[[File: | thumb | upright | right | alt= | caption ]]

Cite web

<ref>{{cite web
 |url= 
 |title= 
 |author= 
 |date= 
 |website= 
 |publisher= 
 |access-date= 
}}</ref>

Cite journal

<ref>{{cite journal
 |last1= 
 |first1= 
 |last2= 
 |first2= 
 |date= 
 |title= 
 |journal= 
 |volume= 
 |issue= 
 |pages= 
 |publisher= 
 |doi= 
 |url= 
 |access-date= 
}}</ref>

Cite book (short)

<ref>{{cite book
 |last= 
 |first= 
 |author-link= 
 |title= 
 |publisher= 
 |series= 
 |date=  
 |doi= 
 |isbn= 
}}</ref>

Cite book (extended)

<ref>{{cite book
 |last1        = 
 |first1       = 
 |last2        = 
 |first2       = 
 |author-link1 = 
 |author-link2 = 
 |editor       = 
 |title        = 
 |trans-title  = 
 |url          = 
 |access-date  = 
 |edition      = 
 |series       = 
 |volume       = 
 |date         = 
 |publisher    = 
 |location     = 
 |isbn         = 
 |doi          = 
 |page         = 
 |pages        = 
 |chapter      = 
}}</ref>

Metric conversions

Single input:
{{convert|original_value|original_unit|conversion_unit|abbr=on}}
Range of values:
{{convert|orig_val1|range|orig_val2|original_unit|conversion_unit|abbr=on}}
Examples:
{{convert|60|and|170|kg|lb|abbr=on}}
{{convert|18|°C|°F}}
{{convert|3.21|kg|lb}}

Variables

Code Effect
{{CURRENTWEEK}} 17
{{CURRENTDOW}} 0
{{CURRENTMONTH}} 04
{{CURRENTMONTHNAME}} April
{{CURRENTMONTHNAMEGEN}} April
{{CURRENTDAY}} 28
{{CURRENTDAYNAME}} Sunday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 06:45
{{NUMBEROFARTICLES}} 6,817,868
{{NUMBEROFPAGES}} 60,545,165
{{NUMBEROFUSERS}} 47,319,428
{{PAGENAME}} Klortho/Editing notes
{{NAMESPACE}} User
{{REVISIONID}} -
{{REVISIONUSER}} SporkBot
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /w/index.php?title=Wikipedia:Sandbox&action=edit
{{fullurl:pagename}} //en.wikipedia.org/wiki/Pagename
{{fullurl:pagename|query_string}} //en.wikipedia.org/w/index.php?title=Pagename&query_string
{{SERVER}} //en.wikipedia.org
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} Wikipedia

Recalling named reference

<ref name="NAMEOFREF" />

Quotes

{{blockquote |text= |sign= }}

Blockquotes

<blockquote>
<p>QUOTED PARAGRAPH</p>
<p>NAME, SOURCE, REFERENCE</p>
</blockquote>

About

(This page is about USE1. For other uses, see About (disambiguation).)
{{About|USE1}}
(This page is about USE1. For other uses, see PAGE2.)
{{About|USE1||PAGE2}}
(This page is about USE1. For USE2, see PAGE2.)
{{About|USE1|USE2|PAGE2}}
(This page is about USE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.)
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}

Tables (borderless)

{|
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}

Tables (wikitable)

{| class="wikitable"
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}

Collapsible tables (Default: collapsed)

{| class="wikitable mw-collapsible mw-collapsed" style="text-align: left;margin:0px;"
|- 
! style="width:20em;" |COLUMN1
! style="width:20em;" |COLUMN2
|- 
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|-
|}

Columns

{{col-begin|width=100%}}
{{col-break|width=}} 
{{col-end}}

Interwiki links

Wiki Shortcut
Wikimedia Commons [[commons:]]
Wikipedia [[w:]]
Wiktionary [[wikt:]]
Wikibooks [[b:]]
Wikisource [[s:]]
Wikispecies [[species:]]
Metawiki [[m:]]
MediaWiki [[mw:]]

Vandalism response templates

 * {{subst:uw-vandalism1|PageName}} ~~~~ (unintentional vandalism/test)
 * {{subst:uw-delete1|PageName}} ~~~~ (unintentional removal of content)
 * {{subst:uw-vandalism2|PageName}} ~~~~ (suitable for intentional nonsense or disruption)
 * {{subst:uw-delete2|PageName}} ~~~~ (variant for removal of content)
 * {{subst:uw-vandalism3|PageName}} ~~~~ ("please stop" for use after level 2 warning)
 * {{subst:uw-delete3|PageName}} ~~~~ (please stop removing content)
 * {{subst:uw-vandalism4|PageName}} ~~~~ (last warning for vandalism)
 * {{subst:uw-delete4|PageName}} ~~~~ (last warning for removing content)
 * {{subst:uw-vandalism4im|PageName}} ~~~~ (only warning; for severe or grotesque vandalism only)
 * {{subst:uw-delete4im|PageName}} ~~~~ (only warning; for many blankings in a short period of time)

Page citations

{{rp|page=}}

Wiki markup syntax

Styling

  • '''bold''', ''italic'', '''''bold-italic'''''

Escaping

  • Surround any text with <nowiki>...</nowiki>

Links

See Help:Link.

Pipe trick

The pipe trick (see Help:Pipe_trick): If you enter a link that ends with a pipe character and nothing after it, then a label is automatically generated that leaves off the namespace and anything in parentheses. Examples:

  • [[Help:Template|]] is converted to [[Help:Template|Template]], which is rendered as Template.
  • [[Music: My life|]] is converted to [[Music: My life| My life]], which is rendered as My life - although "Music:" is not a namespace (therefore the space after the colon is not automatically removed), the shortcut works anyway.
  • [[pipe (computing)|]] is converted to [[pipe (computing)|pipe]] which is rendered as
    pipe
    .

Linking to old versions / diffs

Use templates to do that:

  • {{oldid|The Banana Splits|The_Banana_Splits|old version}}old version
  • {{diff|The_Banana_Splits|558783629|552638959|diff two versions}}diff two versions, parameter order is new id, old id
  • {{diff|The_Banana_Splits|0|552638959|diff old to latest}}diff two versions, use 0 to diff against the latest version


Interwiki links

See:

Tips

  • Avoid excessive links. The lead of an article typically has more than the rest. Only make the first occurrence of a word or phrase a link.

Citing Sources

  • Being bold is important on Wikipedia.[1]

Notes

  1. ^ Be bold guideline, Wikipedia, retrieved August 10, 2012

Multiple reference lists

Note that in order to do multiple reference lists on the same page, you have to make sure that each reference list is "closed", as described

here
. To do that, it should be sufficient to just code your reflist as {{Reflist|close}}.

When and how to cite

This is from Keilana:

All you need to do is cite at the end of the paragraph. Generally the rule of thumb is that you cite quotes and always have a cite at the end of a paragraph. If you only have one source in a paragraph with no quotes, then the single citation is fine. If you have multiple sources for a paragraph, try to cite them by sentence based on where they came from, but you don't need to have the same citation for two sentences in a row.

Images / figures

Modified from a comment by Keilana:

Andromeda as it appears in the night sky, with the superimposed figure.

Here is a blank template that you can just fill in every time you want to put an image somewhere: [[File:FILENAME|thumb|RIGHT/LEFT|SIZEpx|CAPTION]]. For example, the code [[File:Andromeda annotated.png|thumb|right|400px|Andromeda as it appears in the night sky, with the superimposed figure.]] produces the image to the right.

Cool miscellaneous templates

{{tl|template name}} - {{

tl
}} - Lets you reference a template in order to talk about it (here it is self-referential)

Blocks

The internet is one gigantic well-stocked fridge ready....

--"Mega 'Zines'", Macworld (1995)[1]

{{Quote box
 |quote  = The internet is one gigantic well-stocked fridge ready....
 |source = --"Mega 'Zines'", ''[[Macworld]]'' (1995)<ref>Quote Reference here</ref>
 |width = 30%
 |align= right
 |bgcolor= #c6dbf7
}}

Graphics / icons

Here's the list:


Check marks:

  • {{
    Check mark
    }} checkY
  • {{Tick}} = {{Tick|20}} checkY
  • {{
    y}}, {{aye
    }} Green tickY
  • {{Ya}}, {{ya}} data-sort-value="Yes" style="background: #DFD; vertical-align: middle; text-align: center; " class="table-yes2" |Yes
  • {{Check mark-n}} YesY
  • {{
    Y&
    }}
  • File:☑.svg

X marks

  • {{Xmark}} ☒N
  • {{
    Cross
    |20}} ☒N
  • {{
    n}}, {{nay
    }} Red XN
  • {{Na}}, {{na}} data-sort-value="No" style="background: #FFE3E3; vertical-align: middle; text-align: center; " class="table-no2" | No
  • {{X mark-n}} NoN
  • {{
    N&
    }}
  • File:☒.svg

Other

See also

  1. ^ Quote Reference here