Help:Editing: Difference between revisions

Help page
(Added a new section and slightly reorganized the page. MediaWiki's Editing guide is really good, we can bring it over and accompany with images if necessary, but I'll hold that off and wait for more opinions on the matter)
 
(45 intermediate revisions by 7 users not shown)
Line 1: Line 1:
For those of us who have never worked on a wiki before (including myself), this page can be used to see what avaialbe tools you have at your disposal. Click 'Edit' and view the source so you know what the code is to use these effects.
== Media Wiki Editing Guides ==
https://meta.wikimedia.org/wiki/Help:Contents
 
https://www.mediawiki.org/wiki/Help:Editing_pages
 
==How to edit==
It's very easy to edit the contents of a wiki:
 
# Click the "'''[edit]'''" button next to an article, or at the top of the page
# Make changes to the text.
# Click the "'''Save changes'''" button.


== Media Wiki Editing Guides ==
Simple as that!
http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide <br />


http://meta.wikimedia.org/wiki/Help:Editing
==Formatting Tools==
==Formatting Tools==
For those of us who have never worked on a wiki before (including myself), the following sections can be used to see what available tools you have at your disposal. Click 'Edit' and view the source so you know what the code is to use these effects.


===Headings===
===Headings===
Headings are done by surrounding your text with equals (=) signs. The number of signs on both sides is the size of the heading.
Headings are created by surrounding your text with equals (=) signs. The heading level is determined by the number of consecutive signs.
 
{{notice|
*Do '''not''' use level 1 headers <nowiki>(=SAMPLE HEADER=)</nowiki>
*Their use is discouraged by the [https://www.mediawiki.org/wiki/Help:Formatting#Level_2 MediaWiki User Guide]
|image=Ambox warning.png}}


===ToC===
===Table of Contents===
Table of contents are automatically generated when you have enough headings on the page. The sections are divided by the size of the heading used.
Table of contents are automatically generated when you have enough headings on the page. The sections are divided by the size of the heading used.
If you don't want a ToC, add the following to the top of the page:
<nowiki>__NOTOC__</nowiki>
If you want to add a ToC somewhere in the middle of a page, add the following at the desired location:
<nowiki>__TOC__</nowiki>
If you want a ToC but don't want to show all the sections used in it:
<nowiki>{{TOC limit|3}}</nowiki>
This is primarily used in character pages. Each move is its own section for the sake of convenince.


===Hiding Text===
===Hiding Text===
hidable section (for example hiding a long list of combos or videos):
hidable section (for example hiding a long list of combos or videos):
<toggledisplay>
;Example source
<nowiki>
<div class="mw-collapsible">
hidable text
</div>
</nowiki>
 
;Example in action
<div class="mw-collapsible">
hidable text
hidable text
</toggledisplay>
 
that takes
 
up
 
space
</div>
click <nowiki>[Collapse]</nowiki> to hide text
 
 
to have it start collapsed, add "mw-collapsed" to the class
 
;Example source
<nowiki>
<div class="mw-collapsible mw-collapsed">
hidable text
</div>
</nowiki>
;Example in action
<div class="mw-collapsible mw-collapsed">
hidable text
 
takes up
 
 
a
 
 
lot
 
 
 
of
 
 
space
</div>
click <nowiki>[Expand]</nowiki> to show hidden text


===Hiding Tables===
===Hiding Tables===
add "mw-collapsable" to the table's class to make it collapsible. To make the table start collapsed add "mw-collapsable mw-collapsed" to the table's class.
add "mw-collapsable" to the table's class to make it collapsible. To make the table start collapsed add "mw-collapsable mw-collapsed" to the table's class.
===Sorting Tables===
add "sortable" to the table's class to make it sortable.


=== Lists ===
=== Lists ===
* you can have a list of items
* you can have a list of items
* by adding a * at the start of a line
* by adding a * at the start of a line
**You can also have
**nested lists
***by adding more *s in the front


# or you can have a numbered list
# or you can have a numbered list
# by adding a # at the start of a line
# by adding a # at the start of a line
## and do nested numbered lists
## the same way
===Column Lists===
{{ColumnList
|text=
*Useful for frame data with lots of notes
*Default is to have two columns
*Can change number of columns by using the col variable
}}
{{ColumnList
|col=3
|text=
*test1
*test2
*test3
*test4
*test5
}}
=== Common Inputs ===
This is not an exhaustive list. If you can think of it, it probably already exists<br />
{{Ni|214}}<br />
{{Ni|236}}<br />
{{Ni|41236}}<br />
{{Ni|63214}}<br />
{{Ni|63214}}{{Ni|6}}<br />
{{Ni|623}}<br />
{{Ni|421}}<br />
{{c28}}<br />
{{c46}}<br />
{{Ni|6}}{{Ni|6}}<br />
{{Ni|2}}{{Ni|2}}<br />
{{Ni|4}}<br />
{{Ni|5}}<br />
{{Ni|6}}<br />
{{Ni|3}}<br />
{{Ni|4}}{{Ni|6}}<br />
{{P}}{{K}}{{S}}{{H}}{{D}}<br />
{{A}}{{B}}{{C}}{{D}}<br />
{{LP}}{{MP}}{{HP}}<br />
{{LK}}{{MK}}{{HK}}<br />


==Templates==
==Templates==
Line 36: Line 160:
|image=jinJ2C.png
|image=jinJ2C.png
|image2=jinJ2C.png
|image2=jinJ2C.png
|imageSize2=175x250px
|imageSize2=75x250px
|caption2=same image with size limited by imageSize variable
|caption2=same image with imageSize variable
|name=5B
|name=5B
|caption=Persona Attack
|caption=Persona Attack
Line 106: Line 230:
  |description=
  |description=
description text. Images aren't required to have captions!
description text. Images aren't required to have captions!
{{ColumnList
|text=
*test
*test1
*test2
*test3
}}
  }}
  }}
}}
}}
Line 114: Line 246:
|caption=caption goes here.
|caption=caption goes here.
|image2=jinYukikaze_2.png
|image2=jinYukikaze_2.png
|caption2=you can have up to 5 images in this area (hopefully tahts enough!)
|caption2=you can have up to 5 images in this area (hopefully that's enough!)
|name=Yukikaze
|name=Yukikaze
|input=236236D
|input=236236D
Line 160: Line 292:
}}
}}


=== Common Inputs ===
===Navigation Bars===
This is not an exhaustive list. If you can think of it, it probably already exists<br />
{{Navbar-BBCSE}}
replace BBCSE with the appropriate game acronym (GGACR, BBCP, P4Arena, etc.)
{{Navbar-GGACR}}
 
==Adding Images==
[[File:SystemDataLogo.png|thumb|250x300px|this is an example thumbnail with some other options]]
[[File:SystemDataLogo.png|left|thumb|100px|this is an example thumbnail with some options]]
 
To upload an image to the server, click on the "Upload File" option located in the Toolbox on the left sidebar and follow the instructions there. If you have multiple images you want to upload, select "Upload multiple files" from the sidebar. The multiple upload link only appears in the sidebar when viewing the front page of the wiki.
 
To add an image to a page, <nowiki>[[File:ImageName.png]]</nowiki>


{{214}}<br />
There are many image options, such as thumbnails, captions, max size, etc. and they are listed http://www.mediawiki.org/wiki/Images#Syntax
{{236}}<br />
[[File:SystemDataLogo.png|center|border|this is an example image with some options]]
{{41236}}<br />
{{63214}}<br />
{{632146}}<br />
{{623}}<br />
{{421}}<br />
{{c28}}<br />
{{c46}}<br />
{{66}}<br />
{{22}}<br />
{{4}}<br />
{{5}}<br />
{{6}}<br />
{{3}}<br />
{{46}}<br />
{{P}}{{K}}{{S}}{{H}}{{D}}<br />
{{A}}{{B}}{{C}}{{D}}<br />
{{LP}}{{MP}}{{HP}}<br />
{{LK}}{{MK}}{{HK}}<br />


==Breaking Text Past Thumbnail==
===Breaking Text Past Thumbnail===
[[File:ragna5A.png|thumb|175px|you can also have text under a thumbnail]]
[[File:ragna5A.png|thumb|175px|useful for stopping text before a section]]
If you want to break text so that there's space until the end of a thumbnail, simply add <nowiki><br clear=all/></nowiki> at the place where you want the space.
If you want to break text so that there's space until the end of a thumbnail, simply add <nowiki><br clear=all/></nowiki> at the place where you want the space.
<br clear=all/>
<br clear=all/>
this text will show below the image
----
----



Latest revision as of 09:13, 13 September 2022

Media Wiki Editing Guides

https://meta.wikimedia.org/wiki/Help:Contents

https://www.mediawiki.org/wiki/Help:Editing_pages

How to edit

It's very easy to edit the contents of a wiki:

  1. Click the "[edit]" button next to an article, or at the top of the page
  2. Make changes to the text.
  3. Click the "Save changes" button.

Simple as that!

Formatting Tools

For those of us who have never worked on a wiki before (including myself), the following sections can be used to see what available tools you have at your disposal. Click 'Edit' and view the source so you know what the code is to use these effects.

Headings

Headings are created by surrounding your text with equals (=) signs. The heading level is determined by the number of consecutive signs.

Table of Contents

Table of contents are automatically generated when you have enough headings on the page. The sections are divided by the size of the heading used.

If you don't want a ToC, add the following to the top of the page:

__NOTOC__

If you want to add a ToC somewhere in the middle of a page, add the following at the desired location:

__TOC__

If you want a ToC but don't want to show all the sections used in it: {{TOC limit|3}}

This is primarily used in character pages. Each move is its own section for the sake of convenince.

Hiding Text

hidable section (for example hiding a long list of combos or videos):

Example source

<div class="mw-collapsible"> hidable text </div>

Example in action

hidable text

that takes

up

space

click [Collapse] to hide text


to have it start collapsed, add "mw-collapsed" to the class

Example source

<div class="mw-collapsible mw-collapsed"> hidable text </div>

Example in action

hidable text

takes up


a


lot


of


space

click [Expand] to show hidden text

Hiding Tables

add "mw-collapsable" to the table's class to make it collapsible. To make the table start collapsed add "mw-collapsable mw-collapsed" to the table's class.

Sorting Tables

add "sortable" to the table's class to make it sortable.

Lists

  • you can have a list of items
  • by adding a * at the start of a line
    • You can also have
    • nested lists
      • by adding more *s in the front


  1. or you can have a numbered list
  2. by adding a # at the start of a line
    1. and do nested numbered lists
    2. the same way

Column Lists

  • Useful for frame data with lots of notes
  • Default is to have two columns
  • Can change number of columns by using the col variable


  • test1
  • test2
  • test3
  • test4
  • test5

Common Inputs

This is not an exhaustive list. If you can think of it, it probably already exists

214
236
41236
63214
632146
623
421
[ 2 ] 8
[ 4 ] 6
66
22
4
5
6
3
46
GGP.pngGGK.pngGGS.pngGGH.pngGGD.png
A.pngB.pngC.pngGGD.png
LP3.pngMP3.pngHP3.png
LK3.pngMK3.pngHK3.png

Templates

To use a template, just look at the source and place the correct values in the template call. Example shown below.

Attack Data

each game uses the same basic template. here's a few examples from different games

5B
JinJ2C.png
Persona Attack
JinJ2C.png
same image with imageSize variable
Damage SP Gain Level Attribute Guard Cancel P1 P2 SMP Startup Active Recovery Static Diff Invuln Hitbox
712 294 ??? 17 8 25 -14 -

description text

  • point 1
  • point 2

you can leave fields blank if desired. you can set the size of the image using the imageSize variable

c.S
command
ABAc.S.png
Version Damage Tension GB+ GB- Level Guard Cancel Startup Active Recovery Static Diff
normal 712 1.44 8 12 1 HLF cCRS 17 8 25 -14
moroha 712 1.44 8 12 1 HLF cCRS 17 8 25 -14
goku moroha 712 1.44 8 12 1 HLF cCRS 17 8 25 -14

description text. Images aren't required to have captions!

  • test
  • test1
  • test2
  • test3


Yukikaze
236236D
JinYukikaze 1.png
caption goes here.
JinYukikaze 2.png
you can have up to 5 images in this area (hopefully that's enough!)
Version Damage Heat Gain P1 P2 Startup Active Recovery Frame Adv Hitbox
catch -- -- -- -- 1 14 21 -- Click!

you can have descriptions after each row, but it's not required. leave out the description field if you don't want it

Version Damage Heat Gain P1 P2 Startup Active Recovery Frame Adv Hitbox
attack 100, 3700 0 100 100, 80 57 15 78 -- Click!

more description text tables need a bit of special formatting: need to replace | with {{!}} . click "view source" for example

Header text Header text Header text
Example Example Example
Example Example Example
Example Example Example

Navigation Bars

BlazBlue: Continuum Shift Extende
Click [*] for character's frame data
System Explanations

HUDControlsFrame DataSystem Data


Movement /CancelingOffenseThrowsDefenseGuard PrimerDamage/ ComboHeat Gauge UsageMisc

replace BBCSE with the appropriate game acronym (GGACR, BBCP, P4Arena, etc.)

Adding Images

this is an example thumbnail with some other options
this is an example thumbnail with some options

To upload an image to the server, click on the "Upload File" option located in the Toolbox on the left sidebar and follow the instructions there. If you have multiple images you want to upload, select "Upload multiple files" from the sidebar. The multiple upload link only appears in the sidebar when viewing the front page of the wiki.

To add an image to a page, [[File:ImageName.png]]

There are many image options, such as thumbnails, captions, max size, etc. and they are listed http://www.mediawiki.org/wiki/Images#Syntax

this is an example image with some options

Breaking Text Past Thumbnail

File:Ragna5A.png
useful for stopping text before a section

If you want to break text so that there's space until the end of a thumbnail, simply add <br clear=all/> at the place where you want the space.
this text will show below the image


Embed Video

This is an embedded video thumb!

see [1] for instructions on embedding videos from other sources (no nico listed, tho i suppose someone can try just to see if it works or not)