Difference between revisions of "Help:Formatting"
From RRU Knowledge Base
Jessietail (talk | contribs) m |
Jessietail (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Stolen from [[Wikipedia:Help:Cheatsheet]] | Stolen from [[Wikipedia:Help:Cheatsheet]] | ||
very WIP | |||
===Text formatting=== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 19: | Line 22: | ||
| '''''bold and italic text''''' | | '''''bold and italic text''''' | ||
|- | |- | ||
| | | Underlined text | ||
| <code><nowiki><u>underlined text</u></nowiki></code> | | <code><nowiki><u>underlined text</u></nowiki></code> | ||
| <u>underlined text</u> | | <u>underlined text</u> | ||
|- | |- | ||
| | | Strikethrough text | ||
| <code><nowiki><s> | | <code><nowiki><s>strikethrough text</s></nowiki></code> | ||
| <s> | | <s>strikethrough text</s> | ||
|- | |- | ||
| | | Hidden text | ||
| <code><nowiki><!--hidden text--></nowiki></code> | | <code><nowiki><!--hidden text--></nowiki></code> | ||
| <!--I can put whatever I want here and you wouldn't know it's different because it's hidden--> | | <!--I can put whatever I want here and you wouldn't know it's different because it's hidden--> | ||
|- | |||
| Small text | |||
| <code><nowiki><small>small text</small></nowiki></code><br /><code><nowiki><small><small>smaller text</small></small></nowiki></code><br /><br /><span style="font-size:0.9em;">''can be nested virtually indefinitely''</span> | |||
| <small>small text</small><br /><small><small>smaller text</small></small> | |||
|- | |||
| Big text | |||
| <code><nowiki><big>big text</big></nowiki></code><br /><code><nowiki><big><big>bigger text</big></big></nowiki></code><br /><br /><span style="font-size:0.9em;">''can be nested virtually indefinitely''</span> | |||
| <big>big text</big><br /><big><big>bigger text</big></big> | |||
|- | |||
| Fixed width text | |||
<div style="padding: 0.7em .5em; font-size:0.9em;">''also known as "monospaced text", often used on wikis for designating code''</div> | |||
| <code><nowiki><code>fixed width text</code></nowiki></code> | |||
| <code>fixed width text</code> | |||
|} | |||
===Link formatting=== | |||
{| class="wikitable" | |||
|- | |||
! width="250" | Description | |||
! You type | |||
! You get | |||
|- | |- | ||
| Link to another page | | Link to another page | ||
| <code><nowiki>[[Rock Raider]]</nowiki></code><br /><code><nowiki>[[Rock Raider]]s</nowiki></code> | <div style="padding: 0.7em .5em; font-size:0.9em;">''links to nonexistant pages will display red''</div> | ||
| [[Rock Raider]]<br />[[Rock Raider]]s | | <code><nowiki>[[Rock Raider]]</nowiki></code><br /><code><nowiki>[[Rock Raider]]s</nowiki></code><br /><code><nowiki>[[Red link example]]</nowiki></code> | ||
| [[Rock Raider]]<br />[[Rock Raider]]s<br />[[Red link example]] | |||
|- | |- | ||
| Change a link's displayed text | | Change a link's displayed text | ||
<div style="padding: 0.7em .5em; font-size:0.9em;">''also known as a "piped" link''</div> | |||
| <code><nowiki>[[Super Teleport|Teleport Station]]</nowiki></code> | | <code><nowiki>[[Super Teleport|Teleport Station]]</nowiki></code> | ||
| [[Super Teleport|Teleport Station]] | | [[Super Teleport|Teleport Station]] | ||
|- | |- | ||
| Link to a section | | Link to a section of a page | ||
| <code><nowiki>[[Map file#CryOre map]]</nowiki></code><br /><code><nowiki>[[Map file#CryOre map|CryOre map]]</nowiki></code> | | <code><nowiki>[[Map file#CryOre map]]</nowiki></code><br /><code><nowiki>[[Map file#CryOre map|CryOre map]]</nowiki></code> | ||
| [[Map file#CryOre map]]<br />[[Map file#CryOre map|CryOre map]] | | [[Map file#CryOre map]]<br />[[Map file#CryOre map|CryOre map]] | ||
Line 59: | Line 85: | ||
| <code><nowiki>~~~~</nowiki></code><br /><br /><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span> | | <code><nowiki>~~~~</nowiki></code><br /><br /><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span> | ||
| [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
|- | |||
| 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 of the page''</span> | |||
|- | |||
| Link to a category or file | |||
| <code><nowiki>[[:File:RRU Emblem.png]]</nowiki></code><br /><code><nowiki>[[:Category:LEGO Rock Raiders]]</nowiki></code> | |||
| [[:Category:LEGO Rock Raiders]]<br />[[:File:RRU Emblem.png]] | |||
|} | |||
===Image formatting=== | |||
{| class="wikitable" | |||
|- | |||
! width="200" | Description | |||
! You type | |||
! width="300" | You get | |||
|- | |- | ||
| Show an image | | Show an image | ||
Line 71: | Line 113: | ||
| <code><nowiki>[[File:RRU Emblem.png|thumb|Caption]]</nowiki></code> | | <code><nowiki>[[File:RRU Emblem.png|thumb|Caption]]</nowiki></code> | ||
| [[File:RRU Emblem.png|thumb|Caption]] | | [[File:RRU Emblem.png|thumb|Caption]] | ||
|- | |||
| Reposition an image | |||
| {{nowrap|<code><nowiki>[[File:RRU Emblem.png|thumb|left|Left]]</nowiki></code>}}<br />{{nowrap|<code><nowiki>[[File:RRU Emblem.png|thumb|center|Centered]]</nowiki></code>}}<br /><code><nowiki>[[File:RRU Emblem.png|right|Right]]</nowiki></code> | |||
| [[File:RRU Emblem.png|thumb|left|Left]]{{clear}}[[File:RRU Emblem.png|thumb|center|Centered]]{{clear}}[[File:RRU Emblem.png|right|Right]] | |||
|- | |- | ||
| Resize an image | | Resize an image | ||
| <code><nowiki>[[File:RRU Emblem.png|30px|Resized]]</nowiki></code> | |||
| [[File:RRU Emblem.png|30px|Resized | | [[File:RRU Emblem.png|30px|Resized]] | ||
|} | |||
===Other formatting=== | |||
WIP | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! Description | ||
| <code><nowiki>[[ | ! You type | ||
| < | ! You get | ||
|- | |||
| Redirect to another page | |||
| <code><nowiki>#REDIRECT [[Debug mode]]</nowiki></code> | |||
| [[File:Redirect arrow without text.svg|30px|link=]] [[Debug mode]] | |||
|- | |||
| Redirect to a section of another page | |||
| <code><nowiki>#REDIRECT [[Debug mode#LEGO Island]]</nowiki></code> | |||
| [[File:Redirect arrow without text.svg|30px|link=]] [[Debug mode#LEGO Island]] | |||
|- | |- | ||
| | | Section headings | ||
| <code><nowiki> | | | ||
<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">''avoid using'' =Level 1= ''as it is for page titles''</span> | |||
| | |||
|} | |} | ||
[[Category:RRU Knowledge Base help]] | |||
Latest revision as of 00:20, 25 November 2018
Stolen from Wikipedia:Help:Cheatsheet
very WIP
Text formatting
Description | You type | You get |
---|---|---|
Italic text | ''italic text''
|
italic text |
Bold text | '''bold text'''
|
bold text |
Bold and italic text | '''''bold and italic text'''''
|
bold and italic text |
Underlined text | <u>underlined text</u>
|
underlined text |
Strikethrough text | <s>strikethrough text</s>
|
|
Hidden text | <!--hidden text-->
|
|
Small text | <small>small text</small> <small><small>smaller text</small></small> can be nested virtually indefinitely |
small text smaller text |
Big text | <big>big text</big> <big><big>bigger text</big></big> can be nested virtually indefinitely |
big text bigger text |
Fixed width text
also known as "monospaced text", often used on wikis for designating code
|
<code>fixed width text</code>
|
fixed width text
|
Link formatting
Description | You type | You get |
---|---|---|
Link to another page
links to nonexistant pages will display red
|
[[Rock Raider]] [[Rock Raider]]s [[Red link example]]
|
Rock Raider Rock Raiders Red link example |
Change a link's displayed text
also known as a "piped" link
|
[[Super Teleport|Teleport Station]]
|
Teleport Station |
Link to a section of a page | [[Map file#CryOre map]] [[Map file#CryOre map|CryOre map]]
|
Map file#CryOre map CryOre map |
Plain website URL | https://www.wikipedia.org
|
https://www.wikipedia.org |
Link a website | [https://www.wikipedia.org]
|
[1] |
Link and name a website | [https://www.wikipedia.org/ Wikipedia]
|
Wikipedia |
Signature
sign your contributions when posting to a talk page
|
~~~~ do not sign in an article, only on talk pages |
Username (talk) 19:41, 12 May 2025 (UTC) |
Add a page to a category | [[Category:Category name]] place near the bottom of a page |
shows "Category name" in a bar at bottom of the page |
Link to a category or file | [[:File:RRU Emblem.png]] [[:Category:LEGO Rock Raiders]]
|
Category:LEGO Rock Raiders File:RRU Emblem.png |
Image formatting
Other formatting
WIP
Description | You type | You get |
---|---|---|
Redirect to another page | #REDIRECT [[Debug mode]]
|
![]() |
Redirect to a section of another page | #REDIRECT [[Debug mode#LEGO Island]]
|
![]() |
Section headings |
|