Help:Contents: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
Created page with "'''How to Help''' {| style="width:380px; text-align:left; white-space:nowrap;" |If you would like to help, but don't know where to start,<br/> check out the [[metawikipedia:He..."
 
>Kumixnami
Blanked the page
Line 1: Line 1:
'''How to Help'''
{| style="width:380px; text-align:left; white-space:nowrap;"
|If you would like to help, but don't know where to start,<br/> check out the [[metawikipedia:Help:Editing|Guide on Editing]] or [http://wiki.aeriagames.com/shaiya/index.php?title=Template_Tutorial Shaiya's Guide to Templates].<br/>
If you already know your way around check out the [[Special:Wantedpages| Wanted Pages]].<br/>
Discuss topics and plan the future of the wiki on the [[Discussion_Main| Discussion Page]]. <br/>
If you want to know what people play Megaten, go to the [[Character lists]].
|}


<big><big>The following are edited excerpts from the [[metawikipedia:Help:Editing|Guide on Editing]], along with personal input from [[User:Kuenaimaku|Kuenaimaku]].</big></big>
==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.
{| style="text-align:center;width:80%; border-collapse:collapse" border="1"
|- style="background-color:#efefef;"
! Icon !! Function !! What it shows when editing !! What it shows on the page
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_bold.png
|Bold or strong emphasis
|<code><nowiki>'''abc'''</nowiki></code>
|'''abc'''
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_italic.png
|Italic or emphasis
|<code><nowiki>''abc''</nowiki></code>
|''abc''
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_link.png
|Internal link
|<code><nowiki>[[abc]]</nowiki></code>
|[[abc]]
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_headline.png
|Section heading
|<code><nowiki>== abc ==</nowiki></code>
|
== abc ==
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_nowiki.png
|Ignore wiki formatting
|<code><nowiki><nowiki>abc '''[[Bold text]]'''</nowiki></nowiki></code>
|<nowiki>abc '''[[Bold text]]'''</nowiki>
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_sig.png
|Sign talk comments (with time stamp)
|<code><nowiki>~~~~</nowiki></code>
| --[[User:Kuenaimaku|Kuenaimaku]] 08:25, 21 June 2010 (EDT)
|-
|http://wiki.aeriagames.com/megaten/skins/common/images/button_hr.png
|Horizontal line
|<code><nowiki>----</nowiki></code>
|
----
|}
<br/>
==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 <small>decrease</small> and <big>increase</big> text size, use the HTML tags <nowiki><small> and <big></nowiki> respectively.
<br/><br/>
<center> Text can be aligned to the center by using the <nowiki><center></nowiki> HTML tag.</center>
<br/>
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">'''<nowiki><span style="color:#009000"></nowiki>'''</span>
TEXT
<span style="color:#009000">'''<nowiki></span></nowiki>'''</span>
Set '''background''' color by using
<span style="background:#00FF00"><nowiki><span style="background:#00FF00"></nowiki></span>
TEXT
<span style="background:#00FF00"><nowiki></span></nowiki></span>
Set '''both''' by using
<span style="color:#FFFFFF; background:#FF69B4"><nowiki><span style="color:#FFFFFF; background:#FF69B4"></nowiki></span>
TEXT
<span style="color:#FFFFFF; background:#FF69B4"><nowiki></span></nowiki></span>
<br/>
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.
#This is first.
#This is second.
#This is third.
##This is a subsection of third, which is first.
##This is a subsection of third, which is second.
#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.<br/>
'''Format Example is below.'''
<pre>#This is first.
#*This is an unnumbered subsection of first.
#*# This is a numbered subsubsection of first.
#This is second.</pre>
#This is first.
#*This is an unnumbered subsection of first.
#*# This is a numbered subsubsection of first.
#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.
{{Act
| name =
<!-- Use something about 200 pixels wide for the image -->
| image =
| previous =
| next =
}}
<noinclude>
<div style="clear:both;"></div>
<pre><nowiki>
{{Act
| name =
<!-- Use something about 200 pixels wide for the image -->
| image =
| previous =
| next =
}}
</nowiki></pre>
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 [[Act 1: A Demon Friend|Here.]]
<br/>
==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.
<pre>{|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}}}
|}
</pre>
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. <pre>{{Inheritance
<!-- Y for yes, N for no -->
| Breath =
| Wings =
| Slam =
| Teeth =
| Claw =
| Needle =
| Weapon =
| Eyes =
| Maiden =
}}</pre>
<br/>
==Headings==
There are 5 headings you can use in a wiki: H1 through H5. The table below depicts how to use them.
{| style="width:80%; border-collapse:collapse; background-color:#ffffff;" border="1"
|-style="background-color:#efefef;"
!Header
!Wiki Piping
!Result
|-
| Header 1
| <nowiki>=Header 1=</nowiki>
|
=Header 1=
|-
| Header 2
| <nowiki>==Header 2==</nowiki>
|
==Header 2==
|-
| Header 3
| <nowiki>===Header 3===</nowiki>
|
===Header 3===
|-
| Header 4
| <nowiki>====Header 4====</nowiki>
|
====Header 4====
|-
| Header 5
| <nowiki>=====Header 5=====</nowiki>
|
=====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 [[Vouchers|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.
<pre>
{|        <-- 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.
</pre>
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.
<pre>
{| 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
|}
</pre>
And by doing so, it is rendered like so (note that we used the "mttable" id -- it did a lot of styling for us).
{| 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
|}
__NOTOC__
__NOEDITSECTION__

Revision as of 14:21, 28 October 2023