Camerapedia Wiki

Editing

Sandbox

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 1: Line 1:
Person's Copyright: {{Self|cc-by-1.2|name=James Bond}}
+
Copyright: {{Self|author=James Bond|cc-by-1.2|name=Jamie}}
 
User's Copyright, default license: {{Self|user=Neo}}
 
User's Copyright, default permission: {{Permission|user=Retro}}
 
PD: {{PD}}
 
   
 
My copyright: {{Self|(C)|year=2011}}
 
My copyright: {{Self|(C)|year=2011}}
   
 
=Collapsible Pictures and explanations -- Boxes=
 
=Collapsible Pictures and explanations -- Boxes=
  +
rebollo_fr: the new work you have been doing has added new functionality to the Camerapedia site on a scale of magnitudes better!!! --[[User:GitzoCollector|GitzoCollector]] 17:11, 21 December 2010 (EST)
   
   
  +
{| class="collapsible collapsed plainlinks" border="1" cellpadding="4" style="margin: 0.5em 2em; border-collapse: collapse;"
  +
|| sample photo
  +
!
  +
|-
  +
| colspan=2 | [http://www.flickr.com/photos/heritagefutures/5274674485/in/pool-camerapedia/ http://farm6.static.flickr.com/5282/5274674485_1bdb47e54f_t.jpg]
  +
|}
   
 
{{dropimage|align=center|width=120px|Press me !|
 
{{dropimage|align=center|width=120px|Press me !|
Line 13: Line 20:
 
}}
 
}}
   
=Collapsible Pictures and explanations -- Sections=
+
:NICE!!!--[[User:GitzoCollector|GitzoCollector]] 15:14, 20 December 2010 (EST)
 
 
<div class="NavFrame">
 
<div class="NavHead">[... This is the title of your collapsible content ...]</div>
 
<div class="NavContent" align="left">
 
What are those ugly dots? I get it!
 
</div>
 
</div>
 
 
::The "NavFrame" class is supposed to be centered by default, to provide navigation boxes at the bottom of the pages. You can override the setting with <nowiki>align="left"</nowiki> inside the <nowiki><div></nowiki> tabs (see example below). --[[User:Rebollo fr|rebollo_fr]] 06:10, 3 January 2011 (EST)
 
   
=Sizing of images-- Formatting help needed, please=
+
{| class="collapsible collapsed" border="1" style="border-collapse: collapse;"
  +
|| Click for interesting information
  +
!
  +
|-
  +
| colspan=2 |
   
  +
{| class="collapsible collapsed" border="1" style="border-collapse: collapse;"
  +
|| Click for less interesting information
  +
!
  +
|-
  +
| colspan=2 | Blabla
   
  +
|}
   
:The problem is not really with the wiki, but with Flickr image hosting. Because the different sizes available through Flickr are determined by the picture's longer edge, any difference in the aspect ratio of the image will be visible when you put the images side by side. This is something quite annoying; sometimes I have to fight to overcome this by computing the ideal aspect ratio then cropping the image. In that particular page, I think you have to frame the longer picture differently (less cropping at the top and bottom) until it coincides with the height of the smaller images (it can be computed beforehand of course). --[[User:Rebollo fr|rebollo_fr]] 06:37, 20 December 2010 (EST)
+
|}
::: The MediaWiki software probably allows you to change the style of the image, giving you access to the width and height dimensions. I'm not sure that it's worth the effort, though.
 
::: Once you figure out how to change the dimensions, it will get awkward quickly. The particular image that you want to make larger would look blurry or blocky, if you tried to increase it's height. (When you take a small image and try to stretch it larger, you run into problems with upsampling.) On the other hand, you could take a larger image and use html to make the dimensions smaller, but that also leads to problems.
 
::: The best bet is to find an image that has a native size that's right for your purposes. Rebollo talked about cropping to get the right size. That's probably the least complicated fix. --[[User:Lbstone|Lbstone]] 09:18, 29 December 2010 (EST)
 
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template