Site Tools


gear:templates

Gear Templates

← Back to Gear

This page contains copy/paste templates for adding new gear.

Adding New Gear - Checklist

  1. Upload photo to Media Manager in the correct subfolder (gear/lenses/, gear/cameras/, or gear/adapters/)
  2. Create a new page using the relevant template below
  3. Add the include line to the relevant main page (lenses, cameras or adapters)
  4. Visit the new page in the browser once to trigger indexing
  5. Check the summary table on the main page - the new item should appear automatically

Naming Conventions

Page names: lowercase, hyphens not spaces e.g. sony-50mm-f18
Media files: lowercase, underscores e.g. lens_sony_50mm.jpg

  • Lenses: lens_[make]_[focal].jpg e.g. lens_sony_50mm.jpg
  • Cameras: camera_[make]_[model].jpg e.g. camera_sony_a7iii.jpg
  • Adapters: adapter_[lensmount]_[bodymount].jpg e.g. adapter_m42_m43.jpg

New Lens Template

Page location: /var/www/dokuwiki/data/pages/gear/lenses/[page-name].txt
Include line to add to lenses.txt: {{page>gear:lenses:page-name&noheader&nofooter}}

====== [Lens Name] ======
[[gear:lenses|← Back to Lenses]]
---- dataentry lens ----
name            : [Lens Name]
make            : [Make]
focal_length    : [e.g. 50mm or 35-70mm]
max_aperture    : [e.g. f/1.8]
native_mount    : [e.g. M4/3, Canon EF, M42, Sony E]
lens_type       : [Prime, Zoom, Macro, Fisheye]
format_coverage : [Full Frame, APS-C, Micro Four Thirds, 35mm Full Frame]
condition       : [Excellent, Good, Fair]
notes           : 
----
{{gear:lenses:lens_[make]_[focal].jpg?400}}

New Camera Template

Page location: /var/www/dokuwiki/data/pages/gear/cameras/[page-name].txt
Include line to add to cameras.txt: {{page>gear:cameras:page-name&noheader&nofooter}}

====== [Camera Name] ======
[[gear:cameras|← Back to Cameras]]
---- dataentry camera ----
name         : [Camera Name]
make         : [Make]
model        : [Model]
system       : [e.g. Sony Alpha, Micro Four Thirds, Canon EOS]
mount        : [e.g. Sony E-Mount, M4/3, Canon EF]
format       : [Full Frame, APS-C, Micro Four Thirds, 35mm Film, Medium Format Film]
type         : [Digital Mirrorless, Digital SLR, Digital Compact, Film Rangefinder, Film SLR, Film Compact, Film TLR]
condition    : [Excellent, Good, Fair]
notes        : 
----
{{gear:cameras:camera_[make]_[model].jpg?400}}

New Adapter Template

Page location: /var/www/dokuwiki/data/pages/gear/adapters/[page-name].txt
Include line to add to adapters.txt: {{page>gear:adapters:page-name&noheader&nofooter}}

====== [Adapter Name] ======
[[gear:adapters|← Back to Adapters]]
---- dataentry adapter ----
name                : [Adapter Name]
make                : [Make e.g. Generic, K&F Concept, Fotodiox]
type                : Passive
body_mount          : [e.g. M4/3, Sony E-Mount, Fuji X, Canon EF]
lens_mount          : [e.g. M42, Konica AR, L39]
electronic_contacts : [Yes, No]
condition           : [Excellent, Good, Fair]
notes               : 
----
{{gear:adapters:adapter_[lensmount]_[bodymount].jpg?400}}
gear/templates.txt · Last modified: by 127.0.0.1