Template:Guide Page
Guide Page is a guide for making guides on the Palia wiki.
Introduction
Requirements, intro to what the guide will cover will go here.
In this guide, I'll cover some basic wiki functions; how to add pictures, tables, use headings & subheadings, use links, add lists
Tips & Tricks
You can edit this page and copy paste the source code into a new page and remove/add things as necessary.
Headings / Subheadings
- The tier 1 heading (largest) uses 1
=
, is underlined, and is the same size/style as the page title.- Example:
= text here =
- note: use this sparingly
- Example:
- The tier 2 heading (most common) uses 2
==
, and is underlined.- Example:
== text here ==
- Example:
- Tier 3 subheading (smaller) uses 3
===
, but is not underlined.- Example:
=== text here ===
- Example:
- Tier 4 subheading (even smaller) uses 4
====
, and is also not underlined.- Example:
==== text here ====
- Example:
- the maximum is 6
Any headings/subheadings styled with the =
formatting will show up on the TOC. If you just need bolded titles for subsections that do not need to appear on the TOC, use '''Sub-Heading Text'''
instead.
Here's a proof of concept of how subheadings work and look in the table of contents.
=== 99 ===
t2 subheading
==== Bowls ====
t3 subheading
===== of =====
t4 subheading
====== Soup ======
t5 subheading
Pictures
In case you wish to embed a picture, this is how you do it: [[File:Filenamehere.png]]
. You'll set the filename yourself after you upload a picture here.
Galleries
And here's what you need for a gallery. This will be especially useful for showing off different gardening patterns!
<gallery>
Example.jpg|Caption1
Example.jpg|Caption2
Example.jpg|Caption3
Example.jpg|Caption4
Example.jpg|Caption5
</gallery>
Linking to other pages
You may want to link your guide to another page on the wiki, especially in key words. If you do, it's as simple as:
links that link sites outside the Palia wiki look like this!
Internal links that link to other wiki pages look like this.
The first part of the syntax consists of the link, and the second, separated by | is another word for or explanation for what the page is. You may want to use internal linking to link to base skill pages in a skill guide.
For instance, if you are contributing a gardening guide, you may make use of this: [gardening] to simply link directly to the gardening page.
Tables
Guidelines
In case you need more (or less) columns for whatever reason:
Add !! after 'Column 3 title' so that it looks as follows: ! Column 1 title !! Column 2 title !! Column 3 title !! Column 4 title !! Column 5 title !! Column 6 title
Which would lead you to adding one more | stuffhere.
The line that adds |-
is used to jump over to the next line in the table.
The table itself (you can copy paste this!)
{| class="paliatable mw-half"
! Column 1 title
! Column 2 title
! Column 3 title
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|-
| Info that goes under column 1
| Info that goes under column 2
| Info that goes under column 3
|}
Table sizes
A few HTML classes exist that allow different sizing to be applied to tables.
These sizing will also automatically adjust on smaller-device screens to fill the screen.
- If the content of the table is too large for a small table, then the table may stretch wider than intended.
Class | Sizing | Example |
---|---|---|
mw-quarter
|
25% width | {| class="mw-quarter"
|}
|
mw-half
|
50% width | {| class="mw-half"
|}
|
mw-threequarter
|
75% width | {| class="mw-threequarter"
|}
|
Mobile
A large number of website visitors view the Wiki using a mobile device (Or simply a device with a small screen). Tables that use a lot of columns, or tables that have very wide columns, can cause page overflow issues for mobile viewers. To prevent any issues, please make sure to surround your tables with our scrollable element:
<div class="tablescroll">
{| class="paliatable"
! Heading 1
! Heading 2
|-
| Column 1
| Column 2
|}
</div>
Lists
Code | Example |
---|---|
* Hello,
* World!
* How
* is
* everything?
|
|
* Hello,
** World!
* How
** is
** everything?
|
|
* Hello,
*# World!
* How
*# is
*# everything?
|
|
: Hello,
:: World!
: How
:: is
:: everything?
|
|
# Hello,
#: World!
# How
#: is
#: everything?
|
|
# Hello,
## World!
# How
## is
## everything?
|
|
Closing statements
I hope that this little guide template has helped you! For further information on how to use the wiki, please navigate here.
And if you have any questions on how to do something, head over to the #wiki-frontdesk
on the official Palia discord, confirm that you're ready to help and head on over to #wiki-help
to get some assistance from other wiki contributors.
Notes
You're welcome to remove any single part of this template. Please ignore everything below this point though — FORCETOC is how a page without the requisite amount of sections can still keep a table of contents which makes it easier to navigate!