Sjabloon: Crop: verschil tussen versies
Uit MediaWikiGids
(Inleiding toegevoegd) |
|||
| (2 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
| Regel 1: | Regel 1: | ||
| − | <noinclude><pre> | + | <noinclude>Het sjabloon '''{{PAGENAME}}''' helpt bij het flexibel ''bijsnijden'' (''afsnijden'' of ''cropping'') van afbeeldingen via standaard CSS. |
| + | |||
| + | *Versie 0.1 - Met behulp van [[Widget:Style-1]] (Extensie:CSS niet nodig) | ||
| + | *Versie 0.2 - Op basis van [https://www.mediawiki.org/wiki/Extension:CSS Extensie:CSS] | ||
| + | |||
| + | bron: [http://gids.wikiwerkers.nl/w/index.php?title=Sjabloon:Crop MediaWiki Gids]<br/> | ||
| + | Auteur: [[User:Bmulckhu|B. Mulckhuijse]] | ||
| + | <pre> | ||
{{crop | {{crop | ||
| − | |vlgnr= | + | |vlgnr=1 |
|bestand=Community02.png | |bestand=Community02.png | ||
|breedte=150px | |breedte=150px | ||
| Regel 8: | Regel 15: | ||
|van_boven=100px | |van_boven=100px | ||
|van_links=50px | |van_links=50px | ||
| + | }} | ||
| + | |||
| + | {{crop | ||
| + | |vlgnr=2 | ||
| + | |bestand=Community02.png | ||
| + | |breedte=150px | ||
| + | |hoogte=300px | ||
| + | |schaal= 400px | ||
| + | |van_boven=20% | ||
| + | |van_links=20% | ||
}} | }} | ||
</pre></noinclude><includeonly> | </pre></noinclude><includeonly> | ||
| − | {{#widget:Style-1| | + | {{#widget:Style-1|css= |
.crop-{{{vlgnr|}}} { | .crop-{{{vlgnr|}}} { | ||
width: {{{breedte|}}}; | width: {{{breedte|}}}; | ||
Huidige versie van 29 mei 2019 om 15:00
Het sjabloon Crop helpt bij het flexibel bijsnijden (afsnijden of cropping) van afbeeldingen via standaard CSS.
- Versie 0.1 - Met behulp van Widget:Style-1 (Extensie:CSS niet nodig)
- Versie 0.2 - Op basis van Extensie:CSS
bron: MediaWiki Gids
Auteur: B. Mulckhuijse
{{crop
|vlgnr=1
|bestand=Community02.png
|breedte=150px
|hoogte=300px
|schaal= 400px
|van_boven=100px
|van_links=50px
}}
{{crop
|vlgnr=2
|bestand=Community02.png
|breedte=150px
|hoogte=300px
|schaal= 400px
|van_boven=20%
|van_links=20%
}}