Jump to content

User:Klortho/Editing notes

From Wikipedia, the free encyclopedia

Here are some general notes about editing articles.

Useful templates

[edit]
  • 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:


[[File: | thumb | upright | right | alt= | caption ]]
<ref>{{cite web
 |url= 
 |title= 
 |author= 
 |date= 
 |website= 
 |publisher= 
 |access-date= 
}}</ref>
<ref>{{cite journal
 |last1= 
 |first1= 
 |last2= 
 |first2= 
 |date= 
 |title= 
 |journal= 
 |volume= 
 |issue= 
 |pages= 
 |publisher= 
 |doi= 
 |url= 
 |access-date= 
}}</ref>
<ref>{{cite book
 |last= 
 |first= 
 |author-link= 
 |title= 
 |publisher= 
 |series= 
 |date=  
 |doi= 
 |isbn= 
}}</ref>
<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>
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}}
Code Effect
{{CURRENTWEEK}} 47
{{CURRENTDOW}} 2
{{CURRENTMONTH}} 11
{{CURRENTMONTHNAME}} November
{{CURRENTMONTHNAMEGEN}} November
{{CURRENTDAY}} 19
{{CURRENTDAYNAME}} Tuesday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 01:00
{{NUMBEROFARTICLES}} 6,912,702
{{NUMBEROFPAGES}} 61,864,932
{{NUMBEROFUSERS}} 48,284,743
{{PAGENAME}} Klortho/Editing notes
{{NAMESPACE}} User
{{REVISIONID}} -
{{REVISIONUSER}} Jonesey95
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /w/index.php?title=Wikipedia:Sandbox&action=edit
{{fullurl:pagename}} //wiki.riteme.site/wiki/Pagename
{{fullurl:pagename|query_string}} //wiki.riteme.site/w/index.php?title=Pagename&query_string
{{SERVER}} //wiki.riteme.site
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} Wikipedia
<ref name="NAMEOFREF" />
{{blockquote |text= |sign= }}
<blockquote>
<p>QUOTED PARAGRAPH</p>
<p>NAME, SOURCE, REFERENCE</p>
</blockquote>
(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}}
{|
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}
{| class="wikitable"
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}
{| 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
|-
|}
{{col-begin|width=100%}}
{{col-break|width=}} 
{{col-end}}
Wiki Shortcut
Wikimedia Commons [[commons:]]
Wikipedia [[w:]]
Wiktionary [[wikt:]]
Wikibooks [[b:]]
Wikisource [[s:]]
Wikispecies [[species:]]
Wikiversity [[wv:]]
Metawiki [[m:]]
MediaWiki [[mw:]]
 * {{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)
{{rp|page=}}

Wiki markup syntax

[edit]

Styling

[edit]
  • '''bold''', ''italic'', '''''bold-italic'''''

Escaping

[edit]
  • Surround any text with <nowiki>...</nowiki>
[edit]

See Help:Link.

Pipe trick

[edit]

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

[edit]

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


[edit]

See:

Tips

[edit]
  • 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

[edit]
  • Being bold is important on Wikipedia.[1]

Notes

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

Multiple reference lists

[edit]

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

[edit]

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

[edit]

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

[edit]

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

Blocks

[edit]

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

[edit]

Here's the list:


Check marks:

X marks

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

Other

See also

[edit]
  1. ^ Quote Reference here