Anonymous

Help:Editing: Difference between revisions

From The Blockheads Wiki
1,285 bytes added ,  24 November 2024
no edit summary
>Abcboy
(Adding everything (except tables))
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 11: Line 11:
An empty box should appear. Here, you can type the code for a new page. In most cases, the [[Template:Stub|<code><nowiki>{{</nowiki>Stub<nowiki>}}</nowiki></code>]] template should be placed on the first line of the article to indicate it could use significant future expansion by other editors.
An empty box should appear. Here, you can type the code for a new page. In most cases, the [[Template:Stub|<code><nowiki>{{</nowiki>Stub<nowiki>}}</nowiki></code>]] template should be placed on the first line of the article to indicate it could use significant future expansion by other editors.


The first part of the article is the lede. Typically, it describes the topic of the page in a few sentences. The title of the page should be capitalized in the lede. An example of a lede:
The first part of the article is the lead paragraph. Typically, it describes the topic of the page in a few sentences. The title of the page should be put in bold in the lead. An example of a lead:


<blockquote>'''Vegetables''' are edible [[:Category:Food|food]] [[items]] that a [[blockhead]] can [[Farming|harvest]]. Vegetables restore a medium amount of the [[Hunger Bar|hunger bar]]. [[Flax Seed|Flax]] and [[Sunflower Seed|sunflower]] [[seed]]s similarly grow on plants.</blockquote>
<blockquote>'''Vegetables''' are edible [[food]] [[item]]s that a [[blockhead]] can [[Farming|harvest]]. Vegetables restore a medium amount of the [[Hunger Bar|hunger bar]]. [[Flax Seed|Flax]] and [[Sunflower Seed|sunflower]] [[seed]]s similarly grow on plants.</blockquote>


The remainder or an article will vary depending on the topic. Most items have the [[Template:Item Infobox|<code><nowiki>{{</nowiki>Item Infobox<nowiki>}}</nowiki></code>]] at the top of the page, for example. Generally, a new article should be similar structure to a already-existing article.
The remainder or an article will vary depending on the topic. Most items have the [[Template:Item Infobox|<code><nowiki>{{</nowiki>Item Infobox<nowiki>}}</nowiki></code>]] at the top of the page, for example. Generally, a new article should be similar structure to a already-existing article.
Line 249: Line 249:
| style="background:#fff;" |
| style="background:#fff;" |
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
| style="padding:4.5px 5px;" | [[Special:Categories|Categories]]:&emsp;&emsp;[[:Category:The Blockheads Wiki|The Blockheads Wiki]]&emsp;&ensp;<hr style="display: inline-block; width: 1px; height: 16px; color: #9a9a9a; vertical-align: top">&emsp;&emsp;[[:Category:Guide|Guide]]
| style="padding:4.5px 5px;" | [[Special:Categories|Categories]]:&ensp;&ensp;[[:Category:The Blockheads Wiki|The Blockheads Wiki]]&ensp;&ensp;<hr style="display: inline-block; width: 1px; height: 16px; color: #9a9a9a; vertical-align: top">&ensp;&ensp;[[:Category:Guide|Guide]]
|}
|}
|-
|-
Line 258: Line 258:
| style="background:#fff;" |
| style="background:#fff;" |
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
| style="padding:4.5px 5px;" | [[Special:Categories|Categories]]:&emsp;&emsp;[[:Category:The Blockheads Wiki|The Blockheads Wiki]]&emsp;&ensp;<hr style="display: inline-block; width: 1px; height: 16px; color: #9a9a9a; vertical-align: top">&emsp;&emsp;[[:Category:Guide|Guide]]
| style="padding:4.5px 5px;" | [[Special:Categories|Categories]]:&ensp;&ensp;[[:Category:The Blockheads Wiki|The Blockheads Wiki]]&ensp;&ensp;<hr style="display: inline-block; width: 1px; height: 16px; color: #9a9a9a; vertical-align: top">&ensp;&ensp;[[:Category:Guide|Guide]]
|}
|}
|-
|-
Line 283: Line 283:


{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
| style="padding:4.5px 5px;" | [[Special:Categories|Category]]:&emsp;&emsp;[[:Category:Disambiguation pages|Disambiguation pages]]
| style="padding:4.5px 5px;" | [[Special:Categories|Category]]:&ensp;&ensp;[[:Category:Disambiguation pages|Disambiguation pages]]
|}
|}
|-
|-
Line 314: Line 314:
| style="background:#fff;" | {{Achievement Infobox|Name=Storyteller|Image=Storyteller Ach.png|Points=10}}
| style="background:#fff;" | {{Achievement Infobox|Name=Storyteller|Image=Storyteller Ach.png|Points=10}}
|-
|-
| Note: This template, [[Template:Achievement Infobox|<code><nowiki>{{</nowiki>Achievement Infobox<nowiki>}}</nowiki></code>]], is used on articles about an [[Achievements|achievement]] to display small bits of information.
| Note: This template, [[Template:Achievement Infobox|<code><nowiki>{{</nowiki>Achievement Infobox<nowiki>}}</nowiki></code>]], is used on articles about an [[achievement]] to display small bits of information.
|}<br clear="all">
|}<br clear="all">


Line 331: Line 331:


===Tables===
===Tables===
Tables are very complicated. The chart below will be filled out soon. Please inspect an already-made table for how to make a table until further notice.
Table styling is done using CSS and a few HTML attributes.
{| class="wikitable" style="margin:auto; width:90%;"
{| class="wikitable" style="margin:auto; width:90%;"
! colspan="3" | Tables
! colspan="2" | Tables
|-
|-
| XXX
| Starting a table
| <code><nowiki>XXX</nowiki></code>
| <code><nowiki>{|</nowiki></code>
| XXX
|-
| Creating a header
| <code><nowiki>! Header content</nowiki></code>
|-
| Creating a row
| <code><nowiki>|-</nowiki></code>
|-
| Creating a cell
| <code><nowiki>| Cell content</nowiki></code>
|-
| Ending a table
| <code><nowiki>|}</nowiki></code>
|-
| <pre>{|
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}</pre>
| style="background:#fff;" |
{|
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|}
|}
|}<br clear="all">
{| class="wikitable" style="margin:auto; width:90%;"
! colspan="2" | Attributes
|-
| Assigning attributes to a table
| <code><nowiki>{| class="wikitable" style="margin:auto;"</nowiki></code>
|-
| Assigning attributes to a cell
| <code><nowiki>| style="text-align:right;" | Cell content</nowiki></code>
|-
| Vertically merged cells
| <code><nowiki>| rowspan="2" | Cell content</nowiki></code>
|-
| Horizontally merged cells
| <code><nowiki>| colspan="2" | Cell content</nowiki></code>
|-
| <pre>{| class="wikitable" style="margin:auto;"
! Fruit
! Price
! Location
|-
| colspan="2" | No apples
| rowspan="3" | Shop A
|-
| Oranges
| style="text-align:right;" | 12
|-
| Mangos
| style="text-align:right;" | 15
|}</pre>
| style="background:#fff;" |
{| class="wikitable" style="margin:auto;"
! Fruit
! Price
! Location
|-
| colspan="2" | No apples
| rowspan="3" | Shop A
|-
| Oranges
| style="text-align:right;" | 12
|-
| Mangos
| style="text-align:right;" | 15
|}
|}<br clear="all">


==See also==
==See also==
Line 345: Line 418:


==External links==
==External links==
*[http://www.mediawiki.org/wiki/Help:Editing More information on MediaWiki]
*[https://www.mediawiki.org/wiki/Help:Editing_pages More information on MediaWiki]
*[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Wikipedia editing cheatsheet]
*[https://en.wikipedia.org/wiki/Help:Cheatsheet Wikipedia editing cheatsheet]
Administrators, uploadaccess
1

edit