Templates download/Icon and Manual:Start page templates: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{Featurepage|featured=false|featuredesc=New template! Easily insert Bootstrap icons on a page.|featurestart=04/06/2022}}
<!--{{BSVersion|bsvFrom=4.3|bsvTo=|bsvFeature=This feature|text=}}
<div class="downloadarea">
==Available templates==
<span class="getButton">[[Media:HW-Icon.zip|Download]]</span>
To create portal pages in our wiki, you can use our pre-designed starter pages. Currently, the following starter pages are available:<gallery widths="300" heights="300">
File:Startpage Intranet.png|alt=Screenshot of Startpage "Intranet"|Startpage Intranet
File:Startpage Team.png|alt=Screenshot of Startpage "Team"|Startpage Team
</gallery>


[[File:Icon-template.png|350x350px|alt=example of icons on a page]]</div>This template makes it possible to insert Bootstrap icons on a page.  
=== Importing additional templates ===
==Importing the template==
To make additional templates in your wiki available, import them from our [[Startpage templates download|Startpage templates download page]]. If you want to create your own, simply create additional pages starting with the page name "Help:Startpage ...." and its necessary subpages.
The import file is included in the archive file ''HW-Icon.zip''. Unpack the zip file first.
-->
==Using the template==
To use any startpage templates, the following steps are necessary:
#'''Go''' to the page <code>Template:Startpage</code> in your wiki.
#'''Click''' on the link for one of the available templates.  This brings you to the template in the <code>Help:</code> namespace.
#'''Copy''' the page to a location of your choice. For example, make it the main page for an existing namespace that does not have  a main page yet (e.g., <code>IT:Main Page</code> would create the main page for the <code>IT:</code> namespace).
==Editing your start page==
=== Editing the subpages===
After copying a start page to your wiki location, you can start to edit it. The sections of the start page are not located on the page itself, but are stored as subpages of the start page. To edit a section, click the edit icon at the end of the page and select a subpage:[[File:SP edit icon.png|alt=Screenshot of the edit button|center|thumb|218x218px|The edit button|link=https://en.wiki.bluespice.com/wiki/File:SP_edit_icon.png]]Once you are on the subpage, you can edit it like any wiki page. If the page contains a template, edit the template. If the page contains the content directly on the page, you can replace it with any content you like.
===Adding or removing sections===
To add, edit, or remove sections from the Startpage, you need to work in the source view of your page. Since the title area is hidden, you need to go to your page tools in the right sidebar.


On the page ''Special:Import,'' follow these steps:
In the Details section, click ''...all actions''. From the actions dialog window, select ''Edit source''.[[File:all actions-edit source.png|alt=The "Edit source link" highlighted in the all actions menu|center|thumb|550x550px|All actions menu|link=https://en.wiki.bluespice.com/wiki/File:all_actions-edit_source.png]]<!--
#'''''Select file''''' and choose HW-Icon.xml.
=="Startpage Intranet"==
#'''Enter''' an ''interwiki prefix''. Since this field is required, simply add hw (for hallowelt).
#'''Keep''' the selection ''Import to default locations''.
#'''Click''' ''Upload file...'' .
The template is now available in your wiki.
==<span class="mw-headline" id="Pages_included_in_the_import">Pages included in the import</span>==
The xml import creates the following file in your wiki:
*Template:Icon
==<span class="mw-headline" id="Using_the_template">Using the template</span>==
#
#'''Find''' a bootstrap icon from the Bootstrap website at https://icons.getbootstrap.com/<nowiki/>{{Messagebox|boxtype=important|icon=|Note text=BlueSpice does not always include the latest version of bootstrap icons. [https://en.wiki.bluespice.com/w/skins/BlueSpiceDiscovery/resources/bootstrap/icons/index.html See the list of currently supported icons.]|bgcolor=}}'''Click''' on the icon you would like to use. The icon page shows you the class-name of the icon on the right side of the page:[[File:bootstrap-award-icon.png|alt=Bootstrap icon css-class|center|thumb|650x650px|Bootstrap icon css-class]]
#'''Highlight''' the class name (it has the format ''bi bi-myicon'') and '''copy''' it to your clipboard (ctrl+c).
#'''Go back''' to your wiki page.
# '''Enter'''  <code><nowiki>{{</nowiki></code> in visual editing mode at the cursor position where you want to insert the icon. The template editor opens.
# '''Copy''' the icon class from your clipboard:[[File:template-editor-icon.png|alt=Template editor|center|thumb|450x450px|Template editor]]
# '''Change''' the font size (optional) if you want the size to be different from the text surrounding it (e.g., from the size of a heading if the icon is placed in the heading or of the paragraph text if the icon is placed in the flow-text.  Smaller than text icons are usually sized no smaller than 0.85em and larger icons up to 2.5em.
#'''Color:''' If you want the color to be different from the surrounding text, you can specify any web color (e.g., a color name like blue or a hex-valuesuch as #0059b3 for a more specific blue). A list of web colors can be found at https://www.w3schools.com/colors/colors_picker.asp
#'''Vertical alignment:''' It should not be necessary to provide an alignment value. The standard is set to text-top and usually works in headings and in flow-text. If it looks a little off, you can try other vertical-alignment values, such as text-bottom. For a full list of possible values, see https://www.w3schools.com/cssref/pr_pos_vertical-align.asp.
#'''Click''' ''Apply changes''.


=== Sections ===
{| class="wikitable" style="width: 100%;" data-ve-attributes="{&quot;style&quot;:&quot;width: 100%;&quot;}"
! style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Section
!Subpage
!Content type
!Description
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Banner
|Banner
|Template
|The banner parameters are described on the [[Templates download/Banner|Banner download page]].
|-
|Image cards
|Image cards
|Template
|The image cards require some photos to be uploaded to the wiki. Alternatively, the settings can be changed to use icons instead. The parameters are described on the [[Templates download/Image cards|Image cards download page]].
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |News
|News
|Table
|Simple wiki table. To add or remove news, just edit the table.
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Events
|Events
|Table
|Simple wiki table. To add or remove events, just edit the table.
|-
|Sales
|Sales
|Text
|Manual links list. Content can be edited or replaced by automatically generated page lists.
|-
|Production
|Production
|Text
|Manual links list. Content can be edited or replaced by automatically generated page lists.
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |HR
|HR
|Text
|Manual links list. Content can be edited or replaced by automatically generated page lists.
|-
|Meeting minutes
|Minutes
|<code><nowiki><inputbox></nowiki></code>-tag,
<nowiki><dpl>-tag </nowiki>
|The meeting minutes are created via an  [[Manual:Extension/InputBox|InputBox]]. They are created as subpages of a ''Minutes'' page in the main namespace.
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Contact
|Contact
|Text, <code><nowiki><profileimage></nowiki></code>-tag
|Content can be edited directly on the page. Double-click on the profile image tag to change the user name for the contact avatar.
|-
|Tag cloud
| -
|<code><tagcloud></code>-tag
|The tag cloud is directly included on the page ''Startpage Intranet''. To remove it or to change its options, edit the page directly.
|}


The icon is now displayed on the page.
=== Pages created by this template ===


[[File:bootstrap-icon-on page.png|alt=Inserted Bootstrap icon|center|thumb|450x450px|Inserted Bootstrap icon]]
* Help:Startpage Intranet
* Help:Startpage Intranet/Banner
* Help:Startpage Intranet/Image cards
* Help:Startpage Intranet/News
* Help:Startpage Intranet/Events
* Help:Startpage Intranet/Sales
* Help:Startpage Intranet/Production
* Help:Startpage Intranet/HR
* Help:Startpage Intranet/Minutes
* Help:Startpage Intranet/Contact
 
'''Common pages'''
 
* Minutes
* MediaWiki:Dpl-parserfunc-tracking-category
* MediaWiki:Dpl-tag-tracking-category
 
* Template:Banner
* Template:Banner/styles.css
* Template:Dropdown
* Template:Image cards
* Template:Image cards/end
* Template:Image cards/start
* Template:Image cards/styles.css
* Template:Startpage
* Template:Startpage/styles.css
 
== "Startpage Team" ==
 
=== Sections ===
{| class="wikitable" style="width: 100%;" data-ve-attributes="{&quot;style&quot;:&quot;width: 100%;&quot;}"
! style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Section
!Subpage
!Content type
!Description
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Support schedule
|Weekly schedule,
Weekly support
|Text/Table
|Simple wiki table. To add or remove items, just edit the table.
|-
|Phone directory
|Extensions list
|Text/Table
|Simple wiki table. To add or remove items, just edit the table.
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Team meetings
|Minutes
|<code><nowiki><inputbox></nowiki></code>-tag, <code><nowiki><dpl></nowiki></code>- tag, subpages query
|The meeting minutes are created via an  [[Manual:Extension/InputBox|InputBox]]. They are created as subpages of a ''Minutes'' page in the main namespace.
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Contact info
|Contact info
|Text,
<code><nowiki><profileimage></nowiki></code>-tag
|Content can be edited directly on the page. Double-click on the profile image tag to change the user name for the contact avatar.
|-
|Recent changes
|Recent changes
|<code><nowiki><smartlist></nowiki></code>-tag
|The smartlist tag is used by default. You can choose any other way of [[Page lists|creating page lists]].
|-
|Quick links
|Quick links
|Text
|Manual links list. Content can be edited or replaced by automatically generated page lists.
|-
|Important files
| -
|<code><nowiki><attachments></nowiki></code>-tag
|[[Attachments]] are added directly in view mode of the page.
|}
 
=== Pages created by this template ===
 
* Help:Startpage Team
* Help:Startpage Team/Weekly schedule
* Help:Startpage Team/Extensions list
* Help:Startpage Team/Minutes
* Help:Startpage Team/Contact info
* Help:Startpage Team/Recent changes
* Help:Startpage Team/Quick links
 
'''Common pages'''
 
* Minutes
* MediaWiki:Dpl-parserfunc-tracking-category
* MediaWiki:Dpl-tag-tracking-category
* Template:Startpage
* Template:Startpage/styles.css
-->

Revision as of 15:14, 15 May 2023

Using the template

To use any startpage templates, the following steps are necessary:

  1. Go to the page Template:Startpage in your wiki.
  2. Click on the link for one of the available templates. This brings you to the template in the Help: namespace.
  3. Copy the page to a location of your choice. For example, make it the main page for an existing namespace that does not have a main page yet (e.g., IT:Main Page would create the main page for the IT: namespace).

Editing your start page

Editing the subpages

After copying a start page to your wiki location, you can start to edit it. The sections of the start page are not located on the page itself, but are stored as subpages of the start page. To edit a section, click the edit icon at the end of the page and select a subpage:

Screenshot of the edit button
The edit button

Once you are on the subpage, you can edit it like any wiki page. If the page contains a template, edit the template. If the page contains the content directly on the page, you can replace it with any content you like.

Adding or removing sections

To add, edit, or remove sections from the Startpage, you need to work in the source view of your page. Since the title area is hidden, you need to go to your page tools in the right sidebar.

In the Details section, click ...all actions. From the actions dialog window, select Edit source.

The "Edit source link" highlighted in the all actions menu
All actions menu



To submit feedback about this documentation, visit our community forum.

No categories assignedEdit

Discussions