Configuring the trial system/Create templates: verschil tussen versies

(Labels: Nieuwe doorverwijzing, bewerking met nieuwe wikitekstmodus)
 
There is a difference between two template types: Templates and Page Templates
  1. REDIRECT Configuratie van het testsysteem/Sjablonen aanmaken


Understanding templates and page templates[bewerken | brontekst bewerken]

In this wiki, there are two types of templates: "Templates" and "Page Templates".

Templates are content elements that can be inserted on a page (similar to text blocks "snippets" or macros). Changes to templates will be applied to all pages that use the template.

Page templates, on the other hand, are selected before creating a new page, bringing with them already a given content. This usually makes sense to already specify a structure. They provide the new page with a predefined content. This provides the page editor with a structure for the new page. However, this is always changeable and structure serves more as a guideline, since it can be changed by anyone who subsequently edits the page. Changes to a page template will not affect pages that have originally been created with this page template.


Working with templates[bewerken | brontekst bewerken]

Templates allow content and content items (such as colored boxes) to be easily integrated into a page. The definition of the block is stored on a separate page, which must be stored reside in the 'namespace Templates' namespace. For example, this one template defines an info box with an icon and coloringcustom text styling:

                    <div id="box-info" style="width: 98%; margin: 20px 0; border: solid 2px #a9a9a9; padding: 8px; background-color: #cfd0d0;">
[[Image:Icon-info.png]]<span style="text-transform: uppercase; margin-left: 5px; color: #a9a9a9; font-size: 16px; font-weight: bold;">Info</span><div style="color: #000;">
{{{Info Text}}}
</div>
</div>

                

To use this box in a page, just insert the template with {{Box_Info|Info Text = }}. After the "=" the text can be entered, which should then appear in the box. Let's take this sample text:"This box shows us how we can use templates in the wiki."

Result:

Icon-info.pngInfo

This box shows us how we can use templates in the wiki.



The whole thing is still easy if you simply call the template wizard in the editor via "Paste" and simply search, select and insert the template. aa112.png

Create

aa112w.png

Creating and

embed

embedding page templates[bewerken | brontekst bewerken]

Page templates are great for recurring structures. For example, in Weekly Meeting Logsmeeting minutes or work instructions, they provide a consistent set-upsetup. The predefined structure makes it easier for the creator to store the information without forgetting a topic.

These templates are created like normal pages. For organizational reasons, it makes sense to assign these pages to the namespace Template. But this is not necessarily necessary. Create required. You can create the page as usual usually with headings, table, checkboxes or lists, already assigned categories, etc.

In order for the template to be offered when creating a new page, this To function as a page template for new pages, this page must first be activated as a template in the Template Manager. Here you specify how the template should be named, can write a description and name and description. In addition, you define in which namespaces the template should be is available for selection. If a user creates a new page in one of these namespaces, he will not only receive see the standard default "blank page" but also the corresponding templates for selection, can select these and fill them with contentavailable custom page templates.


Helpful links in our BlueSpice Helpdesk[bewerken | brontekst bewerken]

There is a difference between two template types: '''Templates and Page Templates#REDIRECT [[Configuratie van het testsysteem/Sjablonen aanmaken]]
            
            
            
            
            
            == Understanding templates and page templates ==
            
            In this wiki, there are two types of templates: "'''Templates"''' and '''"Page Templates"'''.
        
        
        
        Templates are content elements that can be inserted on a page (similar to text blocks"snippets" or macros). Page templates Changes to templates will be applied to all pages that use the template. 
            
            
            
            Page templates, on the other hand, are selected before creating a new page, bringing with them already a given content. This usually makes sense to already specify a structure. However, this is always changeable and . They provide the new page with a predefined content. This provides the page editor with  a structure for the new page. However, this structure serves more as a guideline.
            
            
            
            
            <br />
            
            
            
            ===Working with templates===, since it can be changed by anyone who subsequently edits the page. Changes to a page template will not affect pages that have originally been created with this page template.
            
            
            
            
            <br />
            
            
            
            ==Working with templates==
        
        Templates allow content and content items (such as colored boxes) to be easily integrated into a page. The definition of the block is stored on a separate page, which must be stored reside in the '' 'namespace ''Templates' '' namespace'. For example, this onetemplate defines an info box with an icon and coloring:custom text styling:<br />
        
        
        
        
        <syntaxhighlight lang="css">
        
        
        <div id="box-info" style="width: 98%; margin: 20px 0; border: solid 2px #a9a9a9; padding: 8px; background-color: #cfd0d0;">
        
        [[Image:Icon-info.png]]<span style="text-transform: uppercase; margin-left: 5px; color: #a9a9a9; font-size: 16px; font-weight: bold;">Info</span><div style="color: #000;">
        
        {{{Info Text}}}
        
        
        </div>
        
        
        </div>
        
        
        </syntaxhighlight>
        
        
        
        To use this box in a page, just insert the template with <nowiki> {{Box_Info|Info Text = }}</nowiki>. After the "=" the text can be entered, which should then appear in the box. Let's take this sample text:''"This box shows us how we can use templates in the wiki."''
        
        
        
        Result:
        
        {{Box_Info|Info Text = This box shows us how we can use templates in the wiki.}}
        
        
        <br />
        
        
        
        The whole thing is still easy if you simply call the template wizard in the editor via "Paste" and simply search, select and insert the 
            
            
        template.
        
        
        
            
            
        [[File:aa112aa112w.png|frameless|629x629px615x615px]]
        
        
        <br />
        
        
        
            
            ===Create<br />
            
            ==Creating and embedembedding page templates===
        
        Page templates are great for recurring structures. For example, in [[ProtocolMinutes:Weekly Meetingmeeting|Weekly Meeting Logsmeeting minutes]] or work instructions, they provide a consistent set-upsetup. The predefined structure makes it easier for the creator to store the information without forgetting a topic.
        
        
        
        These templates are created like normal pages. For organizational reasons, it makes sense to assign these pages to the namespace Template. But this is not necessarily necessary. Create required. You can create the page as usualusually with headings, table, checkboxes or lists, already assigned categories, etc.
        
        
        
        
        In order for the template to be offered when creating a new page, this To function as a page template for new pages, this page must first be activated in [[Special:Page Template Managementas a template in the [[Special:PageTemplatesAdmin|Template Manager]]. Here you specify how the template should be named, can write a description and name and description. In addition, you define in which namespaces the template should be is available for selection. If a user creates a new page in one of these namespaces, he will not only receivesee the standarddefault "blank page" but also the corresponding templates for selection, can select these and fill them with content.
            
            
            
            ===available custom page templates.
            
            
            
            
            <br />
            
            
            
            ==Helpful links in our BlueSpice Helpdesk===
        
        
        
        *[https://en.wiki.bluespice.com/wiki/Templates Templates]
        
        *[https://en.wiki.bluespice.com/wiki/Manual:Extension/BlueSpicePageTemplates Page Templates]
(8 tussenliggende versies door een andere gebruiker niet weergegeven)
Regel 1: Regel 1:
There is a difference between two template types: '''Templates and Page Templates'''.
+
#REDIRECT [[Configuratie van het testsysteem/Sjablonen aanmaken]]
  
Templates are content elements that can be inserted on a page (similar to text blocks or macros). Page templates are selected before creating a new page, bringing with them already a given content. This usually makes sense to already specify a structure. However, this is always changeable and serves more as a guideline.
+
 
 +
== Understanding templates and page templates ==
 +
In this wiki, there are two types of templates: "'''Templates"''' and '''"Page Templates"'''.
 +
 
 +
Templates are content elements that can be inserted on a page (similar to text "snippets" or macros). Changes to templates will be applied to all pages that use the template.
 +
 
 +
Page templates, on the other hand, are selected before creating a new page. They provide the new page with a predefined content. This provides the page editor with  a structure for the new page. However, this structure serves more as a guideline, since it can be changed by anyone who subsequently edits the page. Changes to a page template will not affect pages that have originally been created with this page template.
  
 
<br />
 
<br />
  
===Working with templates===
+
==Working with templates==
Templates allow content and content items (such as colored boxes) to be easily integrated into a page. The definition of the block is stored on a separate page, which must be stored in the '' 'Templates' '' namespace. For example, this one defines an info box with icon and coloring:
+
Templates allow content and content items (such as colored boxes) to be easily integrated into a page. The definition of the block is stored on a separate page, which must reside in the namespace ''Templates''. For example, this template defines an info box with an icon and custom text styling:<br />
  
 
<syntaxhighlight lang="css">
 
<syntaxhighlight lang="css">
Regel 16: Regel 22:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
To use this box in a page, just insert the template with <nowiki> {{Box_Info|Info Text = }}</nowiki>. After the "=" the text can be entered, which should then appear in the box. Let's take this:''"This box shows us how we can use templates in the wiki."''
+
To use this box in a page, just insert the template with <nowiki> {{Box_Info|Info Text = }}</nowiki>. After the "=" the text can be entered, which should then appear in the box. Let's take this sample text:''"This box shows us how we can use templates in the wiki."''
  
 
Result:
 
Result:
Regel 22: Regel 28:
 
<br />
 
<br />
  
The whole thing is still easy if you simply call the template wizard in the editor via "Paste" and simply search, select and insert the template.
+
The whole thing is still easy if you simply call the template wizard in the editor via "Paste" and simply search, select and insert the  
[[File:aa112.png|frameless|629x629px]]
+
template.
 +
 
 +
[[File:aa112w.png|frameless|615x615px]]
 
<br />
 
<br />
 +
<br />
 +
==Creating and embedding page templates==
 +
Page templates are great for recurring structures. For example, in [[Minutes:Weekly meeting|Weekly meeting minutes]] or work instructions, they provide a consistent setup. The predefined structure makes it easier for the creator to store the information without forgetting a topic.
  
===Create and embed page templates===
+
These templates are created like normal pages. For organizational reasons, it makes sense to assign these pages to the namespace Template. But this is not required. You can create the page as usually with headings, table, checkboxes or lists, already assigned categories, etc.
Page templates are great for recurring structures. For example, in [[Protocol:Weekly Meeting|Weekly Meeting Logs]] or work instructions, they provide a consistent set-up. The predefined structure makes it easier for the creator to store the information without forgetting a topic.
 
  
These templates are created like normal pages. For organizational reasons, it makes sense to assign these pages to the namespace Template. But this is not necessarily necessary. Create the page as usual with headings, table, checkboxes or lists, already assigned categories etc.
+
To function as a page template for new pages, this page must first be activated as a template in the [[Special:PageTemplatesAdmin|Template Manager]]. Here you specify the template name and description. In addition, you define in which namespaces the template is available. If a user creates a new page in one of these namespaces, he will not only see the default "blank page" but also the available custom page templates.
  
In order for the template to be offered when creating a new page, this must first be activated in [[Special:Page Template Management|Template Manager]]. Here you specify how the template should be named, can write a description and define in which namespaces the template should be available for selection. If a user creates a new page in one of these namespaces, he will not only receive the standard "blank page" but also the corresponding templates for selection, can select these and fill them with content.
+
<br />
  
===Helpful links in our BlueSpice Helpdesk===
+
==Helpful links in our BlueSpice Helpdesk==
  
 
*[https://en.wiki.bluespice.com/wiki/Templates Templates]
 
*[https://en.wiki.bluespice.com/wiki/Templates Templates]
 
*[https://en.wiki.bluespice.com/wiki/Manual:Extension/BlueSpicePageTemplates Page Templates]
 
*[https://en.wiki.bluespice.com/wiki/Manual:Extension/BlueSpicePageTemplates Page Templates]

Bijlagen

Overleg