The current URL is datacrystal.tcrf.net.
Help:Contents: Difference between revisions
(This is a very important page and the previous content didn't do it justice; I still have a few ideas for future edits.) |
(→Templates: Completed section) |
||
Line 229: | Line 229: | ||
== Templates == | == Templates == | ||
As mentioned above, Data Crystal includes a Template namespace which holds pages designed specifically to be embedded on other pages. Therefore, a page within the ''Template:'' namespace is called a '''template''' and this special page is meant to reduce the need for writing the same thing multiple times. Also, a page in the template namespace can be linked to like any other page: | |||
<div align="center"> | |||
{| style="margin: 15px; border:1px solid #aaa; text-align:center;" | |||
| width="33%" style="background: #ccccff;"|'''You type''' | |||
| width="33%" style="background: #ccccff;"|'''Where [[Template:Example1]] contains''' | |||
| width="33%" style="background: #ccccff;"|'''You get''' | |||
|- | |||
|<big><code><nowiki>[[Template:Example1]]</nowiki></code></big> | |||
|rowspan=4|<big><code>{{msgnw:Example1}}</code></big> | |||
|[[Template:Example1]] | |||
|- | |||
|<big><code><nowiki>{{Template:Example1}}</nowiki></code></big> | |||
|{{Example1}} | |||
|- | |||
|<big><code><nowiki>{{</nowiki>Example1<nowiki>}}</nowiki></code></big> | |||
|{{Example1}} | |||
|- | |||
|<big><code>abc<nowiki>{{Example1}}</nowiki>def</code></big> | |||
|abc{{Example1}}def | |||
|} | |||
</div> | |||
One important feature of templates is their ability to take arguments. As shown in the previous table, a template with no arguments is called as <big><code><nowiki>{{template_name}}</nowiki></code></big>. Parameters are defined inside triple braces and when the template is embedded to a page, the contents of the parameter name will also be embedded: | |||
<div align="center"> | |||
{| style="margin: 15px; border:1px solid #aaa; text-align:center;" | |||
| width="33%" style="background: #ccccff;"|'''You type''' | |||
| width="33%" style="background: #ccccff;"|'''Where [[Template:Example2]] contains''' | |||
| width="33%" style="background: #ccccff;"|'''You get''' | |||
|- | |||
|<big><code><nowiki>{{Example2|1=Angus}}</nowiki></code></big> | |||
|rowspan=4|<big><code>{{msgnw:Example2}}</code></big> | |||
|{{Example2|1=Angus}} | |||
|- | |||
|<big><code><nowiki>{{Example2|Jimmy}}</nowiki></code></big> | |||
|{{Example2|Jimmy}} | |||
|- | |||
|<big><code><nowiki>{{Example2|2=Kirk}}</nowiki></code></big> | |||
|{{Example2|2=Kirk}} | |||
|- | |||
|<big><code><nowiki>{{Example2||David}}</nowiki></code></big> | |||
|{{Example2||David}} | |||
|} | |||
</div> | |||
By default, the parameters are numbered in order, starting from 1; there is no practical limit to the number of parameters that can be defined (at least 65536). However, named parameters may be added at any point without interrupting the numbering: | |||
<div align="center"> | |||
{| style="margin: 15px; border:1px solid #aaa; text-align:center;" | |||
| width="33%" style="background: #ccccff;"|'''You type''' | |||
| width="33%" style="background: #ccccff;"|'''Where [[Template:Example3]] contains''' | |||
| width="33%" style="background: #ccccff;"|'''You get''' | |||
|- | |||
|<big><code><nowiki>{{Example3|Super|Mario|Brothers}}</nowiki></code></big> | |||
|rowspan=5|<big><code>{{msgnw:Example3}}</code></big> | |||
|{{Example3|Super|Mario|Brothers}} | |||
|- | |||
|<big><code><nowiki>{{Example3|Super|Mario|x=Brothers}}</nowiki></code></big> | |||
|{{Example3|Super|Mario|x=Brothers}} | |||
|- | |||
|<big><code><nowiki>{{Example3|Super|x=Mario|Brothers}}</nowiki></code></big> | |||
|{{Example3|Super|x=Mario|Brothers}} | |||
|- | |||
|<big><code><nowiki>{{Example3|Super|x=Mario|x=Brothers}}</nowiki></code></big> | |||
|{{Example3|Super|x=Mario|x=Brothers}} | |||
|- | |||
|<big><code><nowiki>{{Example3|1=Super|2=Mario|=Brothers}}</nowiki></code></big> | |||
|{{Example3|1=Super|2=Mario|=Brothers}} | |||
|} | |||
</div> | |||
Please refer to the [[Help:Templates|Templates Help page]] for a list of existing templates and their usage. | Please refer to the [[Help:Templates|Templates Help page]] for a list of existing templates and their usage. |
Revision as of 01:54, 23 September 2010
General information about editing and formatting Wiki articles can be found at the Meta-Wiki help page. Other links on this page will cover such topics specific to this Wiki.
New page creation
When creating a new page:
- Use the simplest, most obvious name possible; you can always create a redirect and/or disambiguation page later if needed.
- Pages relating specifically to a single game or system should have the names start with the name of that game or system and a colon like EarthBound:Item Properties Table or Super Nintendo:Color.
- Help prevent chaotic growth by editing existing pages rather than creating new pages when possible.
Content and conventions
All Data Crystal articles should be written in Standard English. If you are unfamiliar with the English language, please contact an administrator before posting any articles. Refrain from using leetspeak or other non-standard forms of English on Data Crystal.
Since English is the primary language of this Wiki, game consoles will be referred to by the name they were released in the United States. For example, the Nintendo Famicom will be referred to as the Nintendo Entertainment System. Regarding games, the same rule applies and exceptions should be made in the case of games that were not released in the United States; however, an English name should be provided under Miscellaneous.
Game has been [modifier] hacked refers to the status of exploratory hacking; that is, how much is known about the inner workings of the game. Consequently, games with many sprite-only hacks are not said to have been extensively hacked, as where games for which few hacks are available may be extensively hacked with regards to the knowledge of their code. One example of the latter is Chrono Trigger.
Data Crystal strives for a uniform style across all pages. Please adhere to the following guidelines when writing articles of your own.
- Third-person point of view.
- Data Crystal aims for an encyclopedic method of writing so please phrase all articles in the third person. This includes Wikipedia's idea of Neutral point of view.
- ROM Hacking Content.
- Data Crystal is a repository of ROM Hacking information. As such, please limit the scope of articles to ROM Hacking and related topics. Many tangentially related topics already have thorough articles on Wikipedia, and we encourage inter-wiki linking. In fact, a template exists to make this as easy as possible.
- Game pages
- Please create separate pages for each game. In creating these pages, please see the respective template game page.
- Wiki networking
- Please create links to newly created articles, and avoid creating orphaned pages.
- Use templates where appropriate
- This especially applies to making text larger; please use the {{magnify}} template instead of headings to increase the size of text that is not appropriate as a header.
Basic Wiki syntax
Description | You type | You get |
Applies anywhere | ||
Italic text |
''italic'' |
italic |
Bold text |
'''bold''' |
bold |
Bold and italic text |
'''''bold & italic''''' |
bold & italic |
Internal link (within Data Crystal) |
[[name of page]] |
|
Redirect to another page |
#redirect [[Target page]] |
1. redirect Target page |
External link (to other websites) |
[http://www.example.com] |
|
Don't interpret text |
<!--an embedded comment--> |
|
Sign your posts |
~~~~ |
Username 20:18, |
Applies only at the beginning of the line | ||
Headings of different sizes |
==level 1== |
Headings of different levels. |
Horizontal rule |
---- |
|
Bulleted list |
* list item a |
|
Numbered list |
# first list item |
|
Mixture of bulleted and numbered lists |
* list item X |
|
Definition |
; Technical Term |
|
Indentation |
: normal text (indented) |
|
Preformatted text (boxed text) |
add a space at the beginning of the line to create preformatted text in a box |
add a space at the beginning of the line |
Thumbnail image |
[[Image:Wiki.png|thumb|Caption text]] |
Namespaces
TODO
Templates
As mentioned above, Data Crystal includes a Template namespace which holds pages designed specifically to be embedded on other pages. Therefore, a page within the Template: namespace is called a template and this special page is meant to reduce the need for writing the same thing multiple times. Also, a page in the template namespace can be linked to like any other page:
You type | Where Template:Example1 contains | You get |
[[Template:Example1]]
|
Hello World!
|
Template:Example1 |
{{Template:Example1}}
|
Hello World! | |
{{Example1}}
|
Hello World! | |
abc{{Example1}}def
|
abcHello World!def |
One important feature of templates is their ability to take arguments. As shown in the previous table, a template with no arguments is called as {{template_name}}
. Parameters are defined inside triple braces and when the template is embedded to a page, the contents of the parameter name will also be embedded:
You type | Where Template:Example2 contains | You get |
{{Example2|1=Angus}}
|
Hello {{{1}}}!
|
Hello Angus! |
{{Example2|Jimmy}}
|
Hello Jimmy! | |
{{Example2|2=Kirk}}
|
Hello {{{1}}}! | |
{{Example2||David}}
|
Hello ! |
By default, the parameters are numbered in order, starting from 1; there is no practical limit to the number of parameters that can be defined (at least 65536). However, named parameters may be added at any point without interrupting the numbering:
You type | Where Template:Example3 contains | You get |
{{Example3|Super|Mario|Brothers}}
|
{{{1}}} {{{2}}} {{{x}}}!
|
Super Mario {{{x}}}! |
{{Example3|Super|Mario|x=Brothers}}
|
Super Mario Brothers! | |
{{Example3|Super|x=Mario|Brothers}}
|
Super Brothers Mario! | |
{{Example3|Super|x=Mario|x=Brothers}}
|
Super {{{2}}} Brothers! | |
{{Example3|1=Super|2=Mario|=Brothers}}
|
Super Mario {{{x}}}! |
Please refer to the Templates Help page for a list of existing templates and their usage.