Difference between revisions of "Help:How to make a Project page"

From Personal Science Wiki
Jump to navigation Jump to search
Line 1: Line 1:
To create a new project page, you can either use the [[Form:Project|Project form]] or create it manually by pasting the following markdown elements to a page.  
+
This wiki offers a couple of templates that help maintain a consistent style, categorization and automatic linking through semantic information. If you want a new page to be a ''Project'' page, the minimum information you need to add is the categorization as a project. All other templates are optional, though we strongly encourage using them to improve findability.
 +
 
 +
== Using the visual editor to add project templates to a page ==
 +
Depending on how you ended up on the page creation form the visual editor should already be the default. Otherwise, the visual editor can be found under the ''"Create"'' tab on the top right/middle of the page. A step-by-step guide of how to add all the right templates and information can be seen in the galleries below.
 +
 
 +
===Adding the category===
 +
<gallery>
 +
File:Set-page-category.png|Click on the hamburger menu on the top right of the editor and choose ''"Categories"''.
 +
File:Set-projects-category.png|Type ''"Projects"'' into the search bar and click "enter". The category tag should appear in the autocomplete option. If the category title is red, please check the spelling. Click ''"Apply changes"''. Now the category tag should appear on the bottom of your page.
 +
</gallery>
 +
 
 +
=== Adding the infobox ===
 +
<gallery>
 +
File:Insert-template.png|Adding the infobox: Click on the ''"Insert"'' tab on top of the editor, then pick ''"Template"''. Type ''"Project Infobox"'' into the search bar. The template should appear in the autocomplete list.
 +
File:Project-infobox-properties.png|Once you selected the infobox template, click on all the properties that appear under ''"Add more information"'' ("Self-researcher", "Related tools", "Related topics", "Related projects").
 +
File:Project-infobox-add-properties.png|Now you can add lists of related pages, separated by commas. As of now, there is no autocomplete option for that. If you are not sure about the title of the pages you want to link to, you can verify them on the respective category overview pages. Click "Insert". The infobox should now appear on the right of your page.
 +
</gallery>
 +
 
 +
===Adding the Project Queries===
 +
<gallery>
 +
File:Insert-template.png|Click on the ''"Insert"'' tab on top of the editor, then pick ''"Template"''.
 +
File:Project-queries-properties.png|Type ''"Project Queries"'' into the search bar. The template should appear in the autocomplete list. Choose the template and click ''"Insert"''. Do not add anything under ''"add more information"''. The queries will be automatically filled when another page refers to your page in their infobox. The Project Queries template should now appear on the bottom of your page.
 +
</gallery>
 +
 
 +
===Adding further content===
 +
All other content can now be added and formatted as you wish. See the [https://www.mediawiki.org/wiki/Cheatsheet Cheatsheet] from MediaWiki for formatting help.
 +
 
 +
==Using the source code editor to add project templates to a page==
 +
 
 +
* Adding the '''projects category''': <code><nowiki>[[Category:Projects]]</nowiki></code>
 +
** We recommend adding this at the bottom of the page,
 +
** This makes the page show up on the [[:Category:Projects|Projects overview page]]
 +
* Adding the '''infobox''': <code><nowiki>{{Project Infobox|Self researchers= |Related tools= |Related topics= }}</nowiki></code>
 +
** You can enter a list of people who worked in this project (after "Self researchers="), tool (after "Related tools="), and topic pages (after "Related topics="), separated by commas.
 +
** We recommend putting this at the top of your page article
 +
* Adding the '''footer queries''': <code><nowiki>{{Project Queries}}</nowiki></code>
 +
** We recommend adding this at the bottom of the page
  
 
==Elements of a Project page==
 
==Elements of a Project page==
* <nowiki>{{Project Infobox|Self researchers= |Related tools= |Related topics= }}</nowiki>
 
** Add this to the top of the page, after the leading text.
 
** You can enter a list of related people, topic, and tool pages after "Self researchers=", "Related tools=", or "Related topics=", separated by commas.
 
** [[Template:Project Infobox|Link to the Project Infobox template]]
 
* <nowiki>{{Project Queries}}</nowiki>
 
** Add this to the bottom of the page.
 
** [[Template:Project Queries|Link to the Project Queries template]]
 
* <nowiki>[[Category:Projects]]</nowiki>
 
** Add this to the bottom of the page, below the Project Queries.
 
** This tag makes the page show up on the [[:Category:Projects|Projects overview page]]
 
  
==How to make a page a project page if it already has elements of a different category?==
+
<gallery>
Remove any templates and category tags of other categories and add the Project page elements specified above.
+
File:Category-projects-tag.png|Category-projects-tag.png|The category tag: A tag that assigns your page to the "Projects" category.
 +
File:Project-infobox-example.png|An infobox: A template in which you can add titles of related topic, tool and self-researcher (people) pages as semantic properties.
 +
File:Project-queries-example-narrow.png|The queries: A template which automatically displays all pages that link to your project page in their infobox.
 +
</gallery>
 +
 
 +
See [[Help:Semantic properties in Personal Science Wiki|Semantic properties in Personal Science Wiki]] for more information.
 +
 
 +
==How to turn a page a project page if it already in a different category?==
 +
 
 +
You can change the categorization of a page by removing any existing infobox/footer templates and category tags from a page and instead replace with (at least) the project category tag as specified above. This will put the page in the project category and remove it from the other categories.

Revision as of 11:40, 8 March 2022

This wiki offers a couple of templates that help maintain a consistent style, categorization and automatic linking through semantic information. If you want a new page to be a Project page, the minimum information you need to add is the categorization as a project. All other templates are optional, though we strongly encourage using them to improve findability.

Using the visual editor to add project templates to a page

Depending on how you ended up on the page creation form the visual editor should already be the default. Otherwise, the visual editor can be found under the "Create" tab on the top right/middle of the page. A step-by-step guide of how to add all the right templates and information can be seen in the galleries below.

Adding the category

Adding the infobox

Adding the Project Queries

Adding further content

All other content can now be added and formatted as you wish. See the Cheatsheet from MediaWiki for formatting help.

Using the source code editor to add project templates to a page

  • Adding the projects category: [[Category:Projects]]
  • Adding the infobox: {{Project Infobox|Self researchers= |Related tools= |Related topics= }}
    • You can enter a list of people who worked in this project (after "Self researchers="), tool (after "Related tools="), and topic pages (after "Related topics="), separated by commas.
    • We recommend putting this at the top of your page article
  • Adding the footer queries: {{Project Queries}}
    • We recommend adding this at the bottom of the page

Elements of a Project page

See Semantic properties in Personal Science Wiki for more information.

How to turn a page a project page if it already in a different category?

You can change the categorization of a page by removing any existing infobox/footer templates and category tags from a page and instead replace with (at least) the project category tag as specified above. This will put the page in the project category and remove it from the other categories.