Jump to content

Draft:Cheatsheet

From BattleIntelligence
Revision as of 18:21, 8 December 2024 by imported>Deadfire (Text replacement - "Help:Files" to "Information:Files")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Wikitext cheatsheet

Works anywhere in the text        

Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''

italics, bold, and both

Link to another page
see Help:Interwiki linking for linking to sister projects

[[Atlas]]
[[Atlas]]es

Atlas
Atlases

"Pipe" a link to change the link's text

[[Atlas (BattleMech)|Atlas]]

Atlas

Link to a section

[[Atlas#Description]]
[[Atlas#Description|Description of a Atlas]]
{{slink|Atlas#Description}}

Atlas#Description
Description of a Atlas
Atlas § Description

Red link
Links to pages that don't exist are automatically red. Red links in articles often help by showing desired redirects or notable pages.

[[Red link example]]

Red link example

Plain website

https://www.sarna.net

https://www.sarna.net

Link a website

[https://www.sarna.net]

[1]

Link and name a website

[https://www.sarna.net BattleTechWiki]

BattleTechWiki

Citations, references, and footnotes
sources in the article will appear where {{reflist}} is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between {{}} is for a template.
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</ref>

Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

References: {{reflist}}

Hello[1] World![2]

Hello again![1][3]

References:
  1. ↑ 1.0 1.1 Library of Congress
  2. ↑ "World Wide Web Consortium (W3C)".
  3. ↑ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.
Template:Citation needed
one of many cleanup templates

This statement is true.{{cn}}

This statement is true.[citation needed]

Signature
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 03:10, 29 October 2026 (UTC)

Ping a user on a talk page
so they will see your comment

[[User:Example]] or {{u|Example}}

User:Example or Example

Strike your talk page comment
to show your previous comment is outdated

<s>This topic isn't [[BTW:N|notable]].</s>

This topic isn't notable.

Underline your text

<u>This topic is notable</u>

This topic is notable

Hide text somewhere for editors
consensus is how things are decided

<!--This had consensus, discuss at talk page-->

Show an image
for uploading, see the intro to uploading images

[[File:Wiki.png|thumb|Caption]]

File:Wiki.png
Caption
Add a page to a category [[Category:Category name]]

place near the bottom of a page
shows "Category name" in a bar at bottom when the page is previewed or published
Link to a category or file
[[:Category:Category name]]
[[:File:File name]]

Category:BattleTechWiki basic information
File:Example.jpg


Works only at the beginning of lines    
Description You type You get
Redirect to another page
redirects must be placed at the start of the first line

#REDIRECT [[Target page]]

File:Redirect arrow without text.svg Target page

Redirect to a section of another page

#REDIRECT [[Target page#anchorName]]

File:Redirect arrow without text.svg Target page#anchorName

Section headings
a Table of Contents will automatically be generated when four headings are added to an article

==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

do not use  =Level 1=  as it is for page titles

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted 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
Indenting text
this is used when replying on a talk page, to make it easier to follow conversations.
After a string of indents, or to revive a discussion, an outdent {{Outdent|n}} (Template:Outdent) can be used to reset the paragraph to the left margin.

no indent (normal)
:first indent
::second indent
:::third indent
::::fourth indent
{{Outdent|4}} return to left margin

no indent (normal)

first indent
second indent
third indent
fourth indent
return to left margin
[[File: | thumb | upright | right | alt= | caption ]]
<ref>{{cite web
 |url= 
 |title= 
 |author= 
 |date= 
 |website= 
 |publisher= 
 |access-date= 
}}</ref>
<ref>{{cite book
 |last= 
 |first= 
 |author-link= 
 |title= 
 |publisher= 
 |series= 
 |year=  
 |doi= 
 |isbn= 
}}</ref>
<ref>{{cite book
 |last1       = 
 |first1      = 
 |last2       = 
 |first2      = 
 |author-link = 
 |coauthors   = 
 |editor      = 
 |title       = 
 |trans-title = 
 |url         = 
 |access-date = 
 |edition     = 
 |series      = 
 |volume      = 
 |date        = 
 |year        = 
 |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}} 44
{{CURRENTDOW}} 4
{{CURRENTMONTH}} 10
{{CURRENTMONTHNAME}} October
{{CURRENTMONTHNAMEGEN}} October
{{CURRENTDAY}} 29
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2026
{{CURRENTTIME}} 03:10
{{NUMBEROFARTICLES}} 60,994
{{NUMBEROFPAGES}} 143,169
{{NUMBEROFUSERS}} 8
{{PAGENAME}} Draft:Cheatsheet
{{NAMESPACE}}
{{REVISIONID}} 177449
{{REVISIONUSER}} imported>Deadfire
{{localurl:pagename}} /index.php/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} https://en.wikipedia.org/wiki/Sandbox?action=edit
{{fullurl:pagename}} https://battleint.net/index.php/Pagename
{{fullurl:pagename|query_string}} https://battleint.net/index.php?title=Pagename&query_string
{{SERVER}} https://battleint.net
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} BattleIntelligence
<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:]]
Metawiki [[m:]]
MediaWiki [[mw:]]


See also

File:Wiki markup cheatsheet EN.pdf
Wiki markup quick reference (PDF download)