m ((username removed) (log details removed): Text replacement - "ES:" to "") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<bookshelf src="Book:Advanced editing" /> | |||
It is possible to add grouped references to uploaded files anywhere in an article. | It is possible to add grouped references to uploaded files anywhere in an article. | ||
==Creating attachments== | ==Creating attachments== | ||
To create file attachments: | To create file attachments: | ||
#'''Click''' ''Insert >'' ''Magic word'' in the VisualEditor toolbar:<br />[[File | #'''Click''' ''Insert >'' ''Magic word'' in the VisualEditor toolbar:<br />[[File:VE-insert-magicword.png|alt=Insert magic word|thumb|Insert magic word|none|330x330px]] | ||
#'''Choose''' "attachments" and click ''Done''. <br />[[File:magicword-attachments.png|alt=Magic word "attachments"| | #'''Choose''' "attachments" and click ''Done''. <br />[[File:magicword-attachments.png|alt=Magic word "attachments"|none|thumb|450x450px|Magic word "attachments"]] | ||
#''' Save''' the page. You will now see the new attachments area.<br />[[File:attachment-area.png|alt=New attachments area| | #''' Save''' the page. You will now see the new attachments area.<br />[[File:attachment-area.png|alt=New attachments area|none|thumb|750x750px|New attachments area]] | ||
#'''Upload''' a new file to the knowledge base (button 1). Alternatively, choose an already existing file (button 2). | #'''Upload''' a new file to the knowledge base (button 1). Alternatively, choose an already existing file (button 2). | ||
== Elements of the attachments area== | ==Elements of the attachments area== | ||
The appearance of the attachments area can be adjusted with settings in the attachments tag. To set the parameters, go to the edit mode of the page and click on the attachments area. The tag inspector opens. It consists of two areas: | The appearance of the attachments area can be adjusted with settings in the attachments tag. To set the parameters, go to the edit mode of the page and click on the attachments area. The tag inspector opens. It consists of two areas: | ||
#Prefix, Categories, Description: Default values for files that are newly uploaded to the wiki via the attachments section. The default values are also used when the toggle switch "Skip upload options" is activated. In this case, the files are transferred directly to the wiki without any further upload dialogs. The standard upload options are applied. | #Prefix, Categories, Description: Default values for files that are newly uploaded to the wiki via the attachments section. The default values are also used when the toggle switch "Skip upload options" is activated. In this case, the files are transferred directly to the wiki without any further upload dialogs. The standard upload options are applied. | ||
#Toggle switches that show or hide different columns in the attachments area.<br /> [[File:attachments-inspector.png|alt=attachments inspector| | #Toggle switches that show or hide different columns in the attachments area.<br /> [[File:attachments-inspector.png|alt=attachments inspector|none|thumb|337x337px|attachments inspector]] | ||
The following parameters are available (all settings are optional): | The following parameters are available (all settings are optional): | ||
Line 32: | Line 33: | ||
''Product:'' (prefixes the filename with the namespace-prefix for the ''Product'' namespace) | ''Product:'' (prefixes the filename with the namespace-prefix for the ''Product'' namespace) | ||
|- | |- | ||
| 1 | |1 | ||
|Categories | |Categories | ||
|Default categories for newly uploaded files. | |Default categories for newly uploaded files. | ||
Line 41: | Line 42: | ||
|- | |- | ||
|2 | |2 | ||
| Skip upload options | |Skip upload options | ||
|When uploading new files, they are uploaded directly to the wiki without showing a further settings dialogs. The standard upload options (prefix, categories, description) are applied. | |When uploading new files, they are uploaded directly to the wiki without showing a further settings dialogs. The standard upload options (prefix, categories, description) are applied. | ||
|- | |- | ||
Line 48: | Line 49: | ||
|The "Latest version" column is hidden. This column shows the last edit date. | |The "Latest version" column is hidden. This column shows the last edit date. | ||
|- | |- | ||
| 2 | |2 | ||
|Hide editor | |Hide editor | ||
|The "Editor" column is hidden. This column shows the last editor. | |The "Editor" column is hidden. This column shows the last editor. | ||
Line 61: | Line 62: | ||
|} | |} | ||
==Additional features== | ==Additional features == | ||
*Click the x-icon to remove an attachment from the attachments pane. | *Click the x-icon to remove an attachment from the attachments pane. | ||
*Click the i-icon to open the file description page. | * Click the i-icon to open the file description page. | ||
*Click on the filter symbol in the header bar to filter for terms in the file name. | * Click on the filter symbol in the header bar to filter for terms in the file name. | ||
[[Category:Editing]] | [[Category:Editing]] | ||
[[Category:Advanced]] | [[Category:Advanced]] |
Latest revision as of 15:48, 28 September 2022
It is possible to add grouped references to uploaded files anywhere in an article.
1.1 Creating attachments
To create file attachments:
- Click Insert > Magic word in the VisualEditor toolbar:
- Choose "attachments" and click Done.
- Save the page. You will now see the new attachments area.
- Upload a new file to the knowledge base (button 1). Alternatively, choose an already existing file (button 2).
1.2 Elements of the attachments area
The appearance of the attachments area can be adjusted with settings in the attachments tag. To set the parameters, go to the edit mode of the page and click on the attachments area. The tag inspector opens. It consists of two areas:
- Prefix, Categories, Description: Default values for files that are newly uploaded to the wiki via the attachments section. The default values are also used when the toggle switch "Skip upload options" is activated. In this case, the files are transferred directly to the wiki without any further upload dialogs. The standard upload options are applied.
- Toggle switches that show or hide different columns in the attachments area.
The following parameters are available (all settings are optional):
Parameter | Description | |
---|---|---|
Title | Title that should be shown at the top of the attachments area. | |
1 | Prefix | A prefix that should automatically be added during the upload.
Example: Product: (prefixes the filename with the namespace-prefix for the Product namespace) |
1 | Categories | Default categories for newly uploaded files. |
1 | Description | Default description for newly uploaded files. |
2 | Skip upload options | When uploading new files, they are uploaded directly to the wiki without showing a further settings dialogs. The standard upload options (prefix, categories, description) are applied. |
2 | Hide version | The "Latest version" column is hidden. This column shows the last edit date. |
2 | Hide editor | The "Editor" column is hidden. This column shows the last editor. |
2 | Show size | The "Size" column is displayed. This shows the file size in KB/MB. |
2 | Show categories | The "Categories" column is displayed. If a file is categorized, the categories are listed here. |
1.3 Additional features
- Click the x-icon to remove an attachment from the attachments pane.
- Click the i-icon to open the file description page.
- Click on the filter symbol in the header bar to filter for terms in the file name.