Changes

551 bytes removed ,  14:13, 2 March 2023
no edit summary
Line 1: Line 1:  
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 ''Topic'' page, the minimum information you need to add is the categorization as a tool. All other templates are optional, though we strongly encourage using them to improve findability.  
 
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 ''Topic'' page, the minimum information you need to add is the categorization as a tool. All other templates are optional, though we strongly encourage using them to improve findability.  
 +
 +
==Elements of a Topic page==
 +
 +
<gallery widths=300px>
 +
File:Category-topics-tag.png|Category-topics-tag.png|The category tag: A tag that assigns your page to the "Topics" category. 
 +
File:Topic-infobox.png|A template that shows all pages that link to this topic page (i.e. all pages for which a user entered this topic as 'related topic' in a tool, project, or people infobox).
 +
</gallery>
    
== Using the visual editor to add topic templates to a page ==
 
== Using the visual editor to add topic templates to a page ==
Line 11: Line 18:     
=== Adding the infobox ===
 
=== Adding the infobox ===
The ''Topic'' category has no infobox. For more information, see [[Help:Semantic properties in Personal Science Wiki|Semantic properties in Personal Science Wiki]].
+
* Click on the "Insert" button in the top menu bar, then click on "Template".
 +
* Type "Topic Infobox" in the search bar. Select the element and click "Insert".
   −
===Adding the Topic Queries===
  −
<gallery>
  −
File:Insert-template.png|Click on the ''"Insert"'' tab on top of the editor, then pick ''"Template"''.
  −
File:Topic-queries-properties.png|Type ''"Topic 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 Topic Queries template should now appear on the bottom of your page.
  −
</gallery>
      
===Adding further content===
 
===Adding further content===
Line 27: Line 30:  
** We recommend adding this at the bottom of the page,
 
** We recommend adding this at the bottom of the page,
 
** This makes the page show up on the [[:Category:Topics|Topics overview page]]
 
** This makes the page show up on the [[:Category:Topics|Topics overview page]]
* Adding the '''footer queries''': <code><nowiki>{{Topic Queries}}</nowiki></code>
+
* Adding the '''topic infobox''': <code><nowiki>{{Topic Infobox}}</nowiki></code> at the top of the page
** We recommend adding this at the bottom of the page
+
** This makes the infobox with backlinks to this topic from other pages on this wiki show up.
* The ''Topic'' category has no infobox. For more information, see [[Help:Semantic properties in Personal Science Wiki|Semantic properties in Personal Science Wiki]].
+
** It is not possible to add properties to topic pages. For more information, see [[Help:Semantic properties in Personal Science Wiki|Semantic properties in Personal Science Wiki]].
 
  −
==Elements of a Topic page==
  −
 
  −
<gallery>
  −
File:Category-topics-tag.png|Category-topics-tag.png|The category tag: A tag that assigns your page to the "Topics" category. 
  −
File:Topic-queries-example-narrow.png|The queries: A template which automatically displays all pages that link to your tool 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 to a topic page if it already in a different category?==
 
==How to turn a page to a topic 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 topic category tag as specified above. This will put the page in the topic category and remove it from the other categories.
 
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 topic category tag as specified above. This will put the page in the topic category and remove it from the other categories.