Ohje:Visuaalinen muokkain/Käyttöopas
![]() |
Huomautus: Muokkaamalla tätä sivua hyväksyt, että tuottamasi sisältö julkaistaan CC0 -lisenssillä. Katso lisätietoja Public Domain -ohjesivulta.
|
![]() |
Visuaalinen muokkain-portaali |
---|
![]() |
Yleinen |
Tietoja |
Osallistu kehittämiseen |
![]() | Jos haluat kokeilla visuaalista muokkainta ilman, että muokkaat jotakin artikkelia, voit vapaasti kokeilla sitä tällä sivulla. Voit muokata kyseistä sivua ilman käyttäjätunnusta. |
Visuaalisen muokkaimen avaaminen
Aloittaminen: visuaalisen muokkaimen työkalurivi
Visuaalisen muokkaimen työkalurivi näkyy sivun yläosassa, kun aloitat muokkaamisen. Se sisältää joitakin tuttuja symboleja: | |
![]() |
Kumoa ja Tee uudelleen suorittamiasi muutoksia. |
![]() |
Otsikot-pudotusvalikko: voit valita kappaleelle tyylin. Muuta tyyliä napsauttamalla hiiren osoitin kappaleeseen (sinun ei tarvitse korostaa tekstiä) ja valitsemalla tyyli listasta. Osioiden otsikot ovat muodoltaan "Otsikko", ja alaosiot "Alaotsikko 1", "Alaotsikko 2" ja niin edelleen. Normaalifontti tekstille on "Kappale". |
![]() |
Muotoilu: Valikko avautuu painamalla "A"-painiketta.
Jos et ole valinnut mitään tekstiä ja avaat valikon "A"-painikkeesta, tulee sieltä valitsemasi tyyli automaattisesti tekstiin, jota alat kirjoittaa. |
![]() |
Linkitystyökalu: Ketjukuvake on linkitystyökalu. Sitä painamalla (yleesä tekstin valinnan jälkeen) avautuu linkki-ikkuna. |
![]() |
Viite-valikko: "Viite"-valikkoa käytetään lähdeviittausten lisäämiseen. Kaikissa projekteissa on mahdollisuus hyödyntää yksinkertaista lähdemuotoilua sekä käyttää viitteitä uudelleen tämän valikon avulla. Se antaa käyttäjille myös nopean pääsyn paikallisiin viitemallineisiin, jos ne ovat kyseisessä wikissä käytössä. |
![]() |
Viittaa-painike: Jos wikissäsi on otettu käyttöön citoid-palvelu, näet Viite-valikon sijaan Viittaa-painikkeen.
(Ohjeet paikallisten viittausmallineiden lisäämiseksi Manuaalinen-valikkoon tietyssä wikissä löytyvät sivulta Visuaalinen muokkain/Viittaustyökalu .) Instructions for enabling the Automaattinen tab are available at Enabling Citoid on your wiki Citoid-palvelu yrittää täyttää viitemallineet automaattisesti. |
![]() |
Listat ja sisennys: kaksi ensimmäistä kohdetta mahdollistavat tekstin muotoilun joko "Luettelo"- tai "Numeroitu luettelo" -muotoon. Kahden viimeisen kohteen avulla voit vähentää tai lisätä luettelokohteiden sisennystasoa. |
![]() |
Lisää: "Lisää"-valikko voi olla erilainen joissakin projekteissa. Alla on lista kaikista vaihtoehdoista, joita siinä saattaa olla.
|
Erikoismerkin lisääminen: "Erikoismerkit" (Ω) -kuvake on "Lisää" -valikon vieressä. Siitä avautuvassa ikkunassa on paljon erikoismerkkejä, joita voit lisätä tekstiin merkkiä klikkaamalla. Tarjolla on muun muassa joitain vakiosymboleja, tarkkeita ja matemaattisia symboleja. (Tätä listaa on mahdollista muokata paikallisesti. Katso ohjeet sivulta Visuaalinen muokkain/Erikoismerkit .) |
![]() |
Painike muokkausilmoitukset näyttää sivun mahdolliset ilmoitukset. |
![]() |
$pagemenu -valikko on painikkeiden $save ja Vaihda muokkainta vasemmalla puolella. Valikkolistan valinnat-vaihtoehdosta avautuu valintaikkuna, jossa on seuraavat (vasemmalla olevat) välilehdet:
Valinnat-kohdan välilehdet näkyvät myös $pagemenu-listassa, ja ne voi avata klikkaamalla. Lisäksi $pagemenu-valikossa on painike Näytä oikealta vasemmalle sekä Etsi ja korvaa, josta avautuvassa ikkunassa voit erilaisin asetuksin hakea merkkejä, termejä tai säännöllisiä lausekkeita, joita voit korvata. |
![]() |
Wikitekstin muokkaustila-painike on $save-painikkeen vieressä. Sen avulla voit vaihtaa wikitekstin muokkaimeen. |
Muokkausten julkaiseminen
Linkkien muokkaaminen
![]() |
Linkkejä voi lisätä työkalurivillä olevalla "Linkki"-kuvakkeella (ketju) tai käyttämällä pikanäppäintä Ctrl+K (tai ⌘ Command+K Macissa).
Jos valitset (maalaat) tekstiä ja painat sitten ”Linkki”-painiketta, käytetään tätä tekstiä linkin luomisessa. Jos linkissä on vain yksi sana, voit joko valita sanan tai laittaa osoittimen sanan sisälle. |
![]() |
Painikkeesta tai oikotietä käyttämällä avautuu ikkuna, johon voit kirjoittaa linkin.
Linkkityökalu yrittää auttaa sisäisten linkkien lisäämisessä hakemalla todennäköisiä vastaavuuksia. Kun olet kirjoittanut tai valinnut linkin, viimeistele linkittämisprosessi painamalla ↵ Enter tai napsauttamalla "Valmis"-painiketta. Linkkisi ilmestyy välittömästi sivulle, mutta kuten muutkin muutokset, sitä ei julkaista ennen kuin julkaiset koko sivun. |
![]() |
Muun verkkosivuston sivulle linkittämisessä prosessi on samanlainen: Valitse "Ulkoinen sivusto"-välilehti ja kirjoita URL-osoite ruutuun. |
![]() |
Ulkoiset linkit ilman selitettä näyttävät tältä: [1]. Voit lisätä niitä sijoittamalla kursorisi sanojen ulkopuolelle (esim. välilyönnin jälkeen). Avaa linkkityökalu painamalla painiketta tai pikanäppäimiä. Kirjoita URL-osoite laatikkoon ja paina ”Valmis”-painiketta lisätäksesi linkin. |
![]() |
Kun haluat muuttaa tai poistaa olemassa olevan linkin, klikkaa linkin tekstiä, jolloin sen lähelle ilmestyy "Linkki"-valintaikkuna. (Pääset valintaikkunaan myös Ctrl+K -näppäinyhdistelmällä.) Kun linkki on valittu, se näkyy sinisellä taustalla.
Linkin muokkaus -valintaikkunassa voit muuttaa sitä, mihin linkki vie. Voit myös poistaa linkin kokonaan painamalla oikeassa yläkulmassa olevaa punaista "Poista"-painiketta (renkaat, joiden yli menee viiva). Voit myös avata linkin kohteen toisessa ikkunassa painamalla valintaikkunassa näkyvää linkin kopiota. (Voit haluta tehdä tämän tarkistaaksesi onko ulkoinen linkki kelvollinen.) If you want to exit the link label (the text displayed as a link) or continue to write after this link, you can press →:
To edit the link label of an existing link, press within the link label and type the new one. But if you want to replace the entire label, please note:
|
Lähteiden muokkaaminen
- For further information, see Ohjeita viitemallineiden käyttämiseen tai Ohjeita citoidin Automaattinen-painikkeen käyttämiseen
Determining which system is in place | |
Your wiki may use one of three footnote systems. The one shown on the right is the simplest system, where the "Viite" menu does not include any citation templates. Jos wikisi käyttää tätä systeemiä, kaikki tarvitsemasi tieto lähdeviitteistä on tällä sivulla. | ![]() |
![]() | |
In the second system, you again start by pressing the Viittaa button. Then a dialog box opens, which includes several popular citation templates set up for quick access in the "Manuaalinen" tab. Jos wikisi käyttää tätä systeemiä, löydät lisätietoa sivulta Help:VisualEditor/User guide/Citations-Templates | ![]() |
In the third system, you again start by pressing the Viittaa button. Then a dialog box opens, which includes an automatic citation process using the citoid service under the Automatic tab. If your wiki uses this system, you will find more details at Help:VisualEditor/User guide/Citations-Full | ![]() |
Jo löytyvän lähteen muokkaaminen | |
To edit an existing reference, press on it where it appears in the text (usually as a bracketed number). You will see either a "Lähde" icon (bookmark) or an icon (and name) for the template that was used to create this reference. In either case, pressing on the "Muokkaa" button will open a dialog where you can edit the reference. | ![]() |
For the "Lähde" icon, pressing "Muokkaa" opens the reference dialog. To start changing the reference information, press on it.
Monet wikit käyttävät mallineita lähteiden muotoilemiseen. Jos lähteessäsi käytetään mallinetta, sitten kaikki mallineen tekstit korostetaan napsauttaessasi lähteen tietoja. If a template was used and you press on the reference information, then the Malline icon (puzzle piece) will appear with some information. Press on the "Muokkaa" button to edit the content of the template in the template editor dialog. |
![]() |
If what appears when you press on a reference is an icon for a standard template for citations (an example is at right), then pressing "Muokkaa" will open the template editor dialog. | ![]() |
Inside the template editor, you can add or remove types of information or change current content. Only fields (template parameters) that have content will show, initially. To add fields, press on "Lisää" at the bottom of the editor. | ![]() |
Kun olet valmis, paina "Hyväksy muutokset". | ![]() |
Jo löytyvän lähteen uudelleenkäyttäminen | |
If the page already contains a citation that applies to the text you want to source, then you can choose to re-use that existing citation.
Uudelleenkäyttääksesi jo olemassaolevaa lähdettä, laita kursorisi sinne, johon haluat lisätä lähteen tekstissä, ja napsauta "⧼visualeditor-dialogbutton-reference-tooltip⧽"-kuvaketta (kirjanmerkki) "Insert"-valikossa. (Note: If your wiki has the second or third footnote system described above, you'll see a "Uudelleenkäyttö" tab, in a dialog, instead of a "Käytä uudelleen" item on the "Viite" menu.) |
![]() |
Jos sivu sisältää useita lähteitä, voit käyttää hakupalkkia (otsikoitu "Lähde") nähdäksesi vain lähteet, jotka vastaavat annetun tekstin kanssa. | ![]() |
Uuden lähteen lisääminen | |
Lisätäksesi uuden lähteen, laita kursori sinne minne haluat sen lisätä tekstiin, ja napsauta työkaluriviltä "Insert"-painikkeesta aukeavaa "⧼visualeditor-dialogbutton-reference-tooltip⧽"-kuvaketta (kirjanmerkki). Then click "Normaali". | ![]() |
"Perus"-viitteen käyttäminen | |
Shown here is what you will see if you select the basic references item. Lähdemuokkaimessa voit lisätä viitteen sekä muotoilla sitä.
Voit valita lähteen kuulumaan tiettyyn ryhmään, vaikka normaalisti tämä jätetään tyhjäksi. (Tätä vaihtoehtoa käytetään lähderyhmien näyttämiseksi "Lähdeluettelo"-työkalulla.) |
![]() |
Jos olet lisäämässä uutta lähdettä ja haluat lisätä sen mallineella, napsauta työkaluvalikossa olevaa "Insert"-painiketta, ja valitse sieltä "Malline"-kuvake (palapelin pala). | ![]() |
Sitten etsi malline, jota haluat käyttää, lisää se ja muokkaa sitä kuten tekisit jo sivulla olevalle mallineelle.
Kun olet saanut uuden mallineen muokkaamisen tehtyä, paina "Hyväksy muutokset" palataksesi viitemuokkaimeen, ja "Hyväksy muutokset" uudelleen palataksesi sivulle, jota olet muokkaamassa. |
![]() |
Jos sivulla ei ole vielä luetteloa lähteistä (esimerkiksi jos olet lisäämässä sivulle ensimmäistä lähdettä), sinun täytyy lisätä se, jotta lähteeseen lisäämäsi teksti näkyy sivulla.
Laita kursori sinne missä haluat näyttää lähdeluettelon (yleensä sivun alaosassa), avaa "Lisää"-valikko ja paina kuvaketta "Lähdeluettelo" (kolme kirjaa). |
![]() |
Jos loit ryhmän lähteitä, voit määrittää ryhmän tässä valintaikkunassa, näyttäen valikoivasti lähteet jotka kuuluvat siihen.
The final step in the References list dialog is to press "Lisää". |
![]() |
Vakioviitemallineiden käyttäminen | |
Your local wiki may have added extra citation templates to the "Viite" menu. If so, you have quick access to the most-used citation templates for your wiki. (Instructions for adding extra citation templates to your local wiki are available at Visuaalinen muokkain/Viittaustyökalu .) | ![]() |
Pressing on a template icon such as "Cite book" will take you into the template editor for that template. Important information fields may be marked with an asterisk. While the most common fields will be shown, not all of them are required. | ![]() |
To add more parameters, scroll down in the template editor and press on the "Lisää" option.
Kun olet valmis, paina "Lisää". |
![]() |
Kuvien ja muiden mediatiedostojen muokkaaminen
Uploading images
Gallerioiden muokkaaminen
Mallineiden muokkaaminen
The powerful MediaWiki template system lets you insert dynamic content, text from other pages, and much more. For a detailed explanation and examples, see the Templates help page.
In the VisualEditor you can search for a relevant template, add an invocation or transclusion on the page you’re editing and, if needed, add custom content using parameters.
Insert new template
Lisätäksesi uuden mallineen sivulle, aseta kursori sinne, johon haluat mallineen tulevan, ja napsauta työkaluvalikossa olevasta "$insert"-painikkeesta aukeavaa "$template"-kuvaketta (palapelin pala). Then open the Lisää menu and select "![]() |
![]() |
Find the template you want to insert by typing either its name or a relevant keyword. Results containing the search term in either the name or description will display in a dropdown. This should help you find a relevant template, even if you don’t know its exact name.
If you’re having trouble finding the kind of template you want by using keywords, you can look on other wiki pages with similar content and view or edit the page source to see which templates are in use. When you find the desired template’s name, you can type it into this field to insert it here. |
![]() |
You can also edit a template that’s already on a page. When you select the template you want to edit, it turns blue, and a box appears displaying "![]() |
![]() |
Some templates are not visible to someone reading a page. In the visual editor, such hidden templates are still shown so that you can click and edit or delete them. The name of the template will be shown next to the puzzle icon and both will be grayed out. | ![]() |
Mallineen parametrit | |
You’ll see this dialog box when you’re adding a new template or editing one already in place. What you see in the box depends on whether the template in question contains TemplateData , helpful metadata added by other editors to make it easier to edit templates in the Visual Editor.
When a template contains TemplateData, the VisualEditor can use it to present annotated fields for you to fill in.
|
![]() |
You can disable any optional parameter (which have blue checkboxes on the left side). If a parameter’s checkbox is grayed out and not clickable, the template requires that parameter, so it can’t be disabled.
When you insert a new template, you may find that some optional parameters are pre-selected. That means the author(s) of the template recommends the use of those parameters. It’s best to review all parameters that will be used in a template to ensure you understand their use. Clicking an unchecked parameter adds it to the template. Clicking a parameter that’s already been added takes you to the parameter’s input field. Some template parameters will show as “deprecated”. Don’t use deprecated parameters when inserting a template; they’re only visible to you because those parameters are in use on older pages where this template was included. |
![]() |
Adding undocumented parameters | |
If you’re inserting or editing a template whose author hasn’t laid out its parameters in TemplateData, it has what we call “undocumented” or “unnamed parameters”. In these cases, you should consult the page for the template itself. There you can learn how to correctly employ and work with all of the template’s parameters. This includes learning the exact names of the parameters as written by the template author.
If you find in the documentation that the template expects parameters without names, fill in numbers as placeholders for the parameter names using the undocumented parameter input, then add text to the values you want to provide as you normally would. Example:
If you accidentally include nonexistent, misspelled or erroneous parameters, the values you enter for those parameters won’t show up on the page you’re editing. |
![]() |
Autogenerated parameters | |
In this example, the template in question lacks TemplateData but it was possible to autogenerate the parameters. This means that the undocumented parameters have already been added for you, but the names may not be easily understandable and the dialog cannot display any directions or descriptions. As a result the dialog box provides a link to the template’s documentation, which should help you deduce and fill in the template’s various parameters. | ![]() |
Editing multi-part template content | |
During editing, you may open template content consisting of multiple templates or a single template linked to some wikitext. This differs from the nested templates described below. In this case, the templates are better visualized as being stacked or connected.
This content often contains “unbalanced templates,” templates which are incomplete on their own and need to be paired with some wikitext or another template in order to function. These related pieces of template content must be created in wikitext, but can be edited in the VisualEditor. In these cases you will see a notice at the top of the dialog to signal the situation and a specialized toolbar will be visible at the bottom of the sidebar. There you can use the icon buttons to add additional templates, additional wikitext, delete elements or change their order. |
![]() |
Nested templates | |
Templates can include other templates as the value for parameters. You’ll recognize it when you see a parameter whose value contains the double curly braces ( {{ }} ) denoting a template.
The VisualEditor can’t present this template within a template (a nested template) using the editor’s easy-to-use interface, so if you want to nest a template yourself, you’ll need to understand how to add the template by hand in wikitext into the appropriate parameter field. |
![]() |
Completing your edit | |
When you have finished editing a template, you can click "Hyväksy muutokset". Then you can preview your edit and make sure it looks the way you want and expect.
You may also see an error message, which (like the other TemplateData mentioned above) is community-provided content and may vary in usefulness. You may need to consult the template’s own documentation to get to the bottom of some errors. If you’re still having trouble, consider posting about your problem on the template’s talk page. |
![]() |
Removing a template | |
To remove a template in the VisualEditor, click the template box. Press the "Delete" or "Backspace" key on your keyboard. The template will disappear from the page. | ![]() |
Editing on mobile | |
When editing a template on a page using the VisualEditor on a mobile device, you’ll see that the sidebar starts out hidden. You can make it visible by pressing the “Show/hide options” button. | ![]() |
Mallineiden substaaminen | |
When you insert a template in a wiki page, its content and appearance are reevaluated every time the page loads, based on the template code and the values of its parameters. This means if someone updates the code of a template, then every page which uses that template will also get updated when they publish.
There’s another, much less common way to use templates, though, and that’s to substitute a template. Doing this permanently includes the template content just as it appears at the moment you insert it. It will not update if the template code is later changed. Most users won’t ever need to resort to substitution. Substitution is typically only useful when you need to capture the exact appearance of one version of a template, such as when content is under development and needs evaluation. To substitute a template in the VisualEditor, insert a template using the name syntax When you’re finished, press “Lisää”, which will insert the template content as you see it. |
![]() |
Listojen muokkaaminen
Taulukoiden muokkaaminen
Luokkien muokkaaminen
![]() |
Muokataksesi luokkia, paina "Sivun valinnat" -valikossa kohtaa "Luokat". |
![]() |
"Luokat" -painike avaa uuden ikkunan, joka luetteloi sivulla olevat luokat, ja mahdollistaa sinun lisätä uusia tai poistaa jo lisättyjä luokkia.
Voit myös asettaa tai muuttaa yleistä (oletus) aakkostusavainta, joka määrittää, missä kohtaa luokkaa sivu näkyy, kun samassa luokassa on useita sivuja. Esimerkiksi oletusaakkostus artikkelille "Kimi Räikkönen" on "Räikkönen, Kimi". Se näkyy luokassa "Suomalaiset Formula 1 -kuljettajat" kirjaimen "R" kohdalla, ei kirjaimen "K" kohdalla. |
![]() |
Lisätäksesi luokan sivulle, anna luokan nimi kenttään "Lisää luokka". Kirjoittaessasi visuaalinen muokkain etsii mahdollisia vastaavia, jo luotuja luokkia. Voit joko valita jo luodun luokan, tai lisätä luokan, jota ei ole vielä olemassa. (Siihen asti, kun luokkaa ei ole olemassa, luokkaan osoittava linkki näkyy punaisena julkaistuasi muutokset.) |
![]() |
Poistaaksesi sivulla jo valmiina olevan luokan, paina sitä, ja sen jälkeen paina aukeavassa valintaikkunassa olevaa "Poista"-kuvaketta (roskakori).
Voit myös määrittää siellä aakkostusavaimen tälle tietylle luokalle. Tällainen aakkostusavain korvaa oletuksena olevan aakkostusavaimen. |
![]() |
Suoritettuasi luokkien muokkaamisen, paina "Hyväksy muutokset" palataksesi sivun muokkaustilaan. |
Sivun asetusten muokkaaminen
Karttojen muokkaaminen
![]() |
Voit lisätä ja muokata karttoja. Katso Help:VisualEditor/Maps . |
Matemaattisen kaavan muokkaaminen
Editing musical scores
Runojen ja muiden erikoisten kohteiden muokkaaminen
Switching between the visual and wikitext editors
Pikanäppäimet
Monet muokkaajat ovat tottuneet syöttämään wikitekstiä suoraan, erityisesti lihavoidakseen, kursivoidakseen ja lisätäkseen wikilinkkejä. Pikanäppäinten avulla voit nopeasti asettaa vastaavia muotoiluja, ilman että tarvitsee napsauttaa työkalurivin kohteita. Tässä ovat yleiset pikanäppäimet Visuaalisessa muokkaimessa:
PC:n pikanäppäin | Toiminto | Macin pikanäppäin |
---|---|---|
Ctrl+B | Lihavointi | ⌘ Cmd+B |
Ctrl+I | Kursivointi | ⌘ Cmd+I |
Ctrl+K | Aseta linkki | ⌘ Cmd+K |
Ctrl+X | Leikkaa | ⌘ Cmd+X |
Ctrl+C | Kopioi | ⌘ Cmd+C |
Ctrl+V | Liitä | ⌘ Cmd+V |
Ctrl+Z | Kumoa | ⌘ Cmd+Z |
Also see the full list of all keyboard shortcuts.