Help:Contents

From Shin Megami Tensei IMAGINE Wiki
Jump to: navigation, search

How to Help

If you would like to help, but don't know where to start,
check out the Guide on Editing or Shaiya's Guide to Templates.

If you already know your way around check out the Wanted Pages.
Discuss topics and plan the future of the wiki on the Discussion Page.
If you want to know what people play Megaten, go to the Character lists.

The following are edited excerpts from the Guide on Editing, along with personal input from Kuenaimaku.

List of functions

An edited table depicting which buttons in the edit toolbar that most will use when editing a page, or creating one yourself.

Icon Function What it shows when editing What it shows on the page
button_bold.png Bold or strong emphasis '''abc''' abc
button_italic.png Italic or emphasis ''abc'' abc
button_link.png Internal link [[abc]] abc
button_headline.png Section heading == abc ==

abc

button_nowiki.png Ignore wiki formatting <nowiki>abc '''[[Bold text]]'''</nowiki> abc '''[[Bold text]]'''
button_sig.png Sign talk comments (with time stamp) ~~~~ --Kuenaimaku 08:25, 21 June 2010 (EDT)
button_hr.png Horizontal line ----


Text Formatting

There are mainly two ways to format text: Wiki piping and HTML tags.

To bold text with wiki piping, you would surround the text needed to be bold with three apostrophes (').

To italicize, surround the text with two apostrophes.

to decrease and increase text size, use the HTML tags <small> and <big> respectively.

Text can be aligned to the center by using the <center> HTML tag.


The easiest way to format text color in a wiki is to use HTML tags. I advise using HTML over wiki piping for color.

Set text color by using <span style="color:#009000"> TEXT </span>

Set background color by using <span style="background:#00FF00"> TEXT </span>

Set both by using <span style="color:#FFFFFF; background:#FF69B4"> TEXT </span>

To bullet out information, use asterisks (*) in new lines. More asterisks means the text will be promoted more. Please note that you cannot promote twice when compared to the previous line.

  • This is text.
    • This text has been promoted.
      • This text has been promoted twice.
          • Trying to promote two or more times creates two or more bullet points, which is not the desired result.

To create a numbered list, do the same as above, only using number signs (#) instead. Promoting causes the numbering to restart for that section only, demoting returns it to normal.

  1. This is first.
  2. This is second.
  3. This is third.
    1. This is a subsection of third, which is first.
    2. This is a subsection of third, which is second.
  4. This is fourth.

You can mix both of these to produce a varied list. Please note that whichever you use first, must be continued out through the list itself.
Format Example is below.

#This is first.
#*This is an unnumbered subsection of first.
#*# This is a numbered subsubsection of first.
#This is second.
  1. This is first.
    • This is an unnumbered subsection of first.
      1. This is a numbered subsubsection of first.
  2. This is second.

To indent in a page, use a colon (:) in the same manner as above. more colons means the text is promoted more.

This is indented once.
This is indented twice.
This is indented thrice.

Using a Template

Many pages on this wiki use a template, or in other words, a previously made table. Most (if not all) template pages have a nowiki section depicting the portion you would paste into a page to have the template appear. For example, the act template shows us the following.

'
Previous Act
Next Act


{{Act
| name		= 
<!-- Use something about 200 pixels wide for the image -->
| image	= 
| previous	= 
| next		=
}}

The portion surrounded by a dotted blue border is what you should copy into another page. Then, just fill in the information as needed. Standard wiki editing applies here. Correct usage of this template can be found Here.

Creating a Template

Creating a template is essentially the same as creating a table, but instead of putting in values for your cells, you are placing variables. Doing so is easy. Lets take a look at the Inheritance template. The person formatted the tables beforehand to fit everything, including the variables. The actual table code is as follows.

{|style="margin: 1em auto 1em auto; border-collapse: collapse; text-align: center; background: #D3D6CF;" border="1" cellspacing="1" cellpadding="1"
!width="50" | [[Breath]]
!width="50" | [[Wings]]
!width="50" | [[Slam]]
!width="50" | [[Teeth]]
!width="50" | [[Claw]]
!width="50" | [[Needle]]
!width="50" | [[Weapon]]
!width="50" | [[Eyes]]
!width="50" | [[Maiden]]
|-style="background: #F4F4F4;"
|width="50" | {{{Breath}}}
|width="50" | {{{Wings}}}
|width="50" | {{{Slam}}}
|width="50" | {{{Teeth}}}
|width="50" | {{{Claw}}}
|width="50" | {{{Needle}}}
|width="50" | {{{Weapon}}}
|width="50" | {{{Eyes}}}
|width="50" | {{{Maiden}}}
|}
Notice the words surrounded by three braces? These are your variables. To actually fill them in on a page, you will need to call the template in the page. You do so by using two open braces, followed by the name of the template page. Then (for parsing reasons) make a new line, then a pipe (| (the key next to close bracket)), the name of the variable, and then an equals sign. The actual value goes after the equals sign. an example of calling the inheritance template is below.
{{Inheritance
<!-- Y for yes, N for no -->
| Breath	= 
| Wings		= 
| Slam		= 
| Teeth		=
| Claw		= 
| Needle	= 
| Weapon	= 
| Eyes		=
| Maiden	=
}}


Headings

There are 5 headings you can use in a wiki: H1 through H5. The table below depicts how to use them.

Header Wiki Piping Result
Header 1 =Header 1=

Header 1

Header 2 ==Header 2==

Header 2

Header 3 ===Header 3===

Header 3

Header 4 ====Header 4====

Header 4

Header 5 =====Header 5=====
Header 5

The ranking of these heading depicts how the Table Of Contents would look on the page. The Table of contents is pretty much an indented outline of the page. In all cases, the larger it is, the less promoted it will be. Check Here for a lengthy example.


Tables

Tables are at the heart of the wiki. There are a multitude of uses for them, and are used predominantly in templates. There are a few reserved combinations in wiki piping for different table features.

{|        <-- starts off a table. styling here will be used throughout the table.

|         <-- creates a new cell.

!          <-- creates a "header". Text is bold by default.

|+         <-- This is the table comment, it usually appears above the table.

|-        <-- this ends the table row.

|}        <-- this ends the table.

So, by combining this code, we can create a table with three headers, and six normal cells, a 3x3 if you will, with the following code.

{| id="mttable"  border="1"
|-
! header 1
! header 2
! header 3
|-
| row 1, cell 1
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}

And by doing so, it is rendered like so (note that we used the "mttable" id -- it did a lot of styling for us).


header 1 header 2 header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3



Personal tools