RECOUP/site/User/Bjoern/sandpit: Difference between revisions
mNo edit summary |
|||
Line 1: | Line 1: | ||
<noinclude>{{RECOUP_header|User:Bjoern/sandpit}}</noinclude>= Basic file size= | <noinclude>{{RECOUP_header|User:Bjoern/sandpit}}</noinclude>= Basic file size= | ||
<nowiki>{{#filesize:Image:Ground_rules.jpg}}</nowiki> | <nowiki>{{#filesize:Image:Ground_rules.jpg}}</nowiki> | ||
gives the filesize of that image, which is {{#filesize:Image:Ground_rules.jpg}} | |||
<nowiki>{{#filesize:Media:Sample Household Consensus Form.doc}}</nowiki> | <nowiki>{{#filesize:Media:Sample Household Consensus Form.doc}}</nowiki> | ||
gives the filesize of that document, which is {{#filesize:Media:Sample Household Consensus Form.doc}}. The same with 'Image' in stead of 'Media' also works: {{#filesize:Image:Sample Household Consensus Form.doc}} | |||
= Get file size for a paricular image size = | = Get file size for a paricular image size = |
Revision as of 11:59, 14 September 2008
= Basic file size=
{{#filesize:Image:Ground_rules.jpg}}
gives the filesize of that image, which is {{#filesize:Image:Ground_rules.jpg}}
{{#filesize:Media:Sample Household Consensus Form.doc}}
gives the filesize of that document, which is {{#filesize:Media:Sample Household Consensus Form.doc}}. The same with 'Image' in stead of 'Media' also works: {{#filesize:Image:Sample Household Consensus Form.doc}}
Get file size for a paricular image size
{{#filesize:Image:Ground_rules.jpg|50}}
{{#filesize:Image:Ground_rules.jpg|50}} for this image: {{#filesize:Image:Ground_rules.jpg|50|linkthumb}}
{{#filesize:Image:Ground_rules.jpg|50x30}}
{{#filesize:Image:Ground_rules.jpg|50x30}} for this image: {{#filesize:Image:Ground_rules.jpg|50x30|linkthumb}}
{{#filesize:Image:Ground_rules.jpg|10x30}}
{{#filesize:Image:Ground_rules.jpg|10x30}} for this image: {{#filesize:Image:Ground_rules.jpg|10x30|linkthumb}}
Specify a size, and help
{{#filesize:Image:Ground_rules.jpg|50x30|help}}
{{#filesize:Image:Ground_rules.jpg|50x30|help}}
Specify a size, and provide a preview
{{#filesize:Image:Ground_rules.jpg|50x100|preview showparams}}
Linking and showing the filesize
For pdf files, Media:...pdf and Image:...pdf link to the media, and to the media page:
- {{#filesize:Media:Sample Household Consensus Form.pdf|linkfull showparams}}
- {{#filesize:Image:Sample Household Consensus Form.pdf|linkfull showparams}}
For images, Media:...jpg links to the (full res)image, while Image:...jpg links to the Image page:
- {{#filesize:Media:Ground_rules.jpg|50x100|linkfull showparams}}
- {{#filesize:Image:Ground_rules.jpg|50x100|linkfull showparams}}
If you specify 'thumb', the extension provides a link to the thumbnail (as an external link):
- {{#filesize:Media:Ground_rules.jpg|50x100|linkthumb showparams}}
- {{#filesize:Image:Ground_rules.jpg|50x100|linkthumb showparams}}
Other experiments
- {{#filesize:Media:Ground_rules.jpg|50x100|showthumb showparams}}
- {{#filesize:Image:Ground_rules.jpg|50x100|showthumb showparams}}
Output useful for api calls in mirroring script (needs further work to give proper serialised output):
- {{#filesize:Media:Ground_rules.jpg|50x100|serialised showparams}}
- {{#filesize:Image:Ground_rules.jpg|50x100|serialised showparams}}
https://oer.opendeved.net/wiki/File:Sample_Household_Consensus_Form.pdf
/wiki/File:Sample_Household_Consensus_Form.pdf
Singal, N., and Jeffery, R. (2008). Qualitative Research Skills Workshop: A Facilitator's Reference Manual, http://oer.educ.cam.ac.uk/wiki/RECOUP, Cambridge: RECOUP (Research Consortium on Educational Outcomes and Poverty, http://recoup.educ.cam.ac.uk/). CC BY-NC-SA 4.0. (original page)