Guide:Wiki Maintenance: Difference between revisions

From Step Mods | Change The Game
 
(340 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- ############ TRANSCLUSIONS & CATEGORIES ############ -->
[[Category:Step Wiki Guides]]{{PageTitle|logo=delta|title=Step Wiki User Guide|subtitle=Step's Wiki Standards, instructions, and tips for wiki editing|author=Step Modifications|forumtid=5020}}{{TOC}}
{{TOC right}}[[Category:Guides]]
<!-- ########## END transclusions & categories ########## -->
<!-- ########### STANDARD GUIDES HEADER FORMAT ############ -->
''The STEPwiki editing guide for editors -- by S.T.E.P. Team''


[http://forum.step-project.com/topic/5020-the-step-wiki/ '''GUIDE FORUM THREAD''']
This is a reference for editing the Step Modifications Wiki, which is designed to be maintained by the community. However, only registered members of the community have privileges to edit the wiki, so it's essential to [https://stepmodifications.org/forum/register/ sign up] and become a member. Once a member, log in to the wiki to start contributing. Additional general information is linked where it's relevant, and links to the most [[#Wiki_Reources|valuable references]] for using Mediawiki and Semantic Mediawiki are provided.
----
{{Construction|size=65|text=This page is incomplete but all info is relevant!}}
<br />


<!-- ######### END standard guide header format ########## -->
'''Deprecated Content'''
Definition of a wiki:
* [[:Category:Deprecated Guides|deprecated guides]]
<blockquote>"a website or database developed collaboratively by a community of users, allowing any user to add and edit content."</blockquote>


The STEP wiki is intended to be community-driven; although, all STEP wiki contributions have originated from only a handful of STEP site contributors. Our goal is to make it easy for all community members to contribute and help us maintain existing content and develop new content. The first step in doing that is to make our user base more comfortable with the idea of working on a wiki and thinking in wiki terms.<br />
'''Primary Wiki Editors/Maintainers'''<br>
Always looking for others!
* [https://stepmodifications.org/forum/user/8-z929669/ z929669]
* [https://stepmodifications.org/forum/user/1198-doubleyou/ DoubleYou]
* [https://stepmodifications.org/forum/user/326-techangel85/ TechAngel85]


===Editing Tips ===
'''Recently-Active Contributors'''
I moved this section from the Citizenship Guide, so it should be more properly integrated into this page content. Just straight pasting for now so we have it here. Feel free to integrate it! ~[[User:z929669|z929669]] [[File:Ixian_Insignia.png|20px|link=User:z929669]] [[User talk:z929669|Talk]] 18:05, January 4, 2015 (EST)
: https://stepmodifications.org/wiki/Special:ActiveUsers


A wiki is simply an integrated assemblage of articles (i.e., pages) containing information that usually links to other wiki pages (i.e., articles). Every internal wiki link points to another page. If the link is blue, the page exists, and if it is orange, the page is referenced, but has not been created. Feel free to click on orange links and create the page by adding something relevant and saving.
== Navigation & Tools ==
* The wiki '''search bar''' is located at the bottom right of the browser window; however, can be found in the Wiki drop-down menu at the top of the page as well. Use this to find just about anything quickly.
[[File:StepWikiNavbar.png|932px|frameless|border]]
* From the Header bar at top, select '''WIKI > Recent Changes''' to get a look at the most recent activity on the wiki. This is often the most convenient way to find a project of interest (and to see who may be fiddling around lately).
* {{Fc|instruction|Forum}} - Link to the Step forum
* Select '''TOOLBOX > SPECIAL PAGES''' and towards the bottom of the first list under "Maintenance Reports", there are links to "Wanted" pages. This means that someone has created an article with reference to information that is not yet defined (i.e., by creating the page).
* {{Fc|instruction|Gamespaces}} - Links to game-specific home pages
* The simplest way to get started on the wiki is to begin by playing around under your personal user page:
* {{Fc|instruction|Game Guides}} - Links to official game modding guides
:<code>wiki.step-project.com/User:Username</code>
* {{Fc|instruction|Navigation}} - Links to important reference pages ... and others:
* Editing and general preferences can be set by user ... click on your user name at top-right in the header bar.
** <i class="fas fa-house-chimney salmontx"></i> {{Fc|instruction|Home}} - The Step wiki "Main Page"
*When editing a page, be sure to fill in the summary box below the editing space with what changes you made before saving that page. This summary will be logged on the Recent Changes page and helps everyone to know what exactly was added/changed with a given edit.
** {{Fc|instruction|Step Portal}} - Entryway for mod and guide maintenance
** {{Fc|instruction|Games}} - The [[:Category:Games|Games Category Tree]] providing an overview of all [[Property:Game|supported games]]
** {{Fc|instruction|Guides}} - The [[:Category:Guides|Guides Category Tree]] (top-level)
** {{Fc|instruction|Recent Changes}} - View the most recent edits to the wiki
** {{Fc|instruction|Random Page}} - Loads a random page on the wiki
** {{Fc|instruction|Help}} - General Mediawiki reference
** {{Fc|instruction|Contact Us}} - Links to Step's contact information
** {{Fc|instruction|Search}} - Links to [[Special:Search]], where one can refine search parameters
* <i class="fas fa-toolbox salmontx"></i> {{Fc|instruction|Tools}} - Several [https://www.mediawiki.org/wiki/Help:Navigation#Toolbox standard tools] for finding information related to the current page as well as the [https://www.mediawiki.org/wiki/Help:Navigation#User_links Page information] tool. The [https://www.semantic-mediawiki.org/wiki/Help:Browsing_interfaces#Semantic_browsing Browse properties] tool is provided by [https://www.semantic-mediawiki.org/wiki/Help:User_manual Semantic Mediawiki], which is an important extension driving the functionality of this wiki.
* <i class="fas fa-pen-to-square salmontx"></i> {{Fc|instruction|Edit}} - Edit current page (if this icon is absent, the current user does not have permission to edit the page).
* <i class="fas fa-ellipsis-h salmontx"></i> - Maintenance links within the context of the current page. Similar to <i class="fas fa-toolbox"></i> Tools:
** <{{Fc|instruction|Namespace}}> - Only appears when in 'edit' mode. This links back to the page being edited.
** {{Fc|instruction|Discussion}} - Link to the 'Talk' page of the current page
** {{Fc|instruction|History}} - Link to view the edit history for the page
** {{Fc|instruction|Delete}} - Link to delete the page (if current user has permission to do so)
** {{Fc|instruction|Move}} - Link to move (rename) the page (if current user has permission to do so)
** {{Fc|instruction|Protect}} - Link to protect the page by restricting who can edit (if current user has permission to do so)
** <i class="far fa-eye salmontx"></i> {{Fc|instruction|Watch}} / <i class="far fa-eye-slash salmontx"></i> {{Fc|instruction|Unwatch}} - Enables current user to keep tabs on edits to the page via [[Special:Watchlist]]
** {{Fc|instruction|Refresh}} - Link to refresh (soft edit) the current page (if current user has permission to do so)
* <i class="fas fa-user salmontx"></i> - Several [https://www.mediawiki.org/wiki/Help:Navigation#User_links User-specific tools]
* {{Fc|instruction|Search}} - Quick search for finding pages. Use tools under [[Special:SpecialPages#Lists_of_pages]] for more focused searches.


==Wiki Basic Resources==
== General Information ==
=====Mediawiki=====
=== Writing Style ===
: [https://www.mediawiki.org/wiki/MediaWiki '''Home Page'''] - Entry point to lots of relevant info, including reference and help as well as latest development and news
When writing content outside of the [[#User_Namespace|user-space]], use the [https://en.wikipedia.org/wiki/Grammatical_person third-person writing style]. Other writing styles are acceptable, depending upon the particular context of the article; however, any factual content created to serve as an informative article (e.g., guides and references) should be written in the third-person. This perspective is easier to understand, more professional, and not as prone to degenerating into multiple first and/or second-person perspective related reversions. Any content existing outside the user-space not written in the third-person should be corrected accordingly. Examples:
: [http://www.mediawiki.org/wiki/Help:Contents '''Help'''] - MediaWiki's Help directory
* {{Fc|red|First-person: "<s>I first must click on the 'edit' button ...</s>"}}
: [http://en.wikipedia.org/wiki/Help:Cheatsheet '''Cheat Sheet'''] - List of the most commonly used mediawiki markup
* {{Fc|red|Second-person: "<s>You first must click on the 'edit' button ...</s>"}}
: [http://en.wikipedia.org/wiki/Help:Table '''Tables'''] - Wikitext syntax for tables
* {{Fc|green|Third-person: "First, click on the 'edit' button ..."}}
: [http://en.wikipedia.org/wiki/Help:Magic_words '''Magic Words'''] - Behavior switches and variables
*: '''NOTE:''' ''Addressing "who" is, more than often, redundant. Please be succinct to avoid creating wordy statements:''
: [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions '''Parser Functions'''] - Functions meant to provide more advanced logic
*:: Example: {{Fc|red|"First, <s>users should</s> click on the 'edit' button ..."}}
*:: Example: {{Fc|green|"First, click on the 'edit' button ..."}}


=====Semantic Mediawiki=====
=== Notating Edits ===
: [https://semantic-mediawiki.org/ Semantic Mediawiki] - Documentation about Semantic MediaWiki ()see lower portion of middle frame).
When editing a page, remember to add a brief descriptive comment in the Summary box below the editor before saving. This summary will be logged on the [[Special:RecentChanges|Recent Changes]] page and helps everyone to know what exactly was added/changed. Discussions of major changes to content should occur on the page's 'Discussion' forum (if linked) or 'Talk' page. It's also appropriate to contact the page's creator/editor and/or a staff member and point them to the discussion when proposing content or stylistic changes.
: [https://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms] - Documentation about Semantic Forms, which provide a form-based interface for maintaining relevant SMW pages and content.
: [https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs Semantic Forms Inputs] - An extension for Semantic Forms


=====The STEP Wiki=====
{{Fc|instruction|Simple corrections to grammar don't require notification or discussion on the Forums or Talk pages.}} For these types of small edits, it's appropriate to tick the '''This is a minor edit''' checkbox. Doing so will prevent the edit from showing in the Recent Changes list, unless the list is filtered to show Minor Edits.
: [[Special:SpecialPages|'''(top bar) TOOLBOX --> SPECIAL PAGES''']] - Links to all kinds of information about this wiki
: [[Special:RecentChanges|'''(top bar) WIKI --> RECENT CHANGES''']] - Links to all of the most recent edits on this wiki
: [[Special:Version|'''Software used on this wiki''']] - Software and versions with links to documentation.


=====HTML and CSS=====
=== Table of Contents ===
: [http://www.w3schools.com/css/ '''CSS Resource'''] - Not all info on this page is relevant but it contains various keywords that can be used
Include a table of contents (TOC) on long pages. Step uses a template for this that adds a styled TOC that is compatible with the wiki themes. See the [[Guide:Wiki_Maintenance#Wiki_Templates|Templates section]] for more details.
: [http://www.w3schools.com/html/ '''HTML Resource'''] - Not all info on this page is relevant but it contains various keywords that can be used


===Need Help?===
=== Citations ===
Private message one of these guys if you need some sort of help with writing on the wiki.<br />
It's expected that any information added to the wiki is cited where applicable as in [[Project:About|this example]]. Citations only apply when providing evidence or advice that is not well known or not obviously subjective or is speculative. Feel free to write what ''might'' or ''might not'' be factual as long as it's obvious to the reader, but qualify (cite) what is ''intended'' to be factual. See the [[Guide:Wiki_Maintenance#Wiki_Templates|Templates section]] for more details.


====Primary Wiki Editors/Maintainers====
=== Moderated Content ===
Always looking for others!
Many pages of content are considered "Moderated Content". This means they are either watched more closely than other pages or editing the page restricted via user groups. Below are the different types of Moderated Content found on the wiki.
* [http://forum.step-project.com/user/8-z929669/ z929669]
* [http://forum.step-project.com/user/1198-doubleyou/ DoubleYou] (MO & STEP Guides primarily)
* [http://forum.step-project.com/user/326-techangel85/ TechAngel85]


====Recently active wiki editors====
: '''Namespaces''' | There are several namespaces on the Wiki that are restricted to specific staff user groups. These include:
* http://wiki.step-project.com/Special:ActiveUsers
:* Project
:* STEP
:* Template


==STEP Wiki Best Practices==
: '''Guides''' | The wiki is home to many [[:Category:Guides|guides]] that are considered official content, as such, these guides are also "Moderated Content". Step exerts a level of control over this content, which ensures the general look and feel of the content is maintained. Any major changes to these guides will be posted to their topics on the Forums.
===General Edits===
* Please don't use heading code to make text bigger or bolder. Instead use wiki markup and/or the [[Template:Fs|Fs]] template. Headings are for ... <i>headings</i>
* Note that the wiki css controlling typography and text color has been tweaked recently. It is now best practice to use <code><nowiki>{{fc|#ddd|}}</nowiki></code> rather than <code><nowiki>{{fc|white|}}</nowiki></code> for text highlighting (i.e., skim text), because white is just too bright against the new, slightly darker body font without blaring too far past the brightened heading fonts.
* More to come ...


===Guides===
=== User Namespace ===
This wiki has many [[Category:Guides|guides]], and they should all have the same general look and feel. Following are some basics ...
The simplest way to get started on the wiki is to begin by playing around under the User namespace: <code><nowiki>https://stepmodifications.org/wiki/User:Username</nowiki></code>


====Guide Standard Header====
Registered members can do anything they desire within their User namespace, as long as it's in accordance with the guidelines dictated within the [[Guide:STEP_Community_Citizenship|Community Citizenship Guide]]. Step encourages members to edit their user page by adding some information about themselves for others or a link to their Nexus or forum profile is a good start.
Our guides (aside from the main STEP Guide) maintain a consistent look in part by following a specified formula. Please use the following format (placed just after TRANSCLUSIONS & CATEGORIES [http://wiki.step-project.com/Guide:The_STEP_Wiki#Categories header format]):
<pre>
<!-- ########### STANDARD GUIDES HEADER FORMAT ############ -->
''Brief guide description here -- by Author(s) here''


[<forum thread URL> '''GUIDE FORUM THREAD''']
{{fc|instruction|Please avoid editing another members' User pages without permission}}; doing so is a breach of etiquette. This does not apply to User_talk pages where it is expected that others will leave comments.
----
Add any relevant Notification Templates here
<br />


<!-- ######### END standard guide header format ########## --></pre>
=== Advanced Topics ===
The remainder of this guide covers wiki basics. More advanced topics are provided on an ancillary page to cover those topics in more detail: '''[[Guide:Wiki_Maintenance/Advanced|Advanced Editing Topics]]'''


====Writing Style====
== Page Management ==
Guides in particular should be written in the third person. This is more clear and professional and not as prone to degenerating into a mess of first-second person reversions:
=== Creating Pages ===
*: {{fc|#ff7878|First person: "I first must click on the 'edit' button ..."}}
Creating a new page on a wiki is not immediately intuitive to the novice wiki editor; however, it's very simple once the method is understood. Regardless of where on the Wiki a new page is being created, the method is the same. Navigate to any URL by typing in any string after <code><nowiki>https://stepmodifications.org/wiki/</nowiki></code> and hitting the <kbd>Enter</kbd> key. If the page does not exist, a message will appear that includes an option to "create this page". To create a new page on the wiki in the User namespace:
*: {{fc|#ff7878|Second person: "You first must click on the 'edit' button ..."}}
# In the URL type <code><nowiki>https://stepmodifications.org/wiki/User:YourUserName</nowiki></code>
*: {{fc|#78c888|Third person: "First, click on the 'edit' button ..."}}
# Hit <kbd>Enter</kbd> to load the page.
# To create the page, either click the "create this page" link in the displayed text or click the <i class="fas fa-asterisk hltx p-1"></i> icon on the navigation bar. Note that to save, there must be content in the editor box.


====Instructions====
=== Edit/Delete/Move/Rename ===
We need to be consistent in how we instruct a user to perform tasks. Follow these guidelines when writing instructions:
==== Delete a Page ====
* When instructing a user to 'click' or 'select' any UI element: use the {{tl|ui}} template, as in the following example:
From time to time maintenance warrants the removal of pages, however, this shouldn't be a routine task. Users should be aware deleted content is not actually "deleted", but rather "archived". Thus, deleted pages can be restored. Pages are only truly deleted when old archives are purged during maintenance (performed a couple times a year...maybe). To delete pages:
**<code><nowiki>Click {{ui|Edit}}, then right click {{ui|some UI element}} ...</nowiki></code>
# Click on the  <i class="fas fa-ellipsis-h hltx"></i> icon on the navigation bar.
**Click {{ui|Edit}}, then right click {{ui|some UI element}} ...
# Click {{ui|Delete}}
* When referring to messages in the UI: Italicize the UI message, and do not highlight it in any other way.
# One the page that loads, select a reason for deletion.
* In-line headings: If you have several bullets or paragraphs in a row which each refer to a certain topic, you may use bold, peach-colored formatting to highlight the topic of each bullet or paragraph, as in the following example:
# Enter additional information, if applicable.
**<code><nowiki>{{fc|#e6b693|'''First Topic Name.'''}} This paragraph explains the first topic. Other paragraphs will have their own in-line headers and explanations.</nowiki></code>
# Click the {{ui|Delete page}} button.
**{{fc|#e6b693|'''First Topic Name.'''}} This paragraph explains the first topic. Other paragraphs will have their own in-line headers and explanations.
**[http://wiki.step-project.com/Guide:DDSopt#Main_Menu_Setting_Descriptions Working Example]


====Text Coloring====
==== Move/Rename a Page ====
For readability and consistency, use the {{tl|fc}} template with one of the following color codes when applicable (see the [[Template:fc|template page]] for more info):
Moving and renaming a page is the same process. This is because you can only rename a page by moving. Whenever pages are moved, a redirect should always be created. The redirect allows any links linking to the old page to be redirected to the new page, seamlessly. To move/rename a page:
* '''#9eb8ee''' ({{fc|#9eb8ee|blue-ish}}) - Text relating to additions, enhancements, or confirmations.
# Click on the  <i class="fas fa-ellipsis-h hltx"></i>  icon on the navigation bar.
* '''#78c888''' ({{fc|#78c888|green-ish}}) - Text relating to fixes, or functional/relevant things.
# Click {{Ui|Move}}
* '''#ff7878''' ({{fc|#ff7878|red-ish}}) - Text relating to removals, or non-functional/irrelevant things.
# On the form under ''New title'', select the namespace from the dropdown box (this typically matches the original namespace).
* '''#c0c840''' ({{fc|#c0c840|yellow-ish}}) - Text relating to issues or unknowns.
# Under that within the input box, type the page name of the page.
* '''#f09800''' ({{fc|#f09800|orange-ish}}) - Text relating to changes/modifications.
#: This box is where users can rename the content, if desired. Either type the same page name or provide a new one.
* '''#e6b69e''' ({{fc|#e6b69e|peach-ish}}) - The important part of instruction text, or highlight an in-line header (see [[#Instructions|Instructions]], above).
# Within the input box under ''Reason'', provide a short explanation why the page is being moved.
* '''#ddd''' ({{fc|#ddd|white-ish}}) - Generally important text (not an in-line header or instruction-related).
# Ensure the boxes are ticked for '''Move associated talk page''' and '''Leave a redirect behind'''.
# Click the {{Ui|Move page}} button.


===Categories===
==== Categories ====
Categories are used to topically associate wiki pages. They also provide a simple means to navigate and view associated pages. Simply scroll to the bottom of any page and follow the category links to view more pages within that same category. Assigning a page to a category is as simple as adding <code>[[Category:<whatever>]]</code> when editing the page. Categories can be referenced on a page without adding that page to the referenced category by adding a colon to the beginning of the code as such: <code>[[:Category:<whatever>]]</code>. Wiki editors are asked to:
Categories are used to topically associate wiki pages. They also provide a simple means to navigate and view associated pages. Simply scroll to the bottom of any page and follow the category links to view more pages within that same category. Assigning a page to a category is as simple as adding <code>[[Category:<CatName>]]</code> when editing the page. Categories can be referenced on a page without adding that page to the referenced category by adding a colon to the beginning of the code as such: <code>[[:Category:<CatName>]]</code>. Users are asked to:
* Read about [https://www.mediawiki.org/wiki/Help:Categories how to use categories].
* Read about [https://www.mediawiki.org/wiki/Help:Categories how to use categories].
* Assign pages to the proper [[Special:Categories|existing categories]].
* Assign pages to the proper [[Special:Categories|existing categories]].
* Avoid creating new categories --leave that to the site admin. Just let one of the administrators know or post about it in the guide forum thread linked at the top of this page.
* Avoid creating new categories --leave that to the site admin. Just let one of the administrators know.
* Place the category code at the TOP of the page for consistency and to make it easy for other editors to find. Following is the standard format:
* Place the category code at the TOP of the page for consistency and to make it easy for other users to find.
<pre>
<!-- ############ TRANSCLUSIONS & CATEGORIES ############ -->
Add special templates, magic words, or categories here
<!-- ########## END transclusions & categories ########## -->
</pre>


===User pages===
=== Using Forms ===
This is the User "main page" ... and entry-way into the user's personal sandbox. Each user can do just about anything they want in here as long as in accordance with the rules dictated within the [[Guide:STEP_Community_Citizenship|STEP Community Citizenship Guide]]. Wiki editors are asked to:
Placeholder.
* Avoid editing a user's page without permission (not applicable to wiki administrators). While everyone can edit others' User: page, it is a breach of etiquette to do so.
* Edit the page and add some information about themselves for others ... even a link to another website or their forum profile is a good start.
* Other "Best Practices" for this wiki do not apply here ... User makes the call.


===Use of HeaderTabs===
== Mod Pages ==
Wiki guides should convert back over to the TOC method versus current HeaderTabs. HeaderTabs is still great for entry pages or other applicable content, but not so in the case of guides and similarly large pages with lots of content. Some guides now using HeaderTabs will need to be tweaked a bit in order to revert to TOC format in a 'nice' way, but all guide updates should be heading in that direction as time allows.  
Edits to mod pages default to the [https://www.mediawiki.org/wiki/Extension:Page_Forms Page Forms] editor, but the wiki editor can also be accessed under the ellipse to the right of the edit asterisk on mod pages. The wiki editor should only be used by those who understand the format expected by [[:Template:Mod]].
{{Alert|text=Mod page 'Recommendations' are transcluded into ModGroup tables of mod-build guides, so special conventions apply to markup and HTML syntax used on these pages.}}


====HeaderTabs Enabled====
{{Fc|instruction|When adding/editing Mod Recommendations ...}}
It is possible to link to tabs but not to sections beneath tabs. Linking to sections underneath tabs is not necessary when HeaderTabs is used 'properly' ... that is, when the tab content does not require much vertical space and one does not need to scroll down to see section headings. However, vertical space relies the dimensions of the browser window, which is in turn constrained by the display resolution, so any page using HeaderTabs should optimally exhibit this behavior. The problem is that to do so means that page organization must accommodate appearance first and information flow second, so large, complex pages do not lend themselves well to HeaderTabs format. Similarly, HeaderTabs also encourages misuse of headings (i.e., use of headings for typographical ''appearance'' rather than ''information'' management) ... there is a reason that Wikipedia and all of the major wiki sites default to TOC. Therefore, HeaderTabs should be limited to entry pages or relatively high-level pages and not extended to guides and other information references.
* Keep it basic and don't get fancy. The primary purpose of these pages is NOT to be pretty but rather to convey info on guides.
* DO NOT use wiki or HTML headings, as they will contribute to guide ToC. Instead use:
*: <code><nowiki><div class="mpheading">headingText</div></nowiki></code>
* DO NOT use Template calls other than [[:Template:Fomod]]. They contribute drastically to the [https://en.wikipedia.org/wiki/Wikipedia:Template_limits wiki transclusion limit] of guide pages.
* DO NOT use <code><nowiki><pre></nowiki></code> tags to show multi-line code examples. Wiki and PHP do not play nicely together when transcuding this syntax, resulting in an error on the guide. Instead use:
*: <syntaxhighlight lang="HTML">
<p class="mpcode">My multi-line
code
snippet
</p>
</syntaxhighlight>


[http://wiki.step-project.com/HeaderTabs_Functionality#Using_DDSopt Link to HeaderTabs Tab]
== Formatting ==
<pre>[http://wiki.step-project.com/HeaderTabs_Functionality#Using_DDSopt]</pre>
This will hold the do's, don'ts, and good habits regarding formatting.
[http://wiki.step-project.com/HeaderTabs_Functionality#File.2FPath_Browser_Toolbar Link to HeaderTabs Section (beneath a tab)] (''Note that the link does not navigate to the intended tab section unless already on that tab'')
<pre>[http://wiki.step-project.com/HeaderTabs_Functionality#File.2FPath_Browser_Toolbar]</pre>


====HeaderTabs Disabled====
=== Font Colors and Sizes ===
All information is immediately accessible in a hierarchical format from the TOC the moment the page loads. This is fantastic for guides and other info references, but it is not desirable for small or relatively simple pages with few sections and subsections. HeaderTabs format is much better in such cases.
To maintain optimal compatibility across site themes, templates are utilized to maintain control over the font colors and sizes. See [[Guide:Wiki_Maintenance#Templates|Templates section]] for details.


[http://wiki.step-project.com/TOC_Functionality#File.2FPath_Browser_Toolbar Link to Normal Page Section]
=== Instruction Sets ===
<pre>[http://wiki.step-project.com/TOC_Functionality#File.2FPath_Browser_Toolbar]</pre>
Follow these guidelines when writing instructions:
* Instructing to 'tick', 'click, or 'select' any UI element - Use [[:Template:Ui]]:
*: <code><nowiki>Click {{Ui|this}}, then right click {{Ui|that}}, and select {{Ui|OK}}</nowiki> </code> <i class="fas fa-long-arrow-alt-right"></i> Click {{Ui|this}}, then right click {{Ui|that}}, and select {{Ui|OK}}
* When referring to messages in the UI: ''Italicize the UI message'', and do not highlight it in any other way.
* Inline headings - When the first text in a list or a paragraph is acting as a heading (see "Top Menu" tab in this guide):
*: <code><nowiki>{{Fc|ilheading|InlineHeading}}</nowiki></code> <i class="fas fa-long-arrow-alt-right"></i> {{Fc|ilheading|InlineHeading}}


====HeaderTabs Summary====
=== Magic Words ===
Use HeaderTabs when...
Magic words are special 'text strings' that are used by the wiki software to return values or functions. A full description of them can be found on the [https://www.mediawiki.org/wiki/Help:Magic_words MediaWiki website.]
* The page is relatively simple
 
* When primary topics (H1 headings) are minimal ... say, 5 tabs or fewer
==== Common Magic Words ====
* Tab content fits in a single 1280x1024 window without needing to scroll down
: {| class="wikitable"
* The page is an entryway into related content
! <nowiki>__NOTOC__</nowiki>
| Hides the table of contents (TOC).
|-
! <nowiki>{{FULLPAGENAME}}</nowiki>
| Prints the Namespace and full page Title (including all subpage levels).<br>'''Result:''' <code>Guide:DDSopt/DDSopt_INI</code>
|-
! <nowiki>{{NAMESPACE}}</nowiki>
| Prints the Namespace.<br>'''Result:''' <code>Guide</code>
|-
! <nowiki>{{PAGENAME}}</nowiki>
| Prints the full page Title (including all subpage levels) without the namespace.<br>'''Result:''' <code>DDSopt/DDSopt_INI</code>
|-
! <nowiki>{{SUBPAGENAME}}</nowiki>
| Prints the subpage Title of the current page. If not a subpage, defaults to <nowiki>{{PAGENAME}}</nowiki> behavior.<br>'''Result:''' <code>DDSopt_INI</code>
|}


... else, please avoid using HeaderTabs in favor of the TOC method described above.
=== Symbols ===
Special characters and symbols can be displayed using [https://www.toptal.com/designers/htmlarrows/symbols/ character codes] as demonstrated here with the copyright symbol. Unicode is not supported.
* {{Fc|salmon|Hex code}} - <code>&amp;#xa9;</code> <i class="fas fa-long-arrow-alt-right"></i> &#xa9;
* {{Fc|salmon|HTML code}} - <code>&amp;#169;</code> <i class="fas fa-long-arrow-alt-right"></i> &#169;
* {{Fc|salmon|HTML entity}} - <code>&amp;copy;</code> <i class="fas fa-long-arrow-alt-right"></i> &copy;
* [https://fontawesome.com/v5.15/how-to-use/on-the-web/referencing-icons/basic-use {{Fc|salmon|Font Awesome}}] - <code><<nowiki />i class="far fa-copyright"></<nowiki />i></code> <i class="fas fa-long-arrow-alt-right"></i> <i class="far fa-copyright"></i>


{{Warning Small|text=Don't use [PAGE TOOLS] &#8594; [EDIT EXTERNAL] That feature is deprecated in MediaWiki and requires a lot of user configuration to function correctly.}}
=== URL Links ===
==== Internal ====
By definition, [https://www.mediawiki.org/wiki/Help:Links#Internal_links internal wiki links] point to another page on the wiki. They use the following format: <code><nowiki>[[Namespace:PageName#HeaderTitle|Link Text]]</nowiki></code>
* '''Namespace''' - the namespace the page resides in as found in the page's URL
* '''PageName''' - the name of the page as found in the page's URL
* '''HeaderTitle''' <sup>(optional)</sup> - directs a link to a specific header within the page, commonly called anchors. Replace '''HeaderTitle''' with the header name.
* '''|Link Text''' <sup>(optional)</sup> - the link's displayed text. If not included, either the '''PageName''' will display, or '''HeaderTitle''', when present.
* Note the syntax used to build the link between each element, which is not optional when the element is present: <code><nowiki>[[:#|]]</nowiki></code>
A completed link to this section would look as such: <code><nowiki>[[Guide:Wiki_Maintenance#URL_Links|How to create links!]]</nowiki></code>


=== Page Management ===
===== Special Page Links =====
How to create, delete, edit and manage a wiki page.
Since the syntax for applying categories and other elements to pages is the same as the internal link syntax, it must include a special escape character ( ''':''' ) at the beginning of the link:
==== Creating a Page ====
* <code><nowiki>[[:Category:CategoryName|Link Text]]</nowiki></code>
To create you own page that is in your User namespace
* <code><nowiki>[[:Template:PageName|Link Text]]</nowiki></code>
#Make sure that you are logged into the wiki by looking at the top right hand corner of the page.
#In the URL type "http://wiki.step-project.com/User:<username>/<subpage>
#In the <username> field type YOUR user name
#In the <subpage> field type the title of the page.
#Then in the Top Right hand corner of the page click on the [PAGE TOOLS] button and select CREATE
#*To create a page you must have something on the page to Save it.
#*Some writers have found that typing "Hi" or "== Introduction =="is good enough to get things moving.
<br />


==== Deleting a Page ====
===== Red Links =====
X
If the link is blue, the page exists. If a link is red-orange (referred to generally as "red links"), the page has not been created. Feel free to click on red links to create their corresponding pages by adding something relevant and saving. [[Special:WantedPages|Wanted Pages]] is a special page that houses a list of red-link pages that have been referenced from other pages.
<br />


=== Magic Words ===
==== External ====
Magic words are special 'text strings' that are used by the wiki software to return values or functions. A full description of them can be found on the [http://www.mediawiki.org/wiki/Help:Magic_words MediaWiki website.]
[https://www.mediawiki.org/wiki/Help:Links#External_links External wiki links] point to locations outside the wiki's domain. They use the following format: <code><nowiki>[URL Link Text]</nowiki></code>
* '''URL''' -  the address to the external page
* '''Link Text''' <sup>(optional)</sup> - the link's displayed text. If not included, the link will be displayed as a sequential, numbered link. When multiple links exist on a page without '''Link Text''', they will be numbered in the order listed on the page: <code><nowiki>[1], [2]...[5]</nowiki></code>
A completed link to the Step Forums would look as such: <code><nowiki>[https://stepmodifications.org/forum/ Visit the Step Forums!]</nowiki></code>
 
== Wiki Templates ==
=== Templates Explained ===
Templates are standard wiki pages whose content is designed to be transcluded (embedded) inside other pages. Step utilizes templates for creating standardized elements (alert boxes, galleries, side boxes, spoilers, table of contents, etc.), which are used across the wiki for all content. Templates are also used for creating some of our framework and guide structure. Since they are essential for our guides and basic website elements, templates have restricted editing rights; only certain staff groups can edit these pages. However, all users can utilize the templates for their content and are encouraged to do so where appropriate.
 
Templates can be found from the navigation "Tools" menu by clicking: ''Special Pages''  <i class="fas fa-long-arrow-alt-right"></i>  scroll down to ''Page Forms'' heading  <i class="fas fa-long-arrow-alt-right"></i>  [[Special:Templates|''Templates'']]
 
=== Common Templates ===
Some of the more common Templates that are used on the STEP wiki are:
* [[:Template:Alert]] | creates a large, centered alert box
* [[:Template:AlertSmall]] | creates a small, inline alert element
* [[:Template:clear]] | used to clear floating elements
* [[:Template:Fomod]] | creates a graphical representation of FOMOD instructions
* [[:Template:GallerySimple]] | adds images to the page in a standardized format and allows the creation of simple galleries
* [[:Template:Icon]] | places a small icon for specific uses
* [[:Template:Quotation]] | creates a stylized blockquote
* [[:Template:Sidebox]] | creates a stylized box to the side of the content
* [[:Template:Spoiler]] | creates an element with hidden content that reveals when a title is clicked
* [[:Template:Video]] | embeds a YouTube video on the page


==== Common Magic Words ====
=== Citations ===
X
Citations only apply when providing evidence or advice that is not well known, not obviously subjective or is speculative. The following extensions are installed to aid in citing:
<br />
* [https://www.mediawiki.org/wiki/Extension:Cite Cite] makes adding inline citations and references easy.
* [https://www.mediawiki.org/wiki/Extension:CiteThisPage CiteThisPage] adds a link in the <i class="fas fa-toolbox"></i> '''Tools''' navigation bar menu for citing a current page.


=== Symbols ===
=== Font Color and Size Templates ===
Search for HTML symbols and use a code like "#8594;" with an ampersand "&" in front of it to produce "&#8594;"
To maintain optimal compatibility across site themes, use:
* [[:Template:Fc]] | modifies font color to a pre-defined color
* [[:Template:Fs]] | modifies font size. Accepts any valid CSS.


=== Formatting Basics ===
Custom CSS classes are available for coloring text, backgrounds, and borders. See the [[Project:SiteColorPallet|Step Color Pallet]] for details about using these classes.
This will hold the dos, donts and good habits with formatting but be focus on where to look for the info.<br />
Like the cheatsheet...


=== Inline HTML and CSS ===
=== PageTitle Template ===
I believe that is what the span style tag is. This will give some common usages that are on step but will will guide the user to a link for what styles are valid [http://www.w3schools.com/css/css_text.asp like such]
[[:Template:PageTitle]] is used to create a consistent and standardized title header at the top of the page. This template must be called at the beginning of the first line in the editor to avoid creating a block of white space before the title (exception: "[https://www.mediawiki.org/wiki/Help:Magic_words#Behavior_switches behavior switches]" and Categories can be added before this template call).


=== Using Templates ===
=== Table of Contents ===
Templates can be found in [TOOLBOX] &#8594; [SPECIAL PAGES] &#8594; [Templates]<br />
Include a table of contents (TOC) on long pages. Step provides a template that floats a styled TOC to the right of the page and is compatible with the wiki themes. To include a TOC use the following template: [[:Template:TOC]]
[[Special:Templates|Here is a direct link]]


Some of the more common Templates that are used on the STEP wiki are:
The TOC template will appear on the page at the position the template is placed. Therefore, it's possible to have elements (such as an Alert) above the TOC. In general, '''TOC''' template should be placed directly after the '''PageTitle''' template or categories.
{{notice|text=The code for this is: '''<nowiki>{{notice|text=text for the notice}}</nowiki>'''}}
{{warning|text=The code for this is: '''<nowiki>{{warning|text=text for the warning}}</nowiki>'''}}


Some are used for links, either to other pages in the current wiki or to outside pages. The following is a link to a chapter in the current document that also has a 'tabbed' header, such as the [http://wiki.step-project.com/Guide:Mod_Organizer Mod Organizer wiki]:
== DO NOT ==
<pre>{{#switchtablink:Profiles|Profiles}}</pre>
* '''DO NOT''' use inline styling like the following: <code><nowiki><span style="color: #ff0"></span></nowiki></code>
*: Instead use [https://www.w3schools.com/bootstrap4/bootstrap_ref_all_classes.asp Bootstrap] and custom CSS classes (see [[Project:Site Color Palette|the site color palette]] for the available classes): <code><nowiki><span class="orangetx"></span></nowiki></code>
* '''DO NOT''' use heading tags ( <code><nowiki><h2></h2></nowiki></code> ) to make text bigger or bolder.
** Instead use [https://www.mediawiki.org/wiki/Help:Formatting wiki markup] and/or the [[:Template:Fs|Font Size Template]].


YouTube videos can also be linked to with code like this:
== Resources ==
<pre>{{Video|j4ZQpzf_iAE|Mod Organizer: Introduction (by Gopher)|Gopher Explains Mod Organizer}}</pre>
=== Wiki Resources ===
Here the magic word '''Video''' is read as https://www.youtube.com/watch?v= and '''j4ZQpzf_iAE''', the YouTube address for that specific video, is appended to the YouTube code to provide a valid address. Clicking that link will display a popup window of that video file.
* The Wiki's [https://stepmodifications.org/forum/forum/15-wiki/ forum topic].


=== Using Forms ===
==== Mediawiki ====
Placeholder.
: [https://www.mediawiki.org/wiki/MediaWiki '''Home Page'''] - Entry point to lots of relevant info, including reference and help as well as latest development and news
: [https://www.mediawiki.org/wiki/Help:Contents '''Help'''] - MediaWiki's Help directory
: [https://en.wikipedia.org/wiki/Help:Cheatsheet '''Cheat Sheet'''] - List of the most commonly used mediawiki markup
: [https://en.wikipedia.org/wiki/Help:Table '''Tables'''] - Wikitext syntax for tables
: [https://en.wikipedia.org/wiki/Help:Magic_words '''Magic Words'''] - Behavior switches and variables
: [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions '''Parser Functions'''] - Functions meant to provide more advanced logic


== Wiki Development ==
==== Semantic Mediawiki ====
Placeholder.
: [https://semantic-mediawiki.org/ Semantic Mediawiki] - Documentation about Semantic MediaWiki ()see lower portion of middle frame).
: [https://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms] - Documentation about Semantic Forms, which provide a form-based interface for maintaining relevant SMW pages and content.
: [https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs Semantic Forms Inputs] - An extension for Semantic Forms


=== Creating Templates ===
==== The Step Modifications Wiki ====
Placeholder.
: (top bar) '''TOOLBOX''' > '''[[Special:SpecialPages|SPECIAL PAGES]]''' - Links to all kinds of information about The Wiki.
: (top bar) '''WIKI''' > '''[[Special:RecentChanges|RECENT CHANGES]]''' - Links to all of the most recent edits on The Wiki.
: '''[[Special:Version|Software used on this wiki''']] - Software and versions with links to documentation.


=== Creating Forms ===
=== HTML and CSS Resources ===
Placeholder.
: [https://www.w3schools.com/css/ '''CSS Resource'''] - Not all info on this page is relevant but it contains various keywords that can be used
: [https://www.w3schools.com/html/ '''HTML Resource'''] - Not all info on this page is relevant but it contains various keywords that can be used


== References ==
=== Need Help? ===
* [http://www.mediawiki.org/wiki/MediaWiki Visit the main Mediawiki site]. Read through the content and reference it often.
For help using this wiki, to offer up suggestions, or to report problems, post on the [https://stepmodifications.org/forum/forum/15-wiki-support/ Wiki Support forum], or private message one of us.
* [http://forum.step-project.com/forum/15-wiki/ The STEP Wiki forum]

Latest revision as of 05:31, October 5, 2023

Delta c.png

Step Wiki User Guide

Step's Wiki Standards, instructions, and tips for wiki editing

by: Step Modifications  | Forum Topic

This is a reference for editing the Step Modifications Wiki, which is designed to be maintained by the community. However, only registered members of the community have privileges to edit the wiki, so it's essential to sign up and become a member. Once a member, log in to the wiki to start contributing. Additional general information is linked where it's relevant, and links to the most valuable references for using Mediawiki and Semantic Mediawiki are provided.

Deprecated Content

Primary Wiki Editors/Maintainers
Always looking for others!

Recently-Active Contributors

https://stepmodifications.org/wiki/Special:ActiveUsers

Navigation & Tools[edit | edit source]

StepWikiNavbar.png

  • Forum - Link to the Step forum
  • Gamespaces - Links to game-specific home pages
  • Game Guides - Links to official game modding guides
  • Navigation - Links to important reference pages ... and others:
    • Home - The Step wiki "Main Page"
    • Step Portal - Entryway for mod and guide maintenance
    • Games - The Games Category Tree providing an overview of all supported games
    • Guides - The Guides Category Tree (top-level)
    • Recent Changes - View the most recent edits to the wiki
    • Random Page - Loads a random page on the wiki
    • Help - General Mediawiki reference
    • Contact Us - Links to Step's contact information
    • Search - Links to Special:Search, where one can refine search parameters
  • Tools - Several standard tools for finding information related to the current page as well as the Page information tool. The Browse properties tool is provided by Semantic Mediawiki, which is an important extension driving the functionality of this wiki.
  • Edit - Edit current page (if this icon is absent, the current user does not have permission to edit the page).
  • - Maintenance links within the context of the current page. Similar to Tools:
    • <Namespace> - Only appears when in 'edit' mode. This links back to the page being edited.
    • Discussion - Link to the 'Talk' page of the current page
    • History - Link to view the edit history for the page
    • Delete - Link to delete the page (if current user has permission to do so)
    • Move - Link to move (rename) the page (if current user has permission to do so)
    • Protect - Link to protect the page by restricting who can edit (if current user has permission to do so)
    • Watch / Unwatch - Enables current user to keep tabs on edits to the page via Special:Watchlist
    • Refresh - Link to refresh (soft edit) the current page (if current user has permission to do so)
  • - Several User-specific tools
  • Search - Quick search for finding pages. Use tools under Special:SpecialPages#Lists_of_pages for more focused searches.

General Information[edit | edit source]

Writing Style[edit | edit source]

When writing content outside of the user-space, use the third-person writing style. Other writing styles are acceptable, depending upon the particular context of the article; however, any factual content created to serve as an informative article (e.g., guides and references) should be written in the third-person. This perspective is easier to understand, more professional, and not as prone to degenerating into multiple first and/or second-person perspective related reversions. Any content existing outside the user-space not written in the third-person should be corrected accordingly. Examples:

  • First-person: "I first must click on the 'edit' button ..."
  • Second-person: "You first must click on the 'edit' button ..."
  • Third-person: "First, click on the 'edit' button ..."
    NOTE: Addressing "who" is, more than often, redundant. Please be succinct to avoid creating wordy statements:
    Example: "First, users should click on the 'edit' button ..."
    Example: "First, click on the 'edit' button ..."

Notating Edits[edit | edit source]

When editing a page, remember to add a brief descriptive comment in the Summary box below the editor before saving. This summary will be logged on the Recent Changes page and helps everyone to know what exactly was added/changed. Discussions of major changes to content should occur on the page's 'Discussion' forum (if linked) or 'Talk' page. It's also appropriate to contact the page's creator/editor and/or a staff member and point them to the discussion when proposing content or stylistic changes.

Simple corrections to grammar don't require notification or discussion on the Forums or Talk pages. For these types of small edits, it's appropriate to tick the This is a minor edit checkbox. Doing so will prevent the edit from showing in the Recent Changes list, unless the list is filtered to show Minor Edits.

Table of Contents[edit | edit source]

Include a table of contents (TOC) on long pages. Step uses a template for this that adds a styled TOC that is compatible with the wiki themes. See the Templates section for more details.

Citations[edit | edit source]

It's expected that any information added to the wiki is cited where applicable as in this example. Citations only apply when providing evidence or advice that is not well known or not obviously subjective or is speculative. Feel free to write what might or might not be factual as long as it's obvious to the reader, but qualify (cite) what is intended to be factual. See the Templates section for more details.

Moderated Content[edit | edit source]

Many pages of content are considered "Moderated Content". This means they are either watched more closely than other pages or editing the page restricted via user groups. Below are the different types of Moderated Content found on the wiki.

Namespaces | There are several namespaces on the Wiki that are restricted to specific staff user groups. These include:
  • Project
  • STEP
  • Template
Guides | The wiki is home to many guides that are considered official content, as such, these guides are also "Moderated Content". Step exerts a level of control over this content, which ensures the general look and feel of the content is maintained. Any major changes to these guides will be posted to their topics on the Forums.

User Namespace[edit | edit source]

The simplest way to get started on the wiki is to begin by playing around under the User namespace: https://stepmodifications.org/wiki/User:Username

Registered members can do anything they desire within their User namespace, as long as it's in accordance with the guidelines dictated within the Community Citizenship Guide. Step encourages members to edit their user page by adding some information about themselves for others or a link to their Nexus or forum profile is a good start.

Please avoid editing another members' User pages without permission; doing so is a breach of etiquette. This does not apply to User_talk pages where it is expected that others will leave comments.

Advanced Topics[edit | edit source]

The remainder of this guide covers wiki basics. More advanced topics are provided on an ancillary page to cover those topics in more detail: Advanced Editing Topics

Page Management[edit | edit source]

Creating Pages[edit | edit source]

Creating a new page on a wiki is not immediately intuitive to the novice wiki editor; however, it's very simple once the method is understood. Regardless of where on the Wiki a new page is being created, the method is the same. Navigate to any URL by typing in any string after https://stepmodifications.org/wiki/ and hitting the Enter key. If the page does not exist, a message will appear that includes an option to "create this page". To create a new page on the wiki in the User namespace:

  1. In the URL type https://stepmodifications.org/wiki/User:YourUserName
  2. Hit Enter to load the page.
  3. To create the page, either click the "create this page" link in the displayed text or click the icon on the navigation bar. Note that to save, there must be content in the editor box.

Edit/Delete/Move/Rename[edit | edit source]

Delete a Page[edit | edit source]

From time to time maintenance warrants the removal of pages, however, this shouldn't be a routine task. Users should be aware deleted content is not actually "deleted", but rather "archived". Thus, deleted pages can be restored. Pages are only truly deleted when old archives are purged during maintenance (performed a couple times a year...maybe). To delete pages:

  1. Click on the icon on the navigation bar.
  2. Click [Delete]
  3. One the page that loads, select a reason for deletion.
  4. Enter additional information, if applicable.
  5. Click the [Delete page] button.

Move/Rename a Page[edit | edit source]

Moving and renaming a page is the same process. This is because you can only rename a page by moving. Whenever pages are moved, a redirect should always be created. The redirect allows any links linking to the old page to be redirected to the new page, seamlessly. To move/rename a page:

  1. Click on the icon on the navigation bar.
  2. Click [Move]
  3. On the form under New title, select the namespace from the dropdown box (this typically matches the original namespace).
  4. Under that within the input box, type the page name of the page.
    This box is where users can rename the content, if desired. Either type the same page name or provide a new one.
  5. Within the input box under Reason, provide a short explanation why the page is being moved.
  6. Ensure the boxes are ticked for Move associated talk page and Leave a redirect behind.
  7. Click the [Move page] button.

Categories[edit | edit source]

Categories are used to topically associate wiki pages. They also provide a simple means to navigate and view associated pages. Simply scroll to the bottom of any page and follow the category links to view more pages within that same category. Assigning a page to a category is as simple as adding [[Category:<CatName>]] when editing the page. Categories can be referenced on a page without adding that page to the referenced category by adding a colon to the beginning of the code as such: [[:Category:<CatName>]]. Users are asked to:

  • Read about how to use categories.
  • Assign pages to the proper existing categories.
  • Avoid creating new categories --leave that to the site admin. Just let one of the administrators know.
  • Place the category code at the TOP of the page for consistency and to make it easy for other users to find.

Using Forms[edit | edit source]

Placeholder.

Mod Pages[edit | edit source]

Edits to mod pages default to the Page Forms editor, but the wiki editor can also be accessed under the ellipse to the right of the edit asterisk on mod pages. The wiki editor should only be used by those who understand the format expected by Template:Mod.

Info-Logo.png

NOTE

Mod page 'Recommendations' are transcluded into ModGroup tables of mod-build guides, so special conventions apply to markup and HTML syntax used on these pages.

When adding/editing Mod Recommendations ...

  • Keep it basic and don't get fancy. The primary purpose of these pages is NOT to be pretty but rather to convey info on guides.
  • DO NOT use wiki or HTML headings, as they will contribute to guide ToC. Instead use:
    <div class="mpheading">headingText</div>
  • DO NOT use Template calls other than Template:Fomod. They contribute drastically to the wiki transclusion limit of guide pages.
  • DO NOT use <pre> tags to show multi-line code examples. Wiki and PHP do not play nicely together when transcuding this syntax, resulting in an error on the guide. Instead use:
    <p class="mpcode">My multi-line
    code
    snippet
    </p>
    

Formatting[edit | edit source]

This will hold the do's, don'ts, and good habits regarding formatting.

Font Colors and Sizes[edit | edit source]

To maintain optimal compatibility across site themes, templates are utilized to maintain control over the font colors and sizes. See Templates section for details.

Instruction Sets[edit | edit source]

Follow these guidelines when writing instructions:

  • Instructing to 'tick', 'click, or 'select' any UI element - Use Template:Ui:
    Click {{Ui|this}}, then right click {{Ui|that}}, and select {{Ui|OK}} Click [this], then right click [that], and select [OK]
  • When referring to messages in the UI: Italicize the UI message, and do not highlight it in any other way.
  • Inline headings - When the first text in a list or a paragraph is acting as a heading (see "Top Menu" tab in this guide):
    {{Fc|ilheading|InlineHeading}} InlineHeading

Magic Words[edit | edit source]

Magic words are special 'text strings' that are used by the wiki software to return values or functions. A full description of them can be found on the MediaWiki website.

Common Magic Words[edit | edit source]

__NOTOC__ Hides the table of contents (TOC).
{{FULLPAGENAME}} Prints the Namespace and full page Title (including all subpage levels).
Result: Guide:DDSopt/DDSopt_INI
{{NAMESPACE}} Prints the Namespace.
Result: Guide
{{PAGENAME}} Prints the full page Title (including all subpage levels) without the namespace.
Result: DDSopt/DDSopt_INI
{{SUBPAGENAME}} Prints the subpage Title of the current page. If not a subpage, defaults to {{PAGENAME}} behavior.
Result: DDSopt_INI

Symbols[edit | edit source]

Special characters and symbols can be displayed using character codes as demonstrated here with the copyright symbol. Unicode is not supported.

  • Hex code - &#xa9; ©
  • HTML code - &#169; ©
  • HTML entity - &copy; ©
  • Font Awesome - <i class="far fa-copyright"></i>

URL Links[edit | edit source]

Internal[edit | edit source]

By definition, internal wiki links point to another page on the wiki. They use the following format: [[Namespace:PageName#HeaderTitle|Link Text]]

  • Namespace - the namespace the page resides in as found in the page's URL
  • PageName - the name of the page as found in the page's URL
  • HeaderTitle (optional) - directs a link to a specific header within the page, commonly called anchors. Replace HeaderTitle with the header name.
  • |Link Text (optional) - the link's displayed text. If not included, either the PageName will display, or HeaderTitle, when present.
  • Note the syntax used to build the link between each element, which is not optional when the element is present: [[:#|]]

A completed link to this section would look as such: [[Guide:Wiki_Maintenance#URL_Links|How to create links!]]

Special Page Links[edit | edit source]

Since the syntax for applying categories and other elements to pages is the same as the internal link syntax, it must include a special escape character ( : ) at the beginning of the link:

  • [[:Category:CategoryName|Link Text]]
  • [[:Template:PageName|Link Text]]
Red Links[edit | edit source]

If the link is blue, the page exists. If a link is red-orange (referred to generally as "red links"), the page has not been created. Feel free to click on red links to create their corresponding pages by adding something relevant and saving. Wanted Pages is a special page that houses a list of red-link pages that have been referenced from other pages.

External[edit | edit source]

External wiki links point to locations outside the wiki's domain. They use the following format: [URL Link Text]

  • URL - the address to the external page
  • Link Text (optional) - the link's displayed text. If not included, the link will be displayed as a sequential, numbered link. When multiple links exist on a page without Link Text, they will be numbered in the order listed on the page: [1], [2]...[5]

A completed link to the Step Forums would look as such: [https://stepmodifications.org/forum/ Visit the Step Forums!]

Wiki Templates[edit | edit source]

Templates Explained[edit | edit source]

Templates are standard wiki pages whose content is designed to be transcluded (embedded) inside other pages. Step utilizes templates for creating standardized elements (alert boxes, galleries, side boxes, spoilers, table of contents, etc.), which are used across the wiki for all content. Templates are also used for creating some of our framework and guide structure. Since they are essential for our guides and basic website elements, templates have restricted editing rights; only certain staff groups can edit these pages. However, all users can utilize the templates for their content and are encouraged to do so where appropriate.

Templates can be found from the navigation "Tools" menu by clicking: Special Pages scroll down to Page Forms heading Templates

Common Templates[edit | edit source]

Some of the more common Templates that are used on the STEP wiki are:

Citations[edit | edit source]

Citations only apply when providing evidence or advice that is not well known, not obviously subjective or is speculative. The following extensions are installed to aid in citing:

  • Cite makes adding inline citations and references easy.
  • CiteThisPage adds a link in the Tools navigation bar menu for citing a current page.

Font Color and Size Templates[edit | edit source]

To maintain optimal compatibility across site themes, use:

  • Template:Fc | modifies font color to a pre-defined color
  • Template:Fs | modifies font size. Accepts any valid CSS.

Custom CSS classes are available for coloring text, backgrounds, and borders. See the Step Color Pallet for details about using these classes.

PageTitle Template[edit | edit source]

Template:PageTitle is used to create a consistent and standardized title header at the top of the page. This template must be called at the beginning of the first line in the editor to avoid creating a block of white space before the title (exception: "behavior switches" and Categories can be added before this template call).

Table of Contents[edit | edit source]

Include a table of contents (TOC) on long pages. Step provides a template that floats a styled TOC to the right of the page and is compatible with the wiki themes. To include a TOC use the following template: Template:TOC

The TOC template will appear on the page at the position the template is placed. Therefore, it's possible to have elements (such as an Alert) above the TOC. In general, TOC template should be placed directly after the PageTitle template or categories.

DO NOT[edit | edit source]

  • DO NOT use inline styling like the following: <span style="color: #ff0"></span>
    Instead use Bootstrap and custom CSS classes (see the site color palette for the available classes): <span class="orangetx"></span>
  • DO NOT use heading tags ( <h2></h2> ) to make text bigger or bolder.

Resources[edit | edit source]

Wiki Resources[edit | edit source]

Mediawiki[edit | edit source]

Home Page - Entry point to lots of relevant info, including reference and help as well as latest development and news
Help - MediaWiki's Help directory
Cheat Sheet - List of the most commonly used mediawiki markup
Tables - Wikitext syntax for tables
Magic Words - Behavior switches and variables
Parser Functions - Functions meant to provide more advanced logic

Semantic Mediawiki[edit | edit source]

Semantic Mediawiki - Documentation about Semantic MediaWiki ()see lower portion of middle frame).
Semantic Forms - Documentation about Semantic Forms, which provide a form-based interface for maintaining relevant SMW pages and content.
Semantic Forms Inputs - An extension for Semantic Forms

The Step Modifications Wiki[edit | edit source]

(top bar) TOOLBOX > SPECIAL PAGES - Links to all kinds of information about The Wiki.
(top bar) WIKI > RECENT CHANGES - Links to all of the most recent edits on The Wiki.
Software used on this wiki - Software and versions with links to documentation.

HTML and CSS Resources[edit | edit source]

CSS Resource - Not all info on this page is relevant but it contains various keywords that can be used
HTML Resource - Not all info on this page is relevant but it contains various keywords that can be used

Need Help?[edit | edit source]

For help using this wiki, to offer up suggestions, or to report problems, post on the Wiki Support forum, or private message one of us.