Created page with "<noinclude>{{short description|Brief guide to Bharatpedia formatting codes}} {{pp-semi-indef}}{{pp-move-indef}} <div align="center"> {{Help pages header}}</div></noinclude> {{how-to page|For a complete list of wikitext codes, see <b>Help:Wikitext.</b> For information on special words, see <b>Help:Magic words.</b>|shortcut1=HP:CHEAT|shortcut2=BP:CHEAT}} <!--COMMENT MARKUP. Displays only in source editing mode.--> {|align="center" style="color: inherit; width:100%;..." |
No edit summary |
||
| Line 5: | Line 5: | ||
{{how-to page|For a complete list of wikitext codes, see <b>[[Help:Wikitext]].</b> For information on special words, see <b>[[Help:Magic words]].</b>|shortcut1=HP:CHEAT|shortcut2=BP:CHEAT}} | {{how-to page|For a complete list of wikitext codes, see <b>[[Help:Wikitext]].</b> For information on special words, see <b>[[Help:Magic words]].</b>|shortcut1=HP:CHEAT|shortcut2=BP:CHEAT}} | ||
<!--COMMENT MARKUP. Displays only in source editing mode.--> | <!--COMMENT MARKUP. Displays only in source editing mode.--> | ||
{|align="center" style=" | <div style="width: 100%; max-width: 100%; overflow-x: auto;"> | ||
|colspan="3" align="center" style="background: var(--background-color-progressive-subtle--hover); text-align:center;" | | {| align="center" class="wikitable" style="width: 100%; max-width: 100%; table-layout: fixed; word-wrap: break-word; word-break: break-word; border: 2px #a3b1bf solid; background: var(--background-color-progressive-subtle); text-align: left;" | ||
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0;"><br>[[Help:Wikitext|Wikitext]] cheatsheet</h2> | | colspan="3" align="center" style="background: var(--background-color-progressive-subtle--hover); text-align: center;" | | ||
<h2 style="margin: .5em; margin-top: .1em; margin-bottom: .1em; border-bottom: 0;"><br>[[Help:Wikitext|Wikitext]] cheatsheet</h2> | |||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |-<!--WORKS ANYWHERE IN THE TEXT--> | ||
| colspan=3 style="color: inherit; background: var(--background-color-progressive-subtle--hover); border-top:2px #a3b1bf solid;text-align:center;" | | | colspan="3" style="color: inherit; background: var(--background-color-progressive-subtle--hover); border-top: 2px #a3b1bf solid; text-align: center;" | | ||
'''Works anywhere in the text''' | '''Works anywhere in the text''' | ||
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" | |-<!--COLUMN HEADINGS--> style="background: #E6F2FF; padding: 0.3em; font-size: 0.9em; text-align: center;" | ||
| style="border-bottom:2px #a3b1bf solid | | style="border-bottom: 2px #a3b1bf solid; width: 30%;" | Description | ||
| style="border-bottom:2px #a3b1bf solid" | You type | | style="border-bottom: 2px #a3b1bf solid; width: 40%;" | You type | ||
| style="border-bottom:2px #a3b1bf solid | | style="border-bottom: 2px #a3b1bf solid; width: 30%;" | You get | ||
|-<!--1ST ROW 1ST COLUMN--> | |-<!--1ST ROW 1ST COLUMN--> | ||
|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}} | |Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}} | ||
|<!--2ND COLUMN--> | |<!--2ND COLUMN--> | ||
< | <code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code> | ||
|<!--3RD COLUMN--> | |<!--3RD COLUMN--> | ||
''italics'', '''bold''', and '''''both''''' | ''italics'', '''bold''', and '''''both''''' | ||
| Line 27: | Line 28: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div> | ||
| | | | ||
< | <code><nowiki>[[copy edit]]</nowiki></code><br> | ||
< | <code><nowiki>[[copy edit]]ors</nowiki></code> | ||
| | | | ||
[[copy edit]]<br> | [[copy edit]]<br> | ||
| Line 38: | Line 39: | ||
"[[Bharatpedia:Piped link|Pipe]]" a link to change the link's text | "[[Bharatpedia:Piped link|Pipe]]" a link to change the link's text | ||
| | | | ||
< | <code><nowiki>[[Android (operating system)|Android]]</nowiki></code> | ||
| | | | ||
[[Android (operating system)|Android]] | [[Android (operating system)|Android]] | ||
| Line 47: | Line 48: | ||
Link to a section | Link to a section | ||
| | | | ||
< | <code><nowiki>[[Frog#Locomotion]]</nowiki></code><br> | ||
< | <code><nowiki>[[Frog#Locomotion|locomotion in frogs]]</nowiki></code><br/> | ||
< | <code><nowiki>{{slink|Frog#Locomotion}}</nowiki></code> | ||
| | | | ||
[[Frog#Locomotion]]<br> | [[Frog#Locomotion]]<br> | ||
| Line 60: | Line 61: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''Links to pages that don't exist are automatically red. Red links in articles often help by showing desired [[BP:REDIRECT|redirects]] or [[BP:N|notable]] pages. ''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''Links to pages that don't exist are automatically red. Red links in articles often help by showing desired [[BP:REDIRECT|redirects]] or [[BP:N|notable]] pages. ''</div> | ||
| | | | ||
< | <code><nowiki>[[Red link example]]</nowiki></code> | ||
| | | | ||
[[Red link example]] | [[Red link example]] | ||
| Line 68: | Line 69: | ||
|Plain website | |Plain website | ||
| | | | ||
< | <code>https://www.bharatpedia.org</code> | ||
| | | | ||
https://www.bharatpedia.org | https://www.bharatpedia.org | ||
| Line 76: | Line 77: | ||
|Link a website | |Link a website | ||
| | | | ||
< | <code><nowiki>[https://www.bharatpedia.org]</nowiki></code> | ||
| | | | ||
[https://www.bharatpedia.org] | [https://www.bharatpedia.org] | ||
| Line 84: | Line 85: | ||
|Link and name a website | |Link and name a website | ||
| | | | ||
< | <code><nowiki>[https://www.bharatpedia.org Bharatpedia]</nowiki></code> | ||
| | | | ||
[https://www.bharatpedia.org Bharatpedia] | [https://www.bharatpedia.org Bharatpedia] | ||
| Line 93: | Line 94: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">sources in the article will appear where <nowiki>{{reflist}}</nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between <nowiki>{{}}</nowiki> is for a [[Help:Template|template]].</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">sources in the article will appear where <nowiki>{{reflist}}</nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between <nowiki>{{}}</nowiki> is for a [[Help:Template|template]].</div> | ||
| | | | ||
< | <code><nowiki>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></nowiki></code><br><br> | ||
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> | <code><nowiki>Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki></code><br><br> | ||
<code><nowiki>References: {{reflist}}</nowiki></code> | |||
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref> | |||
References: {{reflist}} | |||
</ | |||
| | | | ||
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<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> | ||
| Line 112: | Line 109: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''one of many [[BP:TC|cleanup templates]]''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''one of many [[BP:TC|cleanup templates]]''</div> | ||
| | | | ||
< | <code><nowiki>This statement is true.{{cn}}</nowiki></code> | ||
| | | | ||
This statement is true.{{cn}} | This statement is true.{{cn}} | ||
| Line 121: | Line 118: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[Help:Talk pages|talk page]]''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[Help:Talk pages|talk page]]''</div> | ||
| | | | ||
< | <code><nowiki>~~~~</nowiki></code> | ||
| | | | ||
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
| Line 130: | Line 127: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''so they will see your comment''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''so they will see your comment''</div> | ||
| | | | ||
< | <code><nowiki>[[User:Example]]</nowiki></code> or <code><nowiki>{{u|Example}}</nowiki></code> | ||
| | | | ||
[[User:Example]] or {{u|Example}} | [[User:Example]] or {{u|Example}} | ||
| Line 139: | Line 136: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated or withdrawn''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated or withdrawn''</div> | ||
| | | | ||
< | <code><nowiki><s>This topic isn't [[BP:N|notable]].</s></nowiki></code> | ||
| | | | ||
<s>This topic isn't [[BP:N|notable]].</s> | <s>This topic isn't [[BP:N|notable]].</s> | ||
| Line 147: | Line 144: | ||
|[[BP:Underline|Underline]] your text | |[[BP:Underline|Underline]] your text | ||
| | | | ||
< | <code><nowiki><u>This topic is notable</u></nowiki></code> | ||
| | | | ||
<u>This topic is notable</u> | <u>This topic is notable</u> | ||
| Line 156: | Line 153: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''[[BP:CON|consensus]] is how things are decided''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''[[BP:CON|consensus]] is how things are decided''</div> | ||
| | | | ||
< | <code><nowiki><!-- This had consensus, discuss at talk page --></nowiki></code> | ||
| | | | ||
<!-- This had consensus, discuss at talk page --> | <!-- This had consensus, discuss at talk page --> | ||
| Line 166: | Line 163: | ||
{{Anchor|Thumbnail image}} | {{Anchor|Thumbnail image}} | ||
| | | | ||
< | <code><nowiki>[[File:Bharatpedia (en).png|thumb|Caption]]</nowiki></code> | ||
| | | | ||
[[File: | [[File:Bharatpedia (en).png|thumb|Caption]] | ||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
|- | |- | ||
|Add a page to a [[Help:Categories|category]]{{Anchor|Add a page to a category}} | |Add a page to a [[Help:Categories|category]]{{Anchor|Add a page to a category}} | ||
|< | |<code><nowiki>[[Category:Category name]]</nowiki></code><br><br><span style="font-size:0.9em;">''place near the bottom of a page''</span> | ||
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or published''</span> | |<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or published''</span> | ||
|- | |- | ||
| Line 179: | Line 176: | ||
|- | |- | ||
|Link to a [[Help:Categories|category]] or [[Help:Files|file]] | |Link to a [[Help:Categories|category]] or [[Help:Files|file]] | ||
|<br>< | |<br><code><nowiki>[[:Category:Category name]]</nowiki></code><br><code><nowiki>[[:File:File name]]</nowiki></code> | ||
|<br>[[:Category:Bharatpedia basic information]]<br>[[:File:Example.jpg]] | |<br>[[:Category:Bharatpedia basic information]]<br>[[:File:Example.jpg]] | ||
| Line 186: | Line 183: | ||
| colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | '''Works only at the beginning of lines''' | | colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | '''Works only at the beginning of lines''' | ||
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" | |-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;" | ||
| style="border-bottom:2px #a3b1bf solid | | style="border-bottom:2px #a3b1bf solid; width:30%;" | Description | ||
| style="border-bottom:2px #a3b1bf solid" | You type | | style="border-bottom:2px #a3b1bf solid; width:40%;" | You type | ||
| style="border-bottom:2px #a3b1bf solid | | style="border-bottom:2px #a3b1bf solid; width:30%;" | You get | ||
|- | |- | ||
|[[Bharatpedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}} | |[[Bharatpedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}} | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div> | ||
| | | | ||
< | <code><nowiki>#REDIRECT [[Target page]]</nowiki></code> | ||
| | | | ||
[[File:Redirect arrow without text.svg|30px|link=]] [[Target page]] | [[File:Redirect arrow without text.svg|30px|link=]] [[Target page]] | ||
| Line 201: | Line 198: | ||
|[[Bharatpedia:Redirect|Redirect to a section of another page]] | |[[Bharatpedia:Redirect|Redirect to a section of another page]] | ||
| | | | ||
< | <code><nowiki>#REDIRECT [[Target page#anchorName]]</nowiki></code> | ||
| | | | ||
[[File:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]] | [[File:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]] | ||
| Line 210: | Line 207: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div> | ||
| | | | ||
< | <code><nowiki>== Level 2 ==</nowiki></code><br> | ||
< | <code><nowiki>=== Level 3 ===</nowiki></code><br> | ||
< | <code><nowiki>==== Level 4 ====</nowiki></code><br> | ||
< | <code><nowiki>===== Level 5 =====</nowiki></code><br> | ||
< | <code><nowiki>====== Level 6 ======</nowiki></code><br><br> | ||
<span style="font-size:0.9em">''do not use'' = Level 1 = ''as it is for page titles''</span> | <span style="font-size:0.9em">''do not use'' = Level 1 = ''as it is for page titles''</span> | ||
| | | | ||
| Line 257: | Line 254: | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a [[Help:Talk pages|talk page]], to make it easier to follow conversations.<br> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> ([[Template:Outdent]]) can be used to reset the paragraph to the left margin.''</div> | <div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a [[Help:Talk pages|talk page]], to make it easier to follow conversations.<br> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> ([[Template:Outdent]]) can be used to reset the paragraph to the left margin.''</div> | ||
| | | | ||
< | <code><nowiki>no indent (normal)</nowiki></code><br> | ||
< | <code><nowiki>: first indent</nowiki></code><br> | ||
< | <code><nowiki>:: second indent</nowiki></code><br> | ||
< | <code><nowiki>::: third indent</nowiki></code><br> | ||
< | <code><nowiki>:::: fourth indent</nowiki></code><br> | ||
< | <code><nowiki>{{Outdent|4}} return to left margin</nowiki></code> | ||
| | | | ||
no indent (normal)<br> | no indent (normal)<br> | ||
| Line 271: | Line 268: | ||
{{Outdent|4}} return to left margin | {{Outdent|4}} return to left margin | ||
|} | |} | ||
</div> | |||
{{Quicktemplates|state=expanded}} | {{Quicktemplates|state=expanded}} | ||
<noinclude> | <noinclude> | ||
| Line 276: | Line 274: | ||
== See also == | == See also == | ||
{{ombox|image=none|small=y|text='''Note''': You can use the [[Draft:Sandbox|sandbox]] to experiment with page editing.|imageright=[[File:Edit In Sandbox Icon - Color.svg|50px|link=|alt=]]}} | {{ombox|image=none|small=y|text='''Note''': You can use the [[Draft:Sandbox|sandbox]] to experiment with page editing.|imageright=[[File:Edit In Sandbox Icon - Color.svg|50px|link=|alt=]]}} | ||
* For a full list of editing commands, see [[Help:Wikitext]] | * For a full list of editing commands, see [[Help:Wikitext]] | ||
* For including parser functions, variables and behavior switches, see [[Help:Magic words]] | * For including parser functions, variables and behavior switches, see [[Help:Magic words]] | ||
Revision as of 10:57, 8 September 2026
| ||
|
Works anywhere in the text | ||
| Description | You type | You get |
| Italics, bold, and both |
|
italics, bold, and both |
| Link to another page
see Help:Interwikimedia links for linking to sister projects
|
|
|
|
"Pipe" a link to change the link's text |
|
|
|
Link to a section |
|
|
| Red link |
|
|
| Plain website | ||
| Link a website |
|
|
| Link and name a website |
|
|
| 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.
|
|
References:
|
| Template:Citation needed
one of many cleanup templates
|
|
This statement is true.[citation needed] |
| Signature
sign your contributions when posting to a talk page
|
|
|
| Ping a user on a talk page
so they will see your comment
|
|
|
| Strike your talk page comment
to show your previous comment is outdated or withdrawn
|
|
|
| Underline your text |
|
This topic is notable |
| Hide comment(s) somewhere for editors; hidden comments are visible only in the editors
consensus is how things are decided
|
|
|
| Show an image
for uploading, see the intro to uploading images
|
|
|
| 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:Bharatpedia 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 to a section of another page |
|
|
| Section headings a Table of Contents will automatically be generated when four headings are added to an article
|
|
Level 2Level 3Level 4Level 5Level 6 |
| Bulleted list |
|
|
| Numbered list |
|
|
| 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)
Template:Outdent return to left margin |
See also
| Note: You can use the sandbox to experiment with page editing. |
- For a full list of editing commands, see Help:Wikitext
- For including parser functions, variables and behavior switches, see Help:Magic words
- For a guide to displaying mathematical equations and formulas, see Help:Displaying a formula
- For a guide to editing, see Bharatpedia:Contributing to Bharatpedia
- For an overview of commonly used style guidelines, see Bharatpedia:Simplified Manual of Style
- For a page on how to use Bharatpedia in bite-sized morsels, see Bharatpedia:Tips
- For advice on writing style and formatting in a bullet-point format, see Bharatpedia:Styletips
- For summaries of some Bharatpedia protocols and conventions, see Bharatpedia:Dos and don'ts
- If you don't want to use wikitext markup, try Bharatpedia:VisualEditor instead
- To ask a question, see Bharatpedia:Questions to locate the appropriate venue(s)
