Editing Help:Manual

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 18: Line 18:
 
Pages have no particular order, so to help sort them they are organised into '''categories'''. Pages can belong to multiple categories, so there are many ways to sort a page. To find which categories a page belongs to, scroll down to the very bottom of that page. (However, note that this page doesn't belong to any category!) You'll find a '''category bar''' showing which categories the page balongs to:
 
Pages have no particular order, so to help sort them they are organised into '''categories'''. Pages can belong to multiple categories, so there are many ways to sort a page. To find which categories a page belongs to, scroll down to the very bottom of that page. (However, note that this page doesn't belong to any category!) You'll find a '''category bar''' showing which categories the page balongs to:
  
[[File:Categories bar example.png|center|800px]]
+
[[File:Categories bar example.png|800px]]
  
 
Clicking on any of the blue links will take you to a '''category page''', which lists all the pages and/or sub-categories which belong to that category. These have the "Category:" prefix in their title. Here are a couple of different kinds of category pages:
 
Clicking on any of the blue links will take you to a '''category page''', which lists all the pages and/or sub-categories which belong to that category. These have the "Category:" prefix in their title. Here are a couple of different kinds of category pages:
Line 26: Line 26:
 
Most pages belong to a sub-category of one or more '''top-level categories'''. The top-level categories are: document type, domain, keyword, project, and theme. You can always find these in the navigation bar to the left. Pages usually don't belong directly to top-level categories, but rather to a more specific sub-category. Click the little triangles next to the top-level categories to show their sub-categories. Remember that the [[Main Page|Main Page]] contains a more complete listing of categories, and more space to fold them open!
 
Most pages belong to a sub-category of one or more '''top-level categories'''. The top-level categories are: document type, domain, keyword, project, and theme. You can always find these in the navigation bar to the left. Pages usually don't belong directly to top-level categories, but rather to a more specific sub-category. Click the little triangles next to the top-level categories to show their sub-categories. Remember that the [[Main Page|Main Page]] contains a more complete listing of categories, and more space to fold them open!
  
[[File:Top-level categories example.gif|center|600px]]
+
[[File:Top-level categories example.gif|600px]]
  
 
'''That's it!''' With this you should be able to find your way around the wiki. If you feel that you would like more help, don't hesitate to contact us at manager@envri.eu! This manual will also be expanded with time, including images and video material.
 
'''That's it!''' With this you should be able to find your way around the wiki. If you feel that you would like more help, don't hesitate to contact us at manager@envri.eu! This manual will also be expanded with time, including images and video material.
Line 36: Line 36:
 
What makes a wiki different is that anyone can edit the pages – so the good news are that you can get started right away! You can edit the page you're on by using the '''"Edit" tab''' in the top right corner (next to the search bar). You can find all previous edits of a given page under the "View history" tab.
 
What makes a wiki different is that anyone can edit the pages – so the good news are that you can get started right away! You can edit the page you're on by using the '''"Edit" tab''' in the top right corner (next to the search bar). You can find all previous edits of a given page under the "View history" tab.
  
[[File:Search bar and edit controls example.png|center|550px]]
+
[[File:Search bar and edit controls example.png|550px]]
  
 
<div class="mbox">⚠️ Be aware that anonymous edits may be revoked! If you want to contribute more, and in your own name, please contact us and get a permanent user name.</div>
 
<div class="mbox">⚠️ Be aware that anonymous edits may be revoked! If you want to contribute more, and in your own name, please contact us and get a permanent user name.</div>
Line 58: Line 58:
 
| For external links, simply paste the URL: https://www.envri.eu/. For a custom link text, use only a single bracket containing [https://www.envri.eu/ the URL and desired link text].
 
| For external links, simply paste the URL: https://www.envri.eu/. For a custom link text, use only a single bracket containing [https://www.envri.eu/ the URL and desired link text].
 
|-
 
|-
| <nowiki>Use the "ref" tag to generate <ref>automatically numbered</ref> footnotes, which will appear <ref>like this</ref> in the "References" section.</nowiki>
+
| <nowiki><ref>An (automatically numbered) in-text citation, which will appear in the "References" section.</ref></nowiki>
| Use the "ref" tag to generate <ref>automatically numbered</ref> footnotes, which will appear <ref>like this</ref> in the "References" section.
+
| <ref>An (automatically numbered) in-text citation which will appear "References" section.</ref>
 
|-
 
|-
| <nowiki>The "References" section appears wherever the... <references /> ...tag is placed on the page.</nowiki>
+
| <nowiki>The "References" section appears wherever the... <References/> ...tag is placed on the page.</nowiki>
| The "References" section appears wherever the <references /> tag is placed on the page.
+
| The "References" section appears wherever the <References/> tag is placed on the page.
|-
 
| <nowiki>* at the start of a new line</nowiki><br /><nowiki>* starts a list.</nowiki><br /><nowiki># Creates a numbered list</nowiki><br /><nowiki># like so.</nowiki>
 
|
 
* at the start of a new line
 
* starts a list.
 
# Creates a numbered list
 
# like so.
 
 
|}
 
|}
  
 
For '''more options''', you can refer to MediaWiki's own manuals on [https://www.mediawiki.org/wiki/Help:Formatting Formatting] and [https://www.mediawiki.org/wiki/Links Links].
 
For '''more options''', you can refer to MediaWiki's own manuals on [https://www.mediawiki.org/wiki/Help:Formatting Formatting] and [https://www.mediawiki.org/wiki/Links Links].
 
==🏷️ (Re-)categorising pages==
 
 
Do you think a page is missing from a category, or has been mis-categorised? Nice catch! You can re-categorise the page changing its '''category tags'''.
 
# Start by looking inside the top-level categories for a more suitable sub-category.
 
# Edit the page which you want to (re-)categorise, and look for the category tags. They are generally (but not always) found at the bottom of the page, and look something like this: <nowiki>[Category: Report] [Category: Solid Earth] [Category: ENVRIplus]</nowiki>.
 
# Delete the wrong categories and add the rights ones. Save your edits.
 
 
==🌱 Creating new pages and categories==
 
 
So you want to create a completely '''new page''', or perhaps even a completely '''new category?'''
 
 
# Write the title of your new page into the search bar. For a category, use the "Category:" prefix, so, eg. "Category:My New Category".
 
# Click the '''bold, red link''' after "Create the page . . . on this wiki".
 
# Enter your content, add the correct category tags, and save your edits.
 
# Done!
 
 
[[File:Non-existing page search example.png|center|500px]]
 
  
 
==📊 Figures and tables==
 
==📊 Figures and tables==
Line 130: Line 105:
  
 
For a '''more detailed explanation''' of tables, see MediaWiki's manual [https://www.mediawiki.org/wiki/Help:Tables Help:Tables] or Wikipedia's even more extensive manual, [https://en.wikipedia.org/wiki/Help:Table Help:Table].
 
For a '''more detailed explanation''' of tables, see MediaWiki's manual [https://www.mediawiki.org/wiki/Help:Tables Help:Tables] or Wikipedia's even more extensive manual, [https://en.wikipedia.org/wiki/Help:Table Help:Table].
 +
 +
==🏷️ (Re-)categorising pages==
 +
 +
Do you think a page is missing from a category, or has been mis-categorised? Nice catch! You can re-categorise the page changing its '''category tags'''.
 +
# Start by looking inside the top-level categories for a more suitable sub-category.
 +
# Edit the page which you want to (re-)categorise, and look for the category tags. They are generally (but not always) found at the bottom of the page, and look something like this: <nowiki>[Category: Report] [Category: Solid Earth] [Category: ENVRIplus]</nowiki>.
 +
# Delete the wrong categories and add the rights ones. Save your edits.
 +
 +
==🌱 Creating new pages and categories==
 +
 +
So you want to create a completely '''new page''', or perhaps even a completely '''new category?'''
 +
 +
# Write the title of your new page into the search bar. For a category, use the "Category:" prefix, so, eg. "Category:My New Category".
 +
# Click the '''bold, red link''' after "Create the page . . . on this wiki".
 +
# Enter your content, add the correct category tags, and save your edits.
 +
# Done!
 +
 +
[[File:Non-existing page search example.png|500px]]
  
 
=🎨 Style guidelines=
 
=🎨 Style guidelines=
Line 152: Line 145:
 
MediaWiki supports regular HTML and CSS markup, but use this sparingly! Avoid <span> tags and inline CSS, and instead familiarize yourself with the classes available in [[MediaWiki:Common.css]].
 
MediaWiki supports regular HTML and CSS markup, but use this sparingly! Avoid <span> tags and inline CSS, and instead familiarize yourself with the classes available in [[MediaWiki:Common.css]].
  
==🧩 Some common and useful CSS classes==
+
Here are some common classes that you may find useful:
  
 
===mbox and mbox small===
 
===mbox and mbox small===
Line 162: Line 155:
 
===figure and tablecaption===
 
===figure and tablecaption===
  
<div class="figure">
+
See previous section on figures. Edit these to change the look of figures and tables across the wiki.
[[File:Black rectangle.png]]
 
Example 1: a live example of the "figure" class.</div>
 
 
 
<div class="tablecaption">Example 2: a live example of the "tablecaption" class.</div>
 
{| class="wikitable"
 
! Header 1
 
! Header 2
 
|-
 
|Cell 1-L
 
|Cell 1-R
 
|-
 
|Cell 2-L
 
|Cell 2-R
 
|}
 
 
 
See the previous section on figures and tables. Edit these to change the look of figures and tables across the wiki.
 
  
 
===navFrame and Infobox===
 
===navFrame and Infobox===
  
See the next section on templates. Edit these to change the look of navFrames and infoboxes across the wiki.
+
See next section on templates. Edit these to change the look of navFrames and infoboxes across the wiki.
  
 
==🖇️ Understanding templates==
 
==🖇️ Understanding templates==
  
One of MediaWiki's most useful features is ''[https://www.mediawiki.org/wiki/Transclusion transclusion]'', ie. showing the contents of a page on another page. Generally this is done using '''templates'''. By creating a template with eg. information about a project, and using that template across the wiki, if there is a change in the original information we only need to change a single page – the template. The rest will transclude the new information automatically.
+
One of MediaWiki's most useful features is ''transclusion'' – moving the template  
 
+
''Coming soon: what are templates? List of common templates in use on the ENVRI wiki, links to more resources.''
Templates are identified by the '''"Template:" prefix'''. They are transcluded by using a '''template call''' which is the name of the template inside curly braces, like so: <nowiki>{{Template:TemplateName}}</nowiki>.
 
  
Here's an example of a template in action:
+
<!--TODO: what are templates? list of important templates on this wiki, links to external resources, creating new templates-->
* The top of the [[:Category:ENVRIplus]] page contains some general information about the ENVRIplus project.
 
* However, instead of having this information written directly on the page, the page simply contains two template calls to: [[Template:ENVRIplus/short]] and [[Template:ENVRIplus/summary]].
 
* Consequently, these contents are transcluded unto the category page. If the templates change, so does the information on [[:Category:ENVRIplus]].
 
  
Templates can also be called with '''parameters''', resulting in unique results on the page where they are called. Both of the two most common templates in use on the ENVRI wiki, namely [[Template:Infobox]] and [[Template:DocumentMetadata]], use parameters. (See the template pages for an explanation of their purpose and syntax.) In other words, changing the templates can change the look and behaviour of infoboxes and document metadata boxes across the entire wiki, but leave the specifics of each page (infobox titles, the metadata itself, etc.) untouched.
+
Here are some commonly used templates on the ENVRI wiki:
  
To list all templates on the wiki, you can do [[http://mediawiki.envri.eu/index.php?title=Special%3APrefixIndex&prefix=&namespace=10 a namespace search using Special:PrefixIndex]].
+
InfoBox
 +
NavFrame
  
 
=📖 About this manual=
 
=📖 About this manual=

Please note that all contributions to may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)