User:Mortee/Cheatsheet

{{see also|Help:Cheatsheet|Wikipedia:Tip of the day}}

Referencing

{{Reflist|refs=

  • content1
  • content2

}}

  • {{tlp|r|reference name}} →
  • {{tl|sfn}} – for referencing different pages within one work through an article
  • {{para|ref|harv}} – within a {{tl|cite book}} or similar, to make {{tl|sfn}} work

{{tbullet|rp|188}} – for in-line page numbers next to references

  • {{tl|cite encyclopedia}} – for citing papers/chapters within an edited collection
  • {{tl|cita news}} – to make Spanish or Italian news refs work without having to translate parameters. {{tl|literatur}} for German. There are a few others.
  • {{tl|citar web}} – ditto for Portuguese web references. {{tl|lien web}} for French web references. There are a few others.
  • {{tl|reflist-talk}} – for reference sections within a talk page
  • {{tlp|refbegin|indent{{=}}y}} and {{tlp|refend}} – format lists of works below references

Links

  • {{tbullet|u|Mortee}}
  • or {{tl|noping}} to link without notifying
  • {{tbullet|re|Mortee}}
  • {{tbullet|diff2|764891063}}
  • {{tbullet|diff2|764891063|diff link}}
  • linklink (for links that work in edit summaries. See Help:Special page)
  • {{tbullet|oldid|Main Page|589841|old revision}}
  • {{tbullet|oldid2|589841|old revision}}
  • {{tlxs|URL to diff|url=https://en.wikipedia.org/w/index.php?title=User:Mortee/To_Do&diff=764902506&oldid=764891063|label=diff link}} → {{diff|User:Mortee/To Do|764902506|764891063|diff link}}
  • {{code|grapefruit (pamplemousse)}} → grapefruit (pamplemousse)
  • {{ill|grapefruit|fr|pamplemousse|display=1}} → {{ill|grapefruit|fr|pamplemousse|display=1}} (display=1 required if english article exists, which it does)
  • {{ill|grapefruit|lt=The best fruit|fr|pamplemousse|display=1}} → {{ill|grapefruit|lt=The best fruit|fr|pamplemousse|display=1}} - changes the text
  • {{tbullet|section link|Albert Einstein|Scientific career}}

Random markup

{{see also|User:Sam Sailor/Boilerplates/Templates|Category:Wikipedia utility templates}}

  • {{tbullet|tildes}}
  • {{tbullet|od|::::::::}}
  • {{tbullet|od|8}}
  • {{tbullet|tq|quoted text}}
  • {{tbullet|redacted}}
  • {{tbullet|redacted|identifying information}} (this changes the hover-over text)
  • {{tbullet|para|attribute}}
  • {{tbullet|para|attribute|value}}
  • {{tbullet|hlist|one|two|three}}
  • {{tl|pb}} – to put a visual paragraph break in a list or similar without confusing screen readers
  • {{tbullet|ec}}
  • {{tbullet|tps}}
  • {{tbullet|tps|g}}
  • {{tbullet|Non-admin comment}}
  • {{tbullet|lag|article}}
  • {{=}} → = (as an escape character)
  • {{!}} → | (as an escape character)
  • {{tl|not a typo}}
  • {{tbullet|sic}}
  • {{tbullet|lit}} = {{tl|literal translation}}
  • Columns: {{tl|div col}} and {{tl|div col end}} for easy columns; {{tl|col-begin}}, {{tl|col-break}} and {{tl|col-end}} for manual control
  • {{tl|unsigned}} but always subst: {{subst:unsigned|Mortee|12:00, 31 December 2049 (UTC)}}— Preceding unsigned comment added by Mortee (talkcontribs) 12:00, 31 December 2049 (UTC)
  • {{tbullet|convert|3|ft|m}}
  • {{para|abbr|on}} → {{convert|3|ft|m|abbr=on}}
  • {{para|adj|on}} → {{convert|3|ft|m|adj=on}}
  • {{tlx|convert|3|ft|2+3/8|in|m}} → {{convert|3|ft|2+3/8|in|m}}
  • {{tbullet|frac|2|3}}
  • {{tbullet|frac|1|2|3}}
  • {{tbullet|sfrac|2|3}}
  • {{tbullet|sfrac|1|2|3}}
  • For lists in infoboxes etc, without visible bullet points:

{{Plainlist|

  • Item
  • Item

}}

  • To collapse WikiProject templates together:

{{WikiProjectBannerShell|1=

{{WikiProject History|class=|importance=}}

{{WikiProject Scotland|class=|importance=}}

}}

File:some image.jpg|description|alt=description for the blind

File:another image.jpg|description|alt=description for the blind

  • {{tl|moved discussion from}} and {{tl|moved discussion to}} → {{moved discussion from|there}} {{moved discussion to|here}}
  • {{tl|markup}} for comparing complex source with output. Gets fiddly because you need to replace some common markup with other templates.
  • {{tlx|collapse top|title{{=}}Collapsed section}} ... {{tl|collapse bottom}}

{{collapse top|title=Collapsed section}}

...

{{collapse bottom}}

Tools

  • WP:Twinkle, WP:AutoEd, WP:AWB
  • [https://reftag.appspot.com/ Google Books ref tool], [https://reftag.appspot.com/doiweb.py DOI tool], [https://reftag.appspot.com/nytweb.py NYT tool]
  • [https://tools.wmflabs.org/copyvios/ Earwig's copyvio tool]
  • [https://tools.wmflabs.org/sigma/usersearch.py User contribution search] - "When have I edited this before?"
  • [https://tools.wmflabs.org/sigma/editorinteract.py Editor interaction tool] - "When have I worked with them before?"
  • [https://tools.wmflabs.org/pageviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Cat|Dog Page view stats] - "How often do people see this?"
  • [https://en.wikipedia.org/wiki/Special:Log?type=delete&user=&page=&wpdate=&tagfilter=&subtype= Deletion log]
  • DYKcheck
  • [https://tools.wmflabs.org/bambots/TemplateParam.php?wiki=enwiki Template parameters tool]
  • [https://xtools.wmflabs.org/articleinfo Xtools article info] – note bugs section

= User stats =

  • [https://en.wikipedia.org/w/Special:Log&user=Mortee Logs]
  • [https://en.wikipedia.org/wiki/Special:Log/block Block log]
  • [https://en.wikipedia.org/wiki/Special:Log?type=pagetriage-curation&user=MorteeCuration log]
  • [https://tools.wmflabs.org/afdstats/afdstats.py?name=Mortee&max=&startdate=&altname= AfD stats]
  • [https://xtools.wmflabs.org/ec/en.wikipedia.org/Mortee Xtools edit counter]
  • User rights
  • [https://en.wikipedia.org/wiki/Special:CentralAuth/Mortee Global account info]
  • [https://xtools.wmflabs.org/pages/en.wikipedia.org/Mortee/all Pages created]
  • [https://tools.wmflabs.org/musikanimal/blp_edits?username=Mortee&offset=0&contribs=on BLP edits]
  • [https://tools.wmflabs.org/apersonbot/afchistory/#user=Mortee AfC stats]
  • [https://xtools.wmflabs.org/topedits/en.wikipedia.org/Mortee Most-edited pages]

= Policy, guidelines and canon essays =

{{see also|Wikipedia:Principles|User:Mortee/Policy in the key of C|WP:Wikipedia abbreviations|label2=Policy in the key of C}}

{{Wikipedia policies and guidelines|state=collapsed}}

= Templates =

Maintenance templates

For all these, add the current date with {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. For many, you can and should explain why you're adding it using {{para|reason}}.

= Inline =

{{see also|Template:inline cleanup tags}}

  • {{tbullet|citation needed|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  • {{tbullet|clarify}}
  • {{tbullet|by whom}}
  • {{tbullet|when?}}
  • {{tbullet|how many?}}
  • {{tbullet|dead link}}

= Maintenance templates =

  • {{tlp|unreferenced|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} – no references; {{tl|unreferenced section}} for a section
  • {{tl|refimprove}} – some references, needs more; {{tl|refimprove section}} for a section
  • {{tl|no footnotes}} – some references, none inline; {{tlp|no footnotes|section}} for a section
  • {{tl|more footnotes}} – some references, not enough inline; {{tlp|more footnotes|section}} for a section
  • {{tl|citations broken}} – deadlinks; {{tlp|citations broken|section}} for a section
  • {{tl|update}} - out of date; {{tlp|update|section}} for a section
  • {{tl|orphan}} – no incoming links from articles
  • {{tl|dead end}} – no outgoing wikilinks
  • {{tl|underlinked}} – few outgoing wikilinks
  • {{tl|long plot}} – long plot section
  • {{tl|mergeto}} and {{tl|mergefrom}} – propose merge (much easier to use Twinkle - it's under "Tag")
  • :Category:Expand by language Wikipedia templates – other language's article is better
  • {{tlp|Expand Spanish|Spanish article title}}
  • {{tlp|Multiple issues|{{braces|refimprove}}|{{braces|orphan}}}}

User-space templates

{{main article|Wikipedia:Template messages/User talk namespace}}

{{see also|Category:WikiProject_User_warnings|Wikipedia:Template messages/User talk namespace/Single-level templates|Wikipedia:Template messages/User talk namespace/Multi-level templates

|label1=User warnings category|label2=Single-level notices|label3=Multi-level notices

}}

(Easiest to use Twinkle for most of these)

= Welcome =

= Warning =

= Notification =

  • {{tlx|whois|name of institution}} {{tildes}} – notice for shared IP addresses from e.g. schools
  • {{braces|subst:proposed deletion notify}}|pagename|concern{{=}}reason}} {{tildes}}
  • {{braces|subst:User:Mortee/Template/Prod notify{{!}}pagename}} {{tildes}} – variant wording for the above

= Misc =

  • {{tl|db-u1}} – request deletion of a page of your own
  • {{tlx|uw-selfrevert|pagename|additional text}} {{tildes}} – to thank a user for reverting their own mistake

Images and symbols

{{see also|Category:Single-image insertion templates|Category:Image with comment templates|Template:Done/See also}}

= Icons =

{{main page|Template:Icon}}

  • {{tlx|icon|code}}. e.g. {{tlx|icon|DYK}} → {{icon|DYK}}
  • {{icon link|code|article[|text OR |italics=on]}} → {{icon link|DYK|The Vintner's Luck|italics=on}}

:{{tbullet|icon|AA}}

:{{tbullet|icon|DYK1}} {{var|Q}}

:{{tbullet|icon|DYK2}}

:{{tbullet|icon|NO}}

:{{tbullet|icon|Redirect}}

= Templates =

With the exception of {{tl|later}}, all of the templates below with bold wording attached allow a customised message as the second parameter. For some reason, {{tl|warnsign}} and {{tl|partly done}} capitalise the first letter of your message. The others don't. You can't set specify text, though; it will become an apostrophe (except for {{tl|idea}}, which always adds a colon after whatever text you write).

{{col-start}}

{{col-break}}

  • {{tbullet|tick}}
  • {{tbullet|done}}
  • {{tbullet|fixed}}
  • {{tbullet|partly done}}
  • {{tbullet|not done}}
  • {{tbullet|cross}}
  • {{tbullet|x mark}}
  • {{tbullet|n.b.}}
  • {{tbullet|hmmm}}
  • {{tbullet|question mark}}
  • {{tbullet|hammer}}

{{col-break}}

  • {{tbullet|blue ribbon}}
  • {{tbullet|new entry}}
  • {{tbullet|lightbulb}}
  • {{tbullet|laureate|reasons}}
  • {{tbullet|idea}}
  • {{tbullet|working}}
  • {{tbullet|warnsign}}
  • {{tbullet|like}}
  • {{tbullet|later}}
  • {{tbullet|flagicon|Belgium}}. {{flagicon|UK}}, {{flagicon|US}}, ...

{{col-end}}

= Smileys =

{{main article|Template:Smiley}}

{{tbullet|smiley}}

::{{tbullet|smiley|:-)}}

{{tbullet|smiley|sad}}

{{tbullet|smiley|surprise}}

{{tbullet|smiley|tongue}}

{{tbullet|smiley|angel}}

{{tbullet|smiley|blush}}

::{{tbullet|blush}}

{{tbullet|smiley|raspberry}}

= Families =

  • Template:Access indicator: {{Access indicator|open}}; {{Access indicator|closed}}; {{Access indicator|hybrid}}; {{Access indicator|green}}
  • Template:Link icon: {{link icon|pdf}}; {{link icon|excel}}; {{link icon|word}}; {{link icon|rtf}}; {{link icon|text}}
  • Template:Coat of arms: {{Coat of arms|Kingdom of England}}; {{Coat of arms|Germany}}; {{Coat of arms|Scotland}}; {{Coat of arms|United Kingdom}} ...
  • :Category:Medal icon templates: {{BronzeMedal}}; {{SilverMedal}}; {{GoldMedal}} and continental variants

= Direct invocation =

= Misc =