Help:How to Edit

From Palia Wiki
Jump to navigation Jump to search
TauWow.png Looks like this article or section is a stub and missing info. You can help out by expanding it.


New to editing? Here are some steps to get started!

Getting Started

Set up a wiki.gg account

An account is mandatory to make edits to the Palia Wiki.

  • At the top right of the site, click on Create account.
  • This will make an account for the Palia wiki (but will also be interconnected with all wiki.gg sites in the network).

Start adding content and fixing up some text

  • Most editors start by noticing some missing info or typos that can be quickly added to or fixed.
    • To do so, go to the top right from the page you want to update, and click "Edit."
    • If you are looking to edit a particular section, there may be a small "Edit" link next to the section title.
  • You will see the Editor box. There might be a lot of intimidating code, but that's okay![1] Focus on trying to find the text (Ctrl+F) that you want to edit and make your adjustments. Make sure to take a look at our Content and Asset Guidelines for guidance when writing or adding images.
  • At the bottom of the box, click on "Show preview" so you can see how your edit looks.[2] Once it looks good, press "Save changes" to submit!

Running into issues? The fastest way to get a response is to reach out in the Wiki channels of the Palia Server. Note: the Wiki Editor server role is required to get involved!

For a list of pages tagged for expansion see: Stub Pages

Using Templates

Templates are a great way to provide formatted content on a lot of pages without having to copy and paste a lot of information between pages, or worry about maintaining a large number of pages to make small changes. The wiki uses a large number of templates, some of which are listed below.

  • For more in-depth documentation, visit the template's page
Template Type Example Description
{{Any}} Translation Any Bass, Any Bug Translation helper for outputting grouped items. For cooking/crafting recipes that use "Any of .."
{{BlockQuote}} Formatting Outputs a block quote, left aligned and indented
{{Category}} Translation Categories are normally just [[Category:Soups]], but this would clutter up every language page (eg; Reth's Favorite Soup, Reth's Favorite Soup/fr, Reth's Favorite Soup/de, Reth's Favorite Soup/pl, Reth's Favorite Soup/nl) into our Soups category! This helper template will automatically separate translation pages into the correct category, so Reth's Favorite Soup/de ends up in Soups/de.
{{Cite}}
{{Clear}} Formatting Clears a CSS float (float: clear;). Usually for moving the content to the end of a floating item (Eg; an Infobox)
{{Collapsible}} Formatting
{{Collection}}
{{Cols}} Formatting Splits the provided input value into columns. Can separate a list of items into columns (Will automatically separate into smaller columns on mobile views)
{{Control}} Controls Used for printing game controls, such as Keyboard, Mouse, Playstation, Switch, Xbox, SteamDeck, and WiiU
{{CookingRecipe}} Formatting
{{Cost}} Formatting Gold.png 1,000 Gold / Furniture Making.png 1,000 Furniture Making Medals A cost helper that will output formatted and translated cost values for many currencies, including skill medals
{{Costlist}} Formatting
{{DailyReset}} Formatting/Standardization 4:00 AM UTC
{{Date}} Formatting February 8, 2024
{{Delete}} Notice
{{DialogueTranscript-Collapsed}} Formatting
{{Disambiguation}} Notice
{{Documentation}} Templates Used in Templates to show the Template Documentation
{{FishGallery}} Gallery
{{Focus}} Formatting
Focus White.png +850 Focus Points
{{FoodGallery}} Gallery
{{For}} Notice
{{FriendshipLevels}} NPC
Used on NPC pages for showing the levels of Friendship
{{GardenBuff}} Formatting
{{GardenBuff/Desc}} Formatting
{{GuideInfobox}} Infobox Displays the information about any page written in the Guide: namespace. Guides can be written by players to help out other players. The Infobox can show the Guides author
{{Heading}} Translation Objectives For writing commonly translated page Headings
{{HousingAddon/Pricing}} Displays a table of Housing Add-ons and the associated pricing
{{Icon}} Formatting Unknown.png / Chapaa Pop.png / ChapaaAngel.png / ChapaaChuckle.png For outputting Images as icons
{{IconInfobox}} Infobox Displays an Image inside of an Infobox. Primarily used on pages that wouldn't otherwise have an Infobox, where the Image might represent the content on the page. Infoboxes contain the pages Language Selector.
{{Item}} Formatting Stone 10 Stone Outputs Items for use in sentences
{{ItemBox}} Formatting Outputs Items inside of a formatted box
{{ItemGallery}} Gallery
{{ItemList}} Formatting Used for printing a list of items (With or without quantities)
{{LatestPaliaUpdate}} Patch_Notes/Build 0.179 Outputs the latest version of the game
{{LetterTranscript-Collapsed}}
{{Likes}}
{{LikesNPC}}
{{LikesTable}}
{{LocalizedLink}} / {{LL}} Translation Similar to regular links ([[Palia Wiki]]) except it fetches the Localized version of the page title using the pages current language
{{LuckyBox}}
{{Palia}} Palia Outputs the name of the Game and links to the game page.
{{Personality}} Air.png Air / Water.png Water / Fire.png Fire / Earth.png Earth Used for displaying the 4 different personality types.
{{PlayerLevel}} Useful for User pages! Show off your skill levels
{{NPC}} Ashura Profile.png Ashura Displays an NPCs profile picture along with a link to their page (Used inline)
{{NPCPfp}} Displays an NPCs profile picture in a large size, with a link to their page below the image
{{Ordinal}} Formatting 2nd Outputs a number with its ordinal
{{OutfitGallery}} Gallery
{{Quest}} Formatting Quest Icon.png Welcome to Palia Formats links to Quest pages. Adds a quest indicator, and a localized link to the quest
{{Quote}} Formatting Outputs a quote, centered inside of quotation marks
{{Random}} Misc Outputs a simple-random number. (It's not very random due to a lot of reasons, including caching, but it works for it's needs)
{{RandomLanguage}} Misc Outputs a random language that isn't the current Page language.
{{Rarity/text}} Formatting Unspecified / Abundant / Common / Uncommon / Rare / Epic / Legendary
{{Relationship}} Formatting You (Friend) Used for displaying localized relationships between one NPC and another
{{Replace}} Notice Displays a notice that a page needs to be replaced, such as a File with a low quality needing to be replaced with a higher quality
{{Rewards}}
{{RomanceLevels}} NPC
Used on NPC pages for showing the levels of Romance
{{Sandbox}}
{{Schedule}} NPC Display a localized version of an NPCs daily schedule
{{Skill}} Formatting Foraging Foraging Level 88 Display a Skills icon and a localized link to that skill, can also be used for displaying skill requirements.
{{Skillpfp}}
{{Spoiler}} Notice Warns users that a page or section will contain possible spoilers
{{SpoilerText}} Formatting Hide some text content. Used for hiding in-line spoilers within text. Click to unhide!
{{StaleData}} Notice Warns users about wiki caching, and that they may need to Purge a page to get the latest results
{{Starpath}} Formatting Citrine.png The Wanderer Displays the icon for a Starstone associated with a specific Starpath, as well as a localized version of that Starpath
{{Stub}} Notice
{{T}} Links to templates. They're all over this page!
{{Tag}} Formatting Creates displayable code XML without printing it as HTML
{{Time}} Formatting 8:00 AM Prints a certain time of day in a localized formatting
{{TranslatedPagename}} Translation Outputs the Translated title of a page
{{UntranslatedPagename}} Translation Outputs the Untranslated page title of a page (on a translated page)
{{UpdateHistory}} Formatting Used on item/furniture/etc pages to show patch note changes between game versions
{{UserInfobox}} Infobox For use on user pages to display information about your character!
{{Uses}}
{{WeeklyReset}} Formatting/Standardization Monday at 4:00 AM UTC
{{Wip}} Notice

Standard Editing Practices

  • Leave a summary of the changes made when editing any article
  • [sic] is a note typically left in transcripts that have unusual or grammar typos at the source (in-game)
  • "the Player" is always capitalized
  • Usernames are replaced with (Player) in transcripts
  • <br> is sometimes entered in text to force an extra line break (br for break)
  • "center" tags (<center>Enter Text Here</center>) can be used to quickly format a bit of text to be center aligned instead of the default alignment

Experimenting with Sandboxes

Say you've got an idea for a page layout, or want to take a crack at making a template!
Rather than try to edit existing pages and cause disruptions, it's recommended to try out things in spaces informally called "Sandboxes"

Personal Sandboxes

To create your own personal Sandbox, first make your user page, which is located at https://palia.wiki.gg/wiki/User:[usernamehere].
Then, just add a forward slash ( / ) to the end of the URL, so it becomes https://palia.wiki.gg/wiki/User:[usernamehere]/Sandbox.
  • Nothing's stopping you from using your main user page or calling this sub page anything else, but this is just standard practice!

Other Sandboxes

  • Template:Sandbox - This is for everyone to use, so be courteous and leave notes if you are for others to see!
  • Module: Sandbox - This is for everyone to use, so be courteous and leave notes if you are for others to see!

Requesting Deletions

See something that isn't being used? Something that is a duplicate? Dont need your sandbox anymore?

For deletion requests, enter the following template at the top of an article, page, file, or template: {{delete|reason for deletion}}. Please be as descriptive as possible when requesting a deletion, and ensure that nothing still links to the article by using the What links here button on the main menu (left sidebar on large screens, top buttons on narrow screens). Note: using the appropriate template flags the page for the administrators to review.

Use cases:

  • The page/file is a duplicate of another existing article
  • The page's contents were merged with another page
  • The file is no longer required for the subject
  • Another file has been uploaded and in use under another name of better quality
  • My sandbox is no longer needed
  • Etc.

Other possible solutions:

  • Files or Pages with typo's can be Moved if an article of the correct name does not already exist

Contributing to Translations

If you'd like to read about formatting pages for Translation, or know more than one language and would like to help translate pages then check out the translation portal.

Infoboxes

It's important to add an Infobox to each page because Infoboxes contain important information by default (even if no other data is provided). An Infobox will add two things to the page: The Language selector, and a collapsible Table of Contents. Some pages use specifically designed Infoboxes, such as {{VillagerInfobox}} on Villager pages. If a page doesn't have a relevantly designed Infobox, {{IconInfobox}} can be used instead, which simply displays an image.

It's important to have an Infobox to display the language selector, users will use this to read a page in their language if it has been translated!

Table of Contents

Infoboxes will contain the pages Table of Contents (TOC). The TOC can be customized with the toc parameter:

{{Infobox
 |toc = none
}}

The toc parameter expects a number, or simply "none". Setting the toc parameter to 0 or none will hide the Table of Contents. This can be used to display the TOC elsewhere on the page.

Setting a number value for toc sets a max height for the TOC (By default is 450; Amount is in px). For a longer TOC display simply set the number to a larger value:

{{Infobox
 |toc = 600
}}

A Table of Contents that exceeds the height will display a scroll bar.

Infobox Templates

The following Infoboxes are available to be used for pages:


Page templates

Guide Template for the uninitiated.

Special Formatting

Checklists

It is possible to make Tables that allow a user to mark rows of the table as Completed. This functionality can be seen on the Bundles page. Below are examples on how to do this on other pages.

There are two requirements to make rows "Complete-able"

  1. The table must be given an ID
    • Table IDs are Unique site-wide. If two tables use the same ID, one will override the other. This is for cases where the same table is used on multiple pages. Please give your IDs a detailed name.
  2. The given row must have an ID
    • Rows that do not have an ID (Such as the Table header) are ignored.
    • If a row in the table contains at least one {{item}} tag, the first item in the row will be used as the ID by default.

Table with an ID

{| data-checklist-id="my_checklist_table"
 ! Heading 1
 ! Heading 2
|-
 | Column 1
 | Column 2
|}

The above example will not work yet, we still need to give our row an ID.

Rows with an ID

{| data-checklist-id="my_checklist_table"
 ! Heading 1
 ! Heading 2
|- data-checklist-id="row_1"
 | Column 1 Row 1
 | Column 2 Row 1
|- data-checklist-id="row_2"
 | Column 1 Row 2
 | Column 2 Row 2
|}

Table checklists may also be given an "Expiration", where the items will not be saved past a certain point. This can be used in situations with timed tasks, such as Weekly Challenges.

  • The expiration may either be a date, day of week or a number
    • If a date is given, the table data will expire after the given date has passed.
    • If a day of week is given, then the table data will expire after the given day has passed. If the day has already passed, the day on the following week will be selected.
    • If a number is given, the number is treated as a number of seconds. Setting the expiration as 120 will save the table for two minutes after the user interacts with it.
Syntax Description
30, 60, 90 Saves the table results for a specific number of seconds.
January 11 2024, February 14 2025, March 21 2026 Saves the table results until the given date at midnight UTC. After the date has passed the table will not save.

Be careful about using templates to save dates this way, as caching can cause major problems on the given date

Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday Saves the table results until the given day at midnight UTC.
Monday 11:00, Tuesday 12:00, Wednesday 13:00, Thursday 14:45, Friday 16:00, Saturday 19:15, Sunday 22:00 Saves the table results until the given day at the given time.
  • The time must be 24-hour time (Hour 0-23).
  • The time is in UTC. (Daily reset is at 4:00 AM UTC).
  • When the expiration passes, the table will not reset unless the page has been refreshed.

Expiration

{| data-checklist-id="my_checklist_table" data-checklist-expire="January 10 2025"
 ! Heading 1
 ! Heading 2
|-
 | Column 1
 | Column 2
|}

References

  1. While using the editor click the Pen icon on the top to turn on Syntax Highlighting. This will enable colors in the editor for easier readability!
  2. It is recommended in your "Editing" user preferences to enable the "Show preview without reloading the page" setting. This will show page previews without reloading the entire editor page.