Help:Creating a new page: Difference between revisions

From PZwiki
m (→‎Other formats: Change RecipeLookup to see also as RecipeLookup is deprecated)
m (Automated Formatting)
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Languages}}
{{Tutorial nav}}
{| width="80%" align="center"
{{Improve|Requires new infobox}}
| {{Tutorial navigation}}
Creating a new page is as easy as clicking create… literally.
|}
Creating a new page is as easy as clicking create... literally.


==Create Page==
==Create page==
There are several ways to create a new page.
There are several ways to create a new page.
===Using links===
===Using links===
If you or any other contributor create a link to an article that does not exist yet, the link will be colored red, <span style="color: #ba0000">like this</span>.<br>
If you or any other contributor create a link to an article that does not exist yet, the link will be colored red, <span style="color: #ba0000;">like this</span>.


Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.<br>
Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.


Once the page has been created, the link will automatically change from red to blue (or purple for pages you've already visited) indicating that the article now exists.
Once the page has been created, the link will automatically change from red to blue (or purple for pages you've already visited) indicating that the article now exists.


Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later).<br>
Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later).


If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki? <br>
If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki?


Also, how are you expecting visitors to find this page? Normally there is no reason to create a page without first creating a red link to it.
Also, how are you expecting visitors to find this page? Normally, there is no reason to create a page without first creating a red link to it.


===From the search box===
===From the search box===
 
[[File:Vector search results.png|thumb]]
If you search for a page that doesn't exist (using the search box in the top right of the page) then you will be provided with a link to create the new page.  
If you search for a page that doesn't exist (using the search box in the top right of the page) then you will be provided with a link to create the new page.
[[File:Sg1.PNG|border|500px|left]] <br clear=all>


===Using the URL===
===Using the URL===
You can also use a URL for creating a new page. The URL to an article of the wiki usually looks like this: <code><nowiki>https://pzwiki.net/wiki/</nowiki>'''Article'''</code>


You can also use a URL for creating a new page. The URL to an article of the wiki usually looks like this: &nbsp;
If you replace <code>'''Article'''</code> with the name of the page you want to create, you will be taken to a blank page, indicating that no article of that name exists yet.


* <code><nowiki>https://pzwiki.net/wiki/</nowiki>'''ARTICLE'''</code> &nbsp;
Clicking the "'''Create'''" tab at the top right of the page (next to the search function) will then take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.


If you replace <code>'''ARTICLE'''</code> with the name of the page you want to create, you will be taken to a blank page, indicating that no article of that name exists yet.
==Page format==
 
Clicking the "'''Create'''" Tab at the top right of the page (next to the search function) will then take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.
 
==Page Format==
There are a variety of formats we use within the wiki to ensure there is consistency between each page type.
There are a variety of formats we use within the wiki to ensure there is consistency between each page type.


Line 41: Line 36:
[[:Category:Boilerplates|Boilerplates]] are premade page templates we have set up for you to make creating a new page quick and easy. These boilerplates should be used as a starting place when creating new pages. You can think of them as being forms where you ultimately just fill in the blanks.
[[:Category:Boilerplates|Boilerplates]] are premade page templates we have set up for you to make creating a new page quick and easy. These boilerplates should be used as a starting place when creating new pages. You can think of them as being forms where you ultimately just fill in the blanks.


Each boilerplate contains a ''language'' bar, ''header'' bar and ''infobox/image''.
Each boilerplate contains a ''Header'' bar and ''Infobox''/''Image''.


* ''[[Template:Languages|language]]'' bar — Adds a list of languages that the page can be found in;
*'''[[Template:Header|Header]]''' bar — adds a header with '''category navigation''', as well as automatically [[mw:Help:Categories|categorizing]] the page.
** Placed at the top of every page that is in more than one language;
**Should be placed at the top of the page, under the language bar, all other content should be added below this:
** Example:
**'''category navigation''' — displays the categorical path within the navigational network, also adding it to the last category,
<pre>{{Languages|Main Page}}</pre>
**Example: {{tll|Header|Project Zomboid|Items|Food}}
::Will produce:
*:Will produce:
{{Languages|Main Page}}
{{Header|Project Zomboid|Items|Food|hidecat=true}}
 
A whole page's worth of content in here.</div>
* ''[[Template:Header|header]]'' bar — Adds ''category navigation'', ''version updated'' and a ''background'' to the page.
*'''[[Template:Page version|Page version]]''' is an [[PZwiki:Mboxes|mbox]] used to keep track of the version the page was last revised. This informs both editors and readers alike.
** Should be placed at the top of the page, under the language bar, all other content should be added below this;
**Displays the version the article was last updated on, while also adding it to the version category, used to easily identify outdated articles,
** '''category navigation''' — Displays the categorical path within the navigational network;
**Text will change based on the version number, e.g., stable, beta, or outdated.
** '''version updated''' Displays the version the article was last updated on, while also adding it to the version category, used to easily identify outdated articles;
**Example: {{tll|Page version|41.78.16}}
** '''background''' — Presents the article within a type defined background colour.
*:Will produce:
** Example:
{{Page version|41.78.16|hidecat=true}}
<pre>{{header|The Game World|Items|Consumables|Food|Perishable Food|type=Food|version=Version 39|incver=58}}</pre>
<nowiki>{{Infobox normal|image=Image.png|weight=?}}</nowiki>
::Will produce:<br><br>
*'''[[:Category:Infobox|Infobox]]''' — is a fixed-format table added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share;
{{header|The Game World|Items|Consumables|Food|Perishable Food|type=Food|version=Version 39|incver=58|hidecat=true}}
**Example: {{tll|Infobox normal|image=Image.png|weight=?}}
A whole page's worth of content in here.</div><br>
*:Will produce: (displayed on the right)
 
{{Clear}}
{{Items|image=Image.png |weight=?}}
[[File:Image.png|thumb|Text that would go below the image.]]
* ''[[:Category:Infobox|infobox]]'' — Is a fixed-format table added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share;
*'''Image''' — is very similar to the infobox, except it does not display information and will only contain an image and a caption;
** Example: <code><nowiki>{{</nowiki>Items|image=Image.png |weight=?}}</code>
**Used on pages that don't have an infobox, or just simply need an image, such as in [[:Category:Guides|Guides]].
::Will produce: (displayed on the far right)<br><br><br><br><br><br>
**Example: <code><nowiki>[[File:Image.png|thumb|Text that would go below the image.]]</nowiki></code>
 
*:Will produce: (displayed on the right)
* ''image'' — Is very similar to the infobox, except it does not display information and will only contain an image and a caption;
{{Clear}}
** Used on pages that don't have an infobox, or just simply need an image, such as in [[:Category:Guides|Guides]].
** Example:  
{| style="float:right; border:1px solid FFFFFF;margin:.46em 0 0 .2em"
|- style="font-size:100%"
| valign="top" |[[Image:Image.png]]<!--
  --><br> ''Text that would go below the image.''
|}
<pre>
{| style="float:right; border:1px solid FFFFFF;margin:.46em 0 0 .2em"
|- style="font-size:100%"
| valign="top" |[[Image:Image.png]]<!--
  --><br> ''Text that would go below the image.''
|}
</pre>
:: Will produce: (displayed on the far right)<br><br><br><br>


===Other formats===
===Other formats===
Boilerplates are currently the standard formats used within the wiki. However not all page types have their dedicated boilerplate, or you (the editor) may be unsure which boilerplates to use.
Boilerplates are currently the standard formats used within the wiki. However, not all page types have their dedicated boilerplate, or you (the editor) may be unsure which boilerplates to use.


Rather than leaving it empty, we ask that you add these if unsure what to add.
Rather than leaving it empty, we ask that you add these if unsure what to add.
* ''[[Template:VersionNotice|Version Notice]]'' Displays the version the article was last updated on, while also adding it to the version category;
*[[PZwiki:Mboxes|Message box]] — adds a message box indicating what is either wrong with the page, or what the page is about.
** This is the bare minimum of what ''should'' be added to any page created, as it allows us to identify which pages might be outdated.
**Should be added at the top of the page, under the ''Header'' bar.
** Should be added at the top of the page, under the ''language bar''.
**Example: {{tll|Stub}}
** Example: <code><nowiki>{{</nowiki>VersionNotice|version=Version 39|incver=58}}</code>
*:Will produce:
:: Will produce:
{{Stub|hidecat=true}}
::: ''Note: This page was updated with [[Version history|Version 39.58]] of Project Zomboid in mind. If the page turns out to be outdated please add an outdated [[Template:Notice|Notice]] banner.''
*Other templates:
* ''[[:Category:Main|Category]]'' — Adds the article to the designated category (seen at the bottom of the page);
**[[Template:Crafting header|Crafting header]] — allows adding recipes to the page.
** Pick any one or more categories that you believe fit the page.
**[[Template:About|About]] — used for disambiguation, directing the reader to another page they may have been looking for instead.
** Example: <code><nowiki>[[</nowiki>Category:Tools]]</code> will add the page to the [[:Category:Tools|Tools]] category.
* ''[[Template:Notice|Notice]]'' box — Adds a notice box indicating what is either wrong with the page, or what the page is about.  
** Should be added at the top of the page, under the ''language bar'' and ''boilerplate''.
** Example: <code><nowiki>{{</nowiki>Notice|Short}}</code>
:: Will produce:
{{NoticeBox|1|#0af|file=Notepad.png|width=32px|height=32px|desc=This article may '''need more content'''. Editors are encouraged to add new material to the page while expanding upon current topics.}}
* Other templates:
** ''[[Template:Crafting see also|Crafting see also]]'' Displays all recipes, with instructions on how to add new recipes.
** ''[[Template:About|About]]'' Used for disambiguation, directing the reader to another page they may have been looking for instead.
 
==Edit Formatting==
*[[Help:Formatting]]
*[[Help:Links]]
*[[Help:Images]]
*[[Help:Tables]]
 


[[Category:Help]]
{{ll|Category:Help}}

Revision as of 14:38, 14 April 2024

WhiskeyHalf.png
This page may be in need of improvement.
Requires new infobox
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.

Creating a new page is as easy as clicking create… literally.

Create page

There are several ways to create a new page.

Using links

If you or any other contributor create a link to an article that does not exist yet, the link will be colored red, like this.

Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.

Once the page has been created, the link will automatically change from red to blue (or purple for pages you've already visited) indicating that the article now exists.

Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later).

If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki?

Also, how are you expecting visitors to find this page? Normally, there is no reason to create a page without first creating a red link to it.

From the search box

Vector search results.png

If you search for a page that doesn't exist (using the search box in the top right of the page) then you will be provided with a link to create the new page.

Using the URL

You can also use a URL for creating a new page. The URL to an article of the wiki usually looks like this: https://pzwiki.net/wiki/Article

If you replace Article with the name of the page you want to create, you will be taken to a blank page, indicating that no article of that name exists yet.

Clicking the "Create" tab at the top right of the page (next to the search function) will then take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.

Page format

There are a variety of formats we use within the wiki to ensure there is consistency between each page type.

Boilerplates

Boilerplates are premade page templates we have set up for you to make creating a new page quick and easy. These boilerplates should be used as a starting place when creating new pages. You can think of them as being forms where you ultimately just fill in the blanks.

Each boilerplate contains a Header bar and Infobox/Image.

  • Header bar — adds a header with category navigation, as well as automatically categorizing the page.
    • Should be placed at the top of the page, under the language bar, all other content should be added below this:
    • category navigation — displays the categorical path within the navigational network, also adding it to the last category,
    • Example: {{Header|Project Zomboid|Items|Food}}
    Will produce:
Project ZomboidItemsFoodCreating a new page

A whole page's worth of content in here.

  • Page version is an mbox used to keep track of the version the page was last revised. This informs both editors and readers alike.
    • Displays the version the article was last updated on, while also adding it to the version category, used to easily identify outdated articles,
    • Text will change based on the version number, e.g., stable, beta, or outdated.
    • Example: {{Page version|41.78.16}}
    Will produce:
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]

{{Infobox normal|image=Image.png|weight=?}}

  • Infobox — is a fixed-format table added to the top right-hand corner of articles to consistently present a summary of some unifying aspect that the articles share;
    Will produce: (displayed on the right)
Text that would go below the image.
  • Image — is very similar to the infobox, except it does not display information and will only contain an image and a caption;
    • Used on pages that don't have an infobox, or just simply need an image, such as in Guides.
    • Example: [[File:Image.png|thumb|Text that would go below the image.]]
    Will produce: (displayed on the right)

Other formats

Boilerplates are currently the standard formats used within the wiki. However, not all page types have their dedicated boilerplate, or you (the editor) may be unsure which boilerplates to use.

Rather than leaving it empty, we ask that you add these if unsure what to add.

  • Message box — adds a message box indicating what is either wrong with the page, or what the page is about.
    • Should be added at the top of the page, under the Header bar.
    • Example: {{Stub}}
    Will produce:
Notebook.png
This page may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
  • Other templates:
    • Crafting header — allows adding recipes to the page.
    • About — used for disambiguation, directing the reader to another page they may have been looking for instead.